<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>PolarSSL v1.3.8: Hashing module</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">PolarSSL v1.3.8 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">Hashing module</div> </div> </div><!--header--> <div class="contents"> <p>The Hashing module provides one-way hashing functions. <a href="#details">More...</a></p> <p>The Hashing module provides one-way hashing functions. </p> <p>Such functions can be used for creating a hash message authentication code (HMAC) when sending a message. Such a HMAC can be used in combination with a private key for authentication, which is a message integrity control.</p> <p>All hash algorithms can be accessed via the generic MD layer (see <code><a class="el" href="md_8h.html#a7c956b5c92531111312324c91b6d83f9" title="Initialises and fills the message digest context structure with the appropriate values. ">md_init_ctx()</a></code>)</p> <p>The following hashing-algorithms are provided:</p> <ul> <li>MD2, MD4, MD5 128-bit one-way hash functions by Ron Rivest (see <code><a class="el" href="md2_8h.html#a78e2af60e501496faa2639803bd6a923" title="Output = HMAC-MD2( hmac key, input buffer ) ">md2_hmac()</a></code>, <code><a class="el" href="md4_8h.html#a53e5896e59fcdcd68f842c579847dc79" title="Output = HMAC-MD4( hmac key, input buffer ) ">md4_hmac()</a></code> and <code><a class="el" href="md5_8h.html#a10b1ebaa2e129628989d59768ef58fd7" title="Output = HMAC-MD5( hmac key, input buffer ) ">md5_hmac()</a></code>).</li> <li>SHA-1, SHA-256, SHA-384/512 160-bit or more one-way hash functions by NIST and NSA (see<code><a class="el" href="sha1_8h.html#a17ef720021c40b248d3ea69fe7373983" title="Output = HMAC-SHA-1( hmac key, input buffer ) ">sha1_hmac()</a></code>, <code><a class="el" href="sha256_8h.html#acdc08a6c1083b3a1ffb0bd5850272054" title="Output = HMAC-SHA-256( hmac key, input buffer ) ">sha256_hmac()</a></code> and <code><a class="el" href="sha512_8h.html#a97d975b27d9a1742e3bf7bdb00e3ecbb" title="Output = HMAC-SHA-512( hmac key, input buffer ) ">sha512_hmac()</a></code>).</li> </ul> <p>This module provides one-way hashing which can be used for authentication. </p> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Jul 31 2014 11:35:56 for PolarSSL v1.3.8 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>