Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 9e72f3e7ecf68cce016a7c5c59e863d3 > files > 143

lib64polarssl-devel-1.3.8-1.mga4.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.5"/>
<title>PolarSSL v1.3.8: blowfish.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="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&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6a9bbd12bf4e19a18c45e270f8fae3fd.html">include</a></li><li class="navelem"><a class="el" href="dir_04272d44da4745cf8b8bfc767d6c6523.html">polarssl</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">blowfish.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="blowfish_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;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#ifndef POLARSSL_BLOWFISH_H</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define POLARSSL_BLOWFISH_H</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#if !defined(POLARSSL_CONFIG_FILE)</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="config_8h.html">config.h</a>&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include POLARSSL_CONFIG_FILE</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#if defined(_MSC_VER) &amp;&amp; !defined(EFIX64) &amp;&amp; !defined(EFI32)</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;basetsd.h&gt;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">typedef</span> UINT32 uint32_t;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;inttypes.h&gt;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="blowfish_8h.html#a08181b24dc6716d2ce995653d1bf9263">   45</a></span>&#160;<span class="preprocessor">#define BLOWFISH_ENCRYPT     1</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="blowfish_8h.html#aef79827b2885cff8b753e01521552942">   46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BLOWFISH_DECRYPT     0</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="blowfish_8h.html#a9b3eef52032f51fd010a59d1265e644c">   47</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BLOWFISH_MAX_KEY     448</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="blowfish_8h.html#a751816537f868b47b91f4c1f448dc2ea">   48</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BLOWFISH_MIN_KEY     32</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="blowfish_8h.html#a4dd158a68247e4a094f9bb607c62b131">   49</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BLOWFISH_ROUNDS      16         </span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="blowfish_8h.html#a47a29de4f2d383c17ca87cf34b05f047">   50</a></span>&#160;<span class="preprocessor">#define BLOWFISH_BLOCKSIZE   8          </span><span class="comment">/* Blowfish uses 64 bit blocks */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="blowfish_8h.html#a56226b271b174aba0746c23d2d085a74">   52</a></span>&#160;<span class="preprocessor">#define POLARSSL_ERR_BLOWFISH_INVALID_KEY_LENGTH                -0x0016  </span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="blowfish_8h.html#a776d91162e4c250f4b2625884e52a54f">   53</a></span>&#160;<span class="preprocessor">#define POLARSSL_ERR_BLOWFISH_INVALID_INPUT_LENGTH              -0x0018  </span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#if !defined(POLARSSL_BLOWFISH_ALT)</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor"></span><span class="comment">// Regular implementation</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structblowfish__context.html">   66</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;{</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structblowfish__context.html#ac79b3ea478f73dc67ee9e09a0063a1f8">   68</a></span>&#160;    uint32_t P[<a class="code" href="blowfish_8h.html#a4dd158a68247e4a094f9bb607c62b131">BLOWFISH_ROUNDS</a> + 2];    </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structblowfish__context.html#a756527a2ba922b7ab2473eb92e5a49a2">   69</a></span>&#160;    uint32_t S[4][256];                 </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;}</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<a class="code" href="structblowfish__context.html">blowfish_context</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keywordtype">void</span> <a class="code" href="blowfish_8h.html#af97e2fe5fa79c336f33f573006bcf23e">blowfish_init</a>( <a class="code" href="structblowfish__context.html">blowfish_context</a> *ctx );</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keywordtype">void</span> <a class="code" href="blowfish_8h.html#ad4f7ffde27526e44160d7639bb785f81">blowfish_free</a>( <a class="code" href="structblowfish__context.html">blowfish_context</a> *ctx );</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keywordtype">int</span> <a class="code" href="blowfish_8h.html#a10858d333b6306cbbc87831dab3c50ec">blowfish_setkey</a>( <a class="code" href="structblowfish__context.html">blowfish_context</a> *ctx, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *key,</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                     <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> keysize );</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="keywordtype">int</span> <a class="code" href="blowfish_8h.html#a5400eb552a86b1235831a131a779b7e3">blowfish_crypt_ecb</a>( <a class="code" href="structblowfish__context.html">blowfish_context</a> *ctx,</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;                        <span class="keywordtype">int</span> mode,</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                        <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> input[<a class="code" href="blowfish_8h.html#a47a29de4f2d383c17ca87cf34b05f047">BLOWFISH_BLOCKSIZE</a>],</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> output[BLOWFISH_BLOCKSIZE] );</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">#if defined(POLARSSL_CIPHER_MODE_CBC)</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keywordtype">int</span> <a class="code" href="blowfish_8h.html#a6582d23a9993d784761182c32426ea18">blowfish_crypt_cbc</a>( <a class="code" href="structblowfish__context.html">blowfish_context</a> *ctx,</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;                        <span class="keywordtype">int</span> mode,</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;                        <span class="keywordtype">size_t</span> length,</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> iv[<a class="code" href="blowfish_8h.html#a47a29de4f2d383c17ca87cf34b05f047">BLOWFISH_BLOCKSIZE</a>],</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;                        <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output );</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* POLARSSL_CIPHER_MODE_CBC */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">#if defined(POLARSSL_CIPHER_MODE_CFB)</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keywordtype">int</span> <a class="code" href="blowfish_8h.html#a63ca1aaffb247a5c5f4a51c39cd78264">blowfish_crypt_cfb64</a>( <a class="code" href="structblowfish__context.html">blowfish_context</a> *ctx,</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                          <span class="keywordtype">int</span> mode,</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;                          <span class="keywordtype">size_t</span> length,</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;                          <span class="keywordtype">size_t</span> *iv_off,</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;                          <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> iv[<a class="code" href="blowfish_8h.html#a47a29de4f2d383c17ca87cf34b05f047">BLOWFISH_BLOCKSIZE</a>],</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;                          <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                          <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output );</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*POLARSSL_CIPHER_MODE_CFB */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">#if defined(POLARSSL_CIPHER_MODE_CTR)</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="keywordtype">int</span> <a class="code" href="blowfish_8h.html#abf3faecfe5a6800701f4c6951f930743">blowfish_crypt_ctr</a>( <a class="code" href="structblowfish__context.html">blowfish_context</a> *ctx,</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;                        <span class="keywordtype">size_t</span> length,</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;                        <span class="keywordtype">size_t</span> *nc_off,</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> nonce_counter[<a class="code" href="blowfish_8h.html#a47a29de4f2d383c17ca87cf34b05f047">BLOWFISH_BLOCKSIZE</a>],</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> stream_block[BLOWFISH_BLOCKSIZE],</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;                        <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *input,</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *output );</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* POLARSSL_CIPHER_MODE_CTR */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#else  </span><span class="comment">/* POLARSSL_BLOWFISH_ALT */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;blowfish_alt.h&quot;</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* POLARSSL_BLOWFISH_ALT */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* blowfish.h */</span><span class="preprocessor"></span></div>
<div class="ttc" id="blowfish_8h_html_a10858d333b6306cbbc87831dab3c50ec"><div class="ttname"><a href="blowfish_8h.html#a10858d333b6306cbbc87831dab3c50ec">blowfish_setkey</a></div><div class="ttdeci">int blowfish_setkey(blowfish_context *ctx, const unsigned char *key, unsigned int keysize)</div><div class="ttdoc">Blowfish key schedule. </div></div>
<div class="ttc" id="blowfish_8h_html_af97e2fe5fa79c336f33f573006bcf23e"><div class="ttname"><a href="blowfish_8h.html#af97e2fe5fa79c336f33f573006bcf23e">blowfish_init</a></div><div class="ttdeci">void blowfish_init(blowfish_context *ctx)</div><div class="ttdoc">Initialize Blowfish context. </div></div>
<div class="ttc" id="config_8h_html"><div class="ttname"><a href="config_8h.html">config.h</a></div><div class="ttdoc">Configuration options (set of defines) </div></div>
<div class="ttc" id="blowfish_8h_html_ad4f7ffde27526e44160d7639bb785f81"><div class="ttname"><a href="blowfish_8h.html#ad4f7ffde27526e44160d7639bb785f81">blowfish_free</a></div><div class="ttdeci">void blowfish_free(blowfish_context *ctx)</div><div class="ttdoc">Clear Blowfish context. </div></div>
<div class="ttc" id="blowfish_8h_html_a5400eb552a86b1235831a131a779b7e3"><div class="ttname"><a href="blowfish_8h.html#a5400eb552a86b1235831a131a779b7e3">blowfish_crypt_ecb</a></div><div class="ttdeci">int blowfish_crypt_ecb(blowfish_context *ctx, int mode, const unsigned char input[BLOWFISH_BLOCKSIZE], unsigned char output[BLOWFISH_BLOCKSIZE])</div><div class="ttdoc">Blowfish-ECB block encryption/decryption. </div></div>
<div class="ttc" id="blowfish_8h_html_a4dd158a68247e4a094f9bb607c62b131"><div class="ttname"><a href="blowfish_8h.html#a4dd158a68247e4a094f9bb607c62b131">BLOWFISH_ROUNDS</a></div><div class="ttdeci">#define BLOWFISH_ROUNDS</div><div class="ttdoc">Rounds to use. </div><div class="ttdef"><b>Definition:</b> <a href="blowfish_8h_source.html#l00049">blowfish.h:49</a></div></div>
<div class="ttc" id="blowfish_8h_html_a47a29de4f2d383c17ca87cf34b05f047"><div class="ttname"><a href="blowfish_8h.html#a47a29de4f2d383c17ca87cf34b05f047">BLOWFISH_BLOCKSIZE</a></div><div class="ttdeci">#define BLOWFISH_BLOCKSIZE</div><div class="ttdef"><b>Definition:</b> <a href="blowfish_8h_source.html#l00050">blowfish.h:50</a></div></div>
<div class="ttc" id="blowfish_8h_html_abf3faecfe5a6800701f4c6951f930743"><div class="ttname"><a href="blowfish_8h.html#abf3faecfe5a6800701f4c6951f930743">blowfish_crypt_ctr</a></div><div class="ttdeci">int blowfish_crypt_ctr(blowfish_context *ctx, size_t length, size_t *nc_off, unsigned char nonce_counter[BLOWFISH_BLOCKSIZE], unsigned char stream_block[BLOWFISH_BLOCKSIZE], const unsigned char *input, unsigned char *output)</div><div class="ttdoc">Blowfish-CTR buffer encryption/decryption. </div></div>
<div class="ttc" id="blowfish_8h_html_a63ca1aaffb247a5c5f4a51c39cd78264"><div class="ttname"><a href="blowfish_8h.html#a63ca1aaffb247a5c5f4a51c39cd78264">blowfish_crypt_cfb64</a></div><div class="ttdeci">int blowfish_crypt_cfb64(blowfish_context *ctx, int mode, size_t length, size_t *iv_off, unsigned char iv[BLOWFISH_BLOCKSIZE], const unsigned char *input, unsigned char *output)</div><div class="ttdoc">Blowfish CFB buffer encryption/decryption. </div></div>
<div class="ttc" id="structblowfish__context_html"><div class="ttname"><a href="structblowfish__context.html">blowfish_context</a></div><div class="ttdoc">Blowfish context structure. </div><div class="ttdef"><b>Definition:</b> <a href="blowfish_8h_source.html#l00066">blowfish.h:66</a></div></div>
<div class="ttc" id="blowfish_8h_html_a6582d23a9993d784761182c32426ea18"><div class="ttname"><a href="blowfish_8h.html#a6582d23a9993d784761182c32426ea18">blowfish_crypt_cbc</a></div><div class="ttdeci">int blowfish_crypt_cbc(blowfish_context *ctx, int mode, size_t length, unsigned char iv[BLOWFISH_BLOCKSIZE], const unsigned char *input, unsigned char *output)</div><div class="ttdoc">Blowfish-CBC buffer encryption/decryption Length should be a multiple of the block size (8 bytes) ...</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jul 31 2014 11:35:51 for PolarSSL v1.3.8 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>