1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Asynchronous AEAD Request Handle</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Kernel Crypto API"><link rel="up" href="API.html" title="Chapter&#160;5.&#160;Programming Interface"><link rel="prev" href="API-crypto-aead-decrypt.html" title="crypto_aead_decrypt"><link rel="next" href="API-crypto-aead-reqsize.html" title="crypto_aead_reqsize"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Asynchronous AEAD Request Handle</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-crypto-aead-decrypt.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;5.&#160;Programming Interface</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-crypto-aead-reqsize.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1097698460"></a>Asynchronous AEAD Request Handle</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-crypto-aead-reqsize.html"><span class="phrase">crypto_aead_reqsize</span></a></span><span class="refpurpose"> &#8212; 
2  obtain size of the request data structure
3 </span></dt><dt><span class="refentrytitle"><a href="API-aead-request-set-tfm.html"><span class="phrase">aead_request_set_tfm</span></a></span><span class="refpurpose"> &#8212; 
4  update cipher handle reference in request
5 </span></dt><dt><span class="refentrytitle"><a href="API-aead-request-alloc.html"><span class="phrase">aead_request_alloc</span></a></span><span class="refpurpose"> &#8212; 
6  allocate request data structure
7 </span></dt><dt><span class="refentrytitle"><a href="API-aead-request-free.html"><span class="phrase">aead_request_free</span></a></span><span class="refpurpose"> &#8212; 
8  zeroize and free request data structure
9 </span></dt><dt><span class="refentrytitle"><a href="API-aead-request-set-callback.html"><span class="phrase">aead_request_set_callback</span></a></span><span class="refpurpose"> &#8212; 
10  set asynchronous callback function
11 </span></dt><dt><span class="refentrytitle"><a href="API-aead-request-set-crypt.html"><span class="phrase">aead_request_set_crypt</span></a></span><span class="refpurpose"> &#8212; 
12  set data buffers
13 </span></dt><dt><span class="refentrytitle"><a href="API-aead-request-set-assoc.html"><span class="phrase">aead_request_set_assoc</span></a></span><span class="refpurpose"> &#8212; 
14  set the associated data scatter / gather list
15 </span></dt></dl></div><p>
16   </p><p>
17   The aead_request data structure contains all pointers to data required for
18   the AEAD cipher operation. This includes the cipher handle (which can be
19   used by multiple aead_request instances), pointer to plaintext and
20   ciphertext, asynchronous callback function, etc. It acts as a handle to the
21   aead_request_* API calls in a similar way as AEAD handle to the
22   crypto_aead_* API calls.
23</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-crypto-aead-decrypt.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="API.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-crypto-aead-reqsize.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">crypto_aead_decrypt</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">crypto_aead_reqsize</span></td></tr></table></div></body></html>
24