1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Asynchronous Hash 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-ahash-import.html" title="crypto_ahash_import"><link rel="next" href="API-ahash-request-set-tfm.html" title="ahash_request_set_tfm"></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 Hash Request Handle</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-crypto-ahash-import.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-ahash-request-set-tfm.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1098189972"></a>Asynchronous Hash Request Handle</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-ahash-request-set-tfm.html"><span class="phrase">ahash_request_set_tfm</span></a></span><span class="refpurpose"> &#8212; 
2  update cipher handle reference in request
3 </span></dt><dt><span class="refentrytitle"><a href="API-ahash-request-alloc.html"><span class="phrase">ahash_request_alloc</span></a></span><span class="refpurpose"> &#8212; 
4  allocate request data structure
5 </span></dt><dt><span class="refentrytitle"><a href="API-ahash-request-free.html"><span class="phrase">ahash_request_free</span></a></span><span class="refpurpose"> &#8212; 
6  zeroize and free the request data structure
7 </span></dt><dt><span class="refentrytitle"><a href="API-ahash-request-set-callback.html"><span class="phrase">ahash_request_set_callback</span></a></span><span class="refpurpose"> &#8212; 
8  set asynchronous callback function
9 </span></dt><dt><span class="refentrytitle"><a href="API-ahash-request-set-crypt.html"><span class="phrase">ahash_request_set_crypt</span></a></span><span class="refpurpose"> &#8212; 
10  set data buffers
11 </span></dt></dl></div><p>
12   </p><p>
13   The <span class="structname">ahash_request</span> data structure contains all pointers to data
14   required for the asynchronous cipher operation. This includes the cipher
15   handle (which can be used by multiple <span class="structname">ahash_request</span> instances), pointer
16   to plaintext and the message digest output buffer, asynchronous callback
17   function, etc. It acts as a handle to the ahash_request_* API calls in a
18   similar way as ahash handle to the crypto_ahash_* API calls.
19</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-crypto-ahash-import.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-ahash-request-set-tfm.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">crypto_ahash_import</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">ahash_request_set_tfm</span></td></tr></table></div></body></html>
20