Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 2bd51b5815d12545684d50e6d848e806 > files > 73

lib64apr-util-devel-1.5.4-8.mga6.x86_64.rpm

<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Portable Runtime Utility Library: include/apr_md4.h Source File</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Apache Portable Runtime Utility Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">apr_md4.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="apr__md4_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * contributor license agreements.  See the NOTICE file distributed with</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * the License.  You may obtain a copy of the License at</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * limitations under the License.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">/* This is derived from material copyright RSA Data Security, Inc.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * Their notice is reproduced below in its entirety.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * rights reserved.</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * License to copy and use this software is granted provided that it</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * is identified as the &quot;RSA Data Security, Inc. MD4 Message-Digest</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * Algorithm&quot; in all material mentioning or referencing this software</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * or this function.</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * License is also granted to make and use derivative works provided</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * that such works are identified as &quot;derived from the RSA Data</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> * Security, Inc. MD4 Message-Digest Algorithm&quot; in all material</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> * mentioning or referencing the derived work.</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> * RSA Data Security, Inc. makes no representations concerning either</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> * the merchantability of this software or the suitability of this</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> * software for any particular purpose. It is provided &quot;as is&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> * without express or implied warranty of any kind.</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * These notices must be retained in any copies of any part of this</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> * documentation and/or software.</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#ifndef APR_MD4_H</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#define APR_MD4_H</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;apu.h&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="apr__xlate_8h.html">apr_xlate.h</a>&quot;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group___a_p_r___util___m_d4.html#ga84489272090a11902d831c288c81c20f">   61</a></span>&#160;<span class="preprocessor">#define APR_MD4_DIGESTSIZE 16</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group___a_p_r___util___m_d4.html#ga273e0d8ad064dba908e46bde074af0d8">   64</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapr__md4__ctx__t.html">apr_md4_ctx_t</a> <a class="code" href="structapr__md4__ctx__t.html">apr_md4_ctx_t</a>;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structapr__md4__ctx__t.html">   67</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structapr__md4__ctx__t.html">apr_md4_ctx_t</a> {</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structapr__md4__ctx__t.html#a7fc20af590cdf6d01208a12ac0bbc5de">   69</a></span>&#160;    apr_uint32_t <a class="code" href="structapr__md4__ctx__t.html#a7fc20af590cdf6d01208a12ac0bbc5de">state</a>[4];</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structapr__md4__ctx__t.html#a0332072316c6a931b6fb1bd8729e3495">   71</a></span>&#160;    apr_uint32_t <a class="code" href="structapr__md4__ctx__t.html#a0332072316c6a931b6fb1bd8729e3495">count</a>[2];</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structapr__md4__ctx__t.html#a60ce2de9e1c0b8888d81da03afdbfcdb">   73</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structapr__md4__ctx__t.html#a60ce2de9e1c0b8888d81da03afdbfcdb">buffer</a>[64];</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">#if APR_HAS_XLATE</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structapr__md4__ctx__t.html#ae4dd6785ef4bf0e04b37d566af786554">   76</a></span>&#160;    <a class="code" href="group___a_p_r___x_l_a_t_e.html#ga069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> *<a class="code" href="structapr__md4__ctx__t.html#ae4dd6785ef4bf0e04b37d566af786554">xlate</a>;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;};</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_d4.html#ga3f2ae0d6d93b1dd7a5efe11c241aee4b">apr_md4_init</a>(<a class="code" href="structapr__md4__ctx__t.html">apr_md4_ctx_t</a> *context);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#if APR_HAS_XLATE</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_d4.html#ga86138845d199bf164093670fb2a803c3">apr_md4_set_xlate</a>(<a class="code" href="structapr__md4__ctx__t.html">apr_md4_ctx_t</a> *context,</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;                                            <a class="code" href="group___a_p_r___x_l_a_t_e.html#ga069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a> *<a class="code" href="structapr__md4__ctx__t.html#ae4dd6785ef4bf0e04b37d566af786554">xlate</a>);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#define apr_md4_set_xlate(context, xlate) APR_ENOTIMPL</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_d4.html#gacbdaec9b84aa725c29fcaac196065556">apr_md4_update</a>(<a class="code" href="structapr__md4__ctx__t.html">apr_md4_ctx_t</a> *context,</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;                                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input,</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                                         apr_size_t inputLen);</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_d4.html#ga292ac23cbfedc3ff227ced262ec09b30">apr_md4_final</a>(</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;                                    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> digest[<a class="code" href="group___a_p_r___util___m_d4.html#ga84489272090a11902d831c288c81c20f">APR_MD4_DIGESTSIZE</a>],</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;                                    <a class="code" href="structapr__md4__ctx__t.html">apr_md4_ctx_t</a> *context);</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;APU_DECLARE(apr_status_t) <a class="code" href="group___a_p_r___util___m_d4.html#ga8f11756aee7a293e2b05f9b1ed112431">apr_md4</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> digest[<a class="code" href="group___a_p_r___util___m_d4.html#ga84489272090a11902d831c288c81c20f">APR_MD4_DIGESTSIZE</a>],</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;                                  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input,</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                                  apr_size_t inputLen);</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;}</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* !APR_MD4_H */</span><span class="preprocessor"></span></div><div class="ttc" id="structapr__md4__ctx__t_html"><div class="ttname"><a href="structapr__md4__ctx__t.html">apr_md4_ctx_t</a></div><div class="ttdef"><b>Definition:</b> apr_md4.h:67</div></div>
<div class="ttc" id="group___a_p_r___util___m_d4_html_ga84489272090a11902d831c288c81c20f"><div class="ttname"><a href="group___a_p_r___util___m_d4.html#ga84489272090a11902d831c288c81c20f">APR_MD4_DIGESTSIZE</a></div><div class="ttdeci">#define APR_MD4_DIGESTSIZE</div><div class="ttdef"><b>Definition:</b> apr_md4.h:61</div></div>
<div class="ttc" id="structapr__md4__ctx__t_html_a60ce2de9e1c0b8888d81da03afdbfcdb"><div class="ttname"><a href="structapr__md4__ctx__t.html#a60ce2de9e1c0b8888d81da03afdbfcdb">apr_md4_ctx_t::buffer</a></div><div class="ttdeci">unsigned char buffer[64]</div><div class="ttdef"><b>Definition:</b> apr_md4.h:73</div></div>
<div class="ttc" id="group___a_p_r___util___m_d4_html_ga8f11756aee7a293e2b05f9b1ed112431"><div class="ttname"><a href="group___a_p_r___util___m_d4.html#ga8f11756aee7a293e2b05f9b1ed112431">apr_md4</a></div><div class="ttdeci">apr_status_t apr_md4(unsigned char digest[APR_MD4_DIGESTSIZE], const unsigned char *input, apr_size_t inputLen)</div></div>
<div class="ttc" id="group___a_p_r___util___m_d4_html_ga292ac23cbfedc3ff227ced262ec09b30"><div class="ttname"><a href="group___a_p_r___util___m_d4.html#ga292ac23cbfedc3ff227ced262ec09b30">apr_md4_final</a></div><div class="ttdeci">apr_status_t apr_md4_final(unsigned char digest[APR_MD4_DIGESTSIZE], apr_md4_ctx_t *context)</div></div>
<div class="ttc" id="group___a_p_r___x_l_a_t_e_html_ga069dabbadc30e3a4157c38104a250e77"><div class="ttname"><a href="group___a_p_r___x_l_a_t_e.html#ga069dabbadc30e3a4157c38104a250e77">apr_xlate_t</a></div><div class="ttdeci">struct apr_xlate_t apr_xlate_t</div><div class="ttdef"><b>Definition:</b> apr_xlate.h:39</div></div>
<div class="ttc" id="group___a_p_r___util___m_d4_html_ga3f2ae0d6d93b1dd7a5efe11c241aee4b"><div class="ttname"><a href="group___a_p_r___util___m_d4.html#ga3f2ae0d6d93b1dd7a5efe11c241aee4b">apr_md4_init</a></div><div class="ttdeci">apr_status_t apr_md4_init(apr_md4_ctx_t *context)</div></div>
<div class="ttc" id="structapr__md4__ctx__t_html_ae4dd6785ef4bf0e04b37d566af786554"><div class="ttname"><a href="structapr__md4__ctx__t.html#ae4dd6785ef4bf0e04b37d566af786554">apr_md4_ctx_t::xlate</a></div><div class="ttdeci">apr_xlate_t * xlate</div><div class="ttdef"><b>Definition:</b> apr_md4.h:76</div></div>
<div class="ttc" id="apr__xlate_8h_html"><div class="ttname"><a href="apr__xlate_8h.html">apr_xlate.h</a></div><div class="ttdoc">APR I18N translation library. </div></div>
<div class="ttc" id="group___a_p_r___util___m_d4_html_gacbdaec9b84aa725c29fcaac196065556"><div class="ttname"><a href="group___a_p_r___util___m_d4.html#gacbdaec9b84aa725c29fcaac196065556">apr_md4_update</a></div><div class="ttdeci">apr_status_t apr_md4_update(apr_md4_ctx_t *context, const unsigned char *input, apr_size_t inputLen)</div></div>
<div class="ttc" id="structapr__md4__ctx__t_html_a7fc20af590cdf6d01208a12ac0bbc5de"><div class="ttname"><a href="structapr__md4__ctx__t.html#a7fc20af590cdf6d01208a12ac0bbc5de">apr_md4_ctx_t::state</a></div><div class="ttdeci">apr_uint32_t state[4]</div><div class="ttdef"><b>Definition:</b> apr_md4.h:69</div></div>
<div class="ttc" id="structapr__md4__ctx__t_html_a0332072316c6a931b6fb1bd8729e3495"><div class="ttname"><a href="structapr__md4__ctx__t.html#a0332072316c6a931b6fb1bd8729e3495">apr_md4_ctx_t::count</a></div><div class="ttdeci">apr_uint32_t count[2]</div><div class="ttdef"><b>Definition:</b> apr_md4.h:71</div></div>
<div class="ttc" id="group___a_p_r___util___m_d4_html_ga86138845d199bf164093670fb2a803c3"><div class="ttname"><a href="group___a_p_r___util___m_d4.html#ga86138845d199bf164093670fb2a803c3">apr_md4_set_xlate</a></div><div class="ttdeci">apr_status_t apr_md4_set_xlate(apr_md4_ctx_t *context, apr_xlate_t *xlate)</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>