1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Asynchronous Cipher 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-ablkcipher-decrypt.html" title="crypto_ablkcipher_decrypt"><link rel="next" href="API-crypto-ablkcipher-reqsize.html" title="crypto_ablkcipher_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 Cipher Request Handle</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-crypto-ablkcipher-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-ablkcipher-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="idp1097564116"></a>Asynchronous Cipher Request Handle</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-crypto-ablkcipher-reqsize.html"><span class="phrase">crypto_ablkcipher_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-ablkcipher-request-set-tfm.html"><span class="phrase">ablkcipher_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-ablkcipher-request-alloc.html"><span class="phrase">ablkcipher_request_alloc</span></a></span><span class="refpurpose"> &#8212; 
6  allocate request data structure
7 </span></dt><dt><span class="refentrytitle"><a href="API-ablkcipher-request-free.html"><span class="phrase">ablkcipher_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-ablkcipher-request-set-callback.html"><span class="phrase">ablkcipher_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-ablkcipher-request-set-crypt.html"><span class="phrase">ablkcipher_request_set_crypt</span></a></span><span class="refpurpose"> &#8212; 
12  set data buffers
13 </span></dt></dl></div><p>
14   </p><p>
15   The ablkcipher_request data structure contains all pointers to data
16   required for the asynchronous cipher operation. This includes the cipher
17   handle (which can be used by multiple ablkcipher_request instances), pointer
18   to plaintext and ciphertext, asynchronous callback function, etc. It acts
19   as a handle to the ablkcipher_request_* API calls in a similar way as
20   ablkcipher handle to the crypto_ablkcipher_* API calls.
21</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-crypto-ablkcipher-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-ablkcipher-reqsize.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">crypto_ablkcipher_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_ablkcipher_reqsize</span></td></tr></table></div></body></html>
22