⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 md5_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>BlueLab: md5.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.8 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>md5.h File Reference</h1>Implements the MD5 message digest algorithm. <a href="#_details">More...</a><p><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a></ul><h2>Functions</h2><ul><li>void <a class="el" href="md5_8h.html#a0">MD5Init</a> (<a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a> *)<dl class="el"><dd class="mdescRight">Initialise an <a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a>.  <a href="#a0"></a><br></dl><li>void <a class="el" href="md5_8h.html#a1">MD5Update</a> (<a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a> *, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *bytes, <a class="el" href="csrtypes_8h.html#a4">uint16</a> len)<dl class="el"><dd class="mdescRight">Update an <a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a> with the next block of data.  <a href="#a1"></a><br></dl><li>void <a class="el" href="md5_8h.html#a2">MD5Final</a> (<a class="el" href="csrtypes_8h.html#a8">uint8</a> digest[16], <a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a> *)<dl class="el"><dd class="mdescRight">Extract the digest from the <a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a>.  <a href="#a2"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Implements the MD5 message digest algorithm. <p>Provides the functions needed to compute the MD5 digest of messages. This is a utility library and provided as a number of functions. It is provided for use by the PBAP library during authentication; performance is not adequate for processing large volumes of data.<p>A typical application will call MD5Init, make a number of calls to MD5Update to supply the data, and finally call MD5Final to extract the data.<p>This library uses the same API as the MD5 reference implementation in RFC-1321, but has been optimised to reduce the code size and memory consumption on BlueCore.<hr><h2>Function Documentation</h2><a class="anchor" name="a0" doxytag="md5.h::MD5Init" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void MD5Init           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Initialise an <a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a>. <p>MD5 initialization. Begins an MD5 operation, writing a new context.     </td>  </tr></table><a class="anchor" name="a1" doxytag="md5.h::MD5Update" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void MD5Update           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a> *&nbsp;</td>          <td class="mdname" nowrap>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>bytes</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>len</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Update an <a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a> with the next block of data. <p>Continues an MD5 message-digest operation, processing another message block, and updating the context.     </td>  </tr></table><a class="anchor" name="a2" doxytag="md5.h::MD5Final" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void MD5Final           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a8">uint8</a>&nbsp;</td>          <td class="mdname" nowrap> <em>digest</em>[16], </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a> *&nbsp;</td>          <td class="mdname" nowrap></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Extract the digest from the <a class="el" href="struct_m_d5___c_t_x.html">MD5_CTX</a>. <p>Ends an MD5 message-digest operation, extracting the digest.     </td>  </tr></table></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -