1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Message Digest Algorithm Definitions</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-hash-setkey.html" title="crypto_hash_setkey"><link rel="next" href="API-struct-hash-alg-common.html" title="struct hash_alg_common"></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">Message Digest Algorithm Definitions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-crypto-hash-setkey.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-struct-hash-alg-common.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1098050244"></a>Message Digest Algorithm Definitions</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-struct-hash-alg-common.html"><span class="phrase">struct hash_alg_common</span></a></span><span class="refpurpose"> &#8212; 
2  define properties of message digest
3 </span></dt><dt><span class="refentrytitle"><a href="API-struct-ahash-alg.html"><span class="phrase">struct ahash_alg</span></a></span><span class="refpurpose"> &#8212; 
4  asynchronous message digest definition
5 </span></dt><dt><span class="refentrytitle"><a href="API-struct-shash-alg.html"><span class="phrase">struct shash_alg</span></a></span><span class="refpurpose"> &#8212; 
6  synchronous message digest definition
7 </span></dt></dl></div><p>
8   </p><p>
9   These data structures define modular message digest algorithm
10   implementations, managed via <code class="function">crypto_register_ahash</code>,
11   <code class="function">crypto_register_shash</code>, <code class="function">crypto_unregister_ahash</code> and
12   <code class="function">crypto_unregister_shash</code>.
13</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-crypto-hash-setkey.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-struct-hash-alg-common.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">crypto_hash_setkey</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">struct hash_alg_common</span></td></tr></table></div></body></html>
14