1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><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 5. 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> </td><th width="60%" align="center">Chapter 5. Programming Interface</th><td width="20%" align="right"> <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="id-1.7.8"></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"> — 
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"> — 
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"> — 
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"> — 
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"> — 
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"> — 
12  set data buffers
13 </span></dt><dt><span class="refentrytitle"><a href="re38.html">
14   include/crypto/aead.h
15  </a></span><span class="refpurpose"> — 
16   Document generation inconsistency
17  </span></dt><dt><span class="refentrytitle"><a href="API-aead-request-set-ad.html"><span class="phrase">aead_request_set_ad</span></a></span><span class="refpurpose"> — 
18  set associated data information
19 </span></dt></dl></div><p>
20   </p><p>
21   The aead_request data structure contains all pointers to data required for
22   the AEAD cipher operation. This includes the cipher handle (which can be
23   used by multiple aead_request instances), pointer to plaintext and
24   ciphertext, asynchronous callback function, etc. It acts as a handle to the
25   aead_request_* API calls in a similar way as AEAD handle to the
26   crypto_aead_* API calls.
27</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> </td><td width="20%" align="center"><a accesskey="u" href="API.html">Up</a></td><td width="40%" align="right"> <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> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">crypto_aead_reqsize</span></td></tr></table></div></body></html>
28