<!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>BeeCrypt: include/beecrypt/dhies.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">BeeCrypt  <span id="projectnumber">4.2.1</span> </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="pages.html"><span>Related Pages</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 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 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_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_7519372152c32ce484a8cde0fb6b8cd0.html">beecrypt</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">dhies.h</div> </div> </div><!--header--> <div class="contents"> <a href="dhies_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> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2000, 2001, 2002, 2005 X-Way Rights BV</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * This library is free software; you can redistribute it and/or</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * License as published by the Free Software Foundation; either</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * This library is distributed in the hope that it will be useful,</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * Lesser General Public License for more details.</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * License along with this library; if not, write to the Free Software</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> *</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#ifndef _DHIES_H</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"></span><span class="preprocessor">#define _DHIES_H</span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span> </div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="beecrypt_8h.html">beecrypt/beecrypt.h</a>"</span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="dldp_8h.html">beecrypt/dldp.h</a>"</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structdhies__pParameters.html"> 40</a></span> <span class="preprocessor"></span><span class="keyword">struct </span><a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a> <a class="code" href="structdhies__pParameters.html">dhies_pParameters</a></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> #else</div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> struct _dhies_pParameters</div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> #endif</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structdhies__pParameters.html#adb55ff727034936cfe67d955b0b126d7"> 45</a></span>  <span class="keyword">const</span> <a class="code" href="structdldp__p.html">dldp_p</a>* <a class="code" href="structdhies__pParameters.html#adb55ff727034936cfe67d955b0b126d7">param</a>;</div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structdhies__pParameters.html#a7951f402b99e868c01ba24d88ded6559"> 46</a></span>  <span class="keyword">const</span> <a class="code" href="structhashFunction.html">hashFunction</a>* <a class="code" href="structdhies__pParameters.html#a7951f402b99e868c01ba24d88ded6559">hash</a>;</div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structdhies__pParameters.html#a0c2e4b53977c7744a5f6c25bb6724166"> 47</a></span>  <span class="keyword">const</span> <a class="code" href="structblockCipher.html">blockCipher</a>* <a class="code" href="structdhies__pParameters.html#a0c2e4b53977c7744a5f6c25bb6724166">cipher</a>;</div> <div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structdhies__pParameters.html#af90012dc6e865b218884c443f00e2cd0"> 48</a></span>  <span class="keyword">const</span> <a class="code" href="structkeyedHashFunction.html">keyedHashFunction</a>* <a class="code" href="structdhies__pParameters.html#af90012dc6e865b218884c443f00e2cd0">mac</a>;</div> <div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structdhies__pParameters.html#a35b4f2391eb5d5eb9f5e6320c82d45b9"> 49</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structdhies__pParameters.html#a35b4f2391eb5d5eb9f5e6320c82d45b9">cipherkeybits</a>;</div> <div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structdhies__pParameters.html#a6540ed105dcf65cb00d73c6eaf917c3f"> 50</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structdhies__pParameters.html#a6540ed105dcf65cb00d73c6eaf917c3f">mackeybits</a>;</div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> };</div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#ifndef __cplusplus</span></div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_dhies_pParameters <a class="code" href="structdhies__pParameters.html">dhies_pParameters</a>;</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structdhies__pContext.html"> 58</a></span> <span class="preprocessor"></span><span class="keyword">struct </span><a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a> <a class="code" href="structdhies__pContext.html">dhies_pContext</a></div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> #else</div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> struct _dhies_pContext</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> #endif</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> {</div> <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structdhies__pContext.html#a90dfa73fbb1f1a406413e27df94223ac"> 63</a></span>  <a class="code" href="structdldp__p.html">dldp_p</a> <a class="code" href="structdhies__pContext.html#a90dfa73fbb1f1a406413e27df94223ac">param</a>;</div> <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structdhies__pContext.html#a6bab0b936bd3005bac23286a6d4e3c8f"> 64</a></span>  <a class="code" href="structmpnumber.html">mpnumber</a> <a class="code" href="structdhies__pContext.html#a6bab0b936bd3005bac23286a6d4e3c8f">pub</a>;</div> <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structdhies__pContext.html#a959ed4e7a85a229d1b626aa75399854e"> 65</a></span>  <a class="code" href="structmpnumber.html">mpnumber</a> <a class="code" href="structdhies__pContext.html#a959ed4e7a85a229d1b626aa75399854e">pri</a>;</div> <div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structdhies__pContext.html#acf17d0cf577805cfde28002e17b6dc4f"> 66</a></span>  <a class="code" href="structhashFunctionContext.html">hashFunctionContext</a> <a class="code" href="structdhies__pContext.html#acf17d0cf577805cfde28002e17b6dc4f">hash</a>;</div> <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structdhies__pContext.html#a0a11cf17ca9a5850c139d03cb1511a92"> 67</a></span>  <a class="code" href="structblockCipherContext.html">blockCipherContext</a> <a class="code" href="structdhies__pContext.html#a0a11cf17ca9a5850c139d03cb1511a92">cipher</a>;</div> <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structdhies__pContext.html#a66d5bd9922aba530d67536a2513be66e"> 68</a></span>  <a class="code" href="structkeyedHashFunctionContext.html">keyedHashFunctionContext</a> <a class="code" href="structdhies__pContext.html#a66d5bd9922aba530d67536a2513be66e">mac</a>;</div> <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structdhies__pContext.html#aa167a110062a6063fe395a2ccbb3ace5"> 69</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structdhies__pContext.html#aa167a110062a6063fe395a2ccbb3ace5">cipherkeybits</a>;</div> <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structdhies__pContext.html#a8c84a4ceb8168771dfe537fe17714aa8"> 70</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structdhies__pContext.html#a8c84a4ceb8168771dfe537fe17714aa8">mackeybits</a>;</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> };</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#ifndef __cplusplus</span></div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_dhies_pContext <a class="code" href="structdhies__pContext.html">dhies_pContext</a>;</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a></div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keywordtype">int</span> <a class="code" href="dhies_8h.html#a28cc2c3cfccc99fee986772f189a4aaf">dhies_pUsable</a>(<span class="keyword">const</span> <a class="code" href="structdhies__pParameters.html">dhies_pParameters</a>*);</div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a></div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keywordtype">int</span> <a class="code" href="dhies_8h.html#a80c7fc4283f3f3c9d9315deec3a6e3af">dhies_pContextInit</a> (<a class="code" href="structdhies__pContext.html">dhies_pContext</a>*, <span class="keyword">const</span> <a class="code" href="structdhies__pParameters.html">dhies_pParameters</a>*);</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a></div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keywordtype">int</span> <a class="code" href="dhies_8h.html#a67d0f4f538fc04834ee5ed36b699d2df">dhies_pContextInitDecrypt</a>(<a class="code" href="structdhies__pContext.html">dhies_pContext</a>*, <span class="keyword">const</span> <a class="code" href="structdhies__pParameters.html">dhies_pParameters</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*);</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a></div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="keywordtype">int</span> <a class="code" href="dhies_8h.html#a897bef73ab35ca2aa56e1b168fdadded">dhies_pContextInitEncrypt</a>(<a class="code" href="structdhies__pContext.html">dhies_pContext</a>*, <span class="keyword">const</span> <a class="code" href="structdhies__pParameters.html">dhies_pParameters</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*);</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a></div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">int</span> <a class="code" href="dhies_8h.html#a812329806f62ee9c8d1ae3a4d77a62cd">dhies_pContextFree</a> (<a class="code" href="structdhies__pContext.html">dhies_pContext</a>*);</div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a></div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <a class="code" href="structmemchunk.html">memchunk</a>* <a class="code" href="dhies_8h.html#ae4c99c0674cffed68b9ae304a60f3e36">dhies_pContextEncrypt</a>(<a class="code" href="structdhies__pContext.html">dhies_pContext</a>*, <a class="code" href="structmpnumber.html">mpnumber</a>*, <a class="code" href="structmpnumber.html">mpnumber</a>*, <span class="keyword">const</span> <a class="code" href="structmemchunk.html">memchunk</a>*, <a class="code" href="structrandomGeneratorContext.html">randomGeneratorContext</a>*);</div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a></div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <a class="code" href="structmemchunk.html">memchunk</a>* <a class="code" href="dhies_8h.html#a7c56de01d62afa426ed65216e52e4f95">dhies_pContextDecrypt</a>(<a class="code" href="structdhies__pContext.html">dhies_pContext</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*, <span class="keyword">const</span> <a class="code" href="structmemchunk.html">memchunk</a>*);</div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor"></span>}</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="preprocessor">#endif</span></div> <div class="ttc" id="structdldp__p_html"><div class="ttname"><a href="structdldp__p.html">dldp_p</a></div><div class="ttdoc">Discrete Logarithm Domain Parameters over a prime field. </div><div class="ttdef"><b>Definition:</b> dldp.h:54</div></div> <div class="ttc" id="structblockCipher_html"><div class="ttname"><a href="structblockCipher.html">blockCipher</a></div><div class="ttdoc">Holds information and pointers to code specific to each cipher. </div><div class="ttdef"><b>Definition:</b> beecrypt.h:644</div></div> <div class="ttc" id="dhies_8h_html_a812329806f62ee9c8d1ae3a4d77a62cd"><div class="ttname"><a href="dhies_8h.html#a812329806f62ee9c8d1ae3a4d77a62cd">dhies_pContextFree</a></div><div class="ttdeci">int dhies_pContextFree(dhies_pContext *)</div></div> <div class="ttc" id="structblockCipherContext_html"><div class="ttname"><a href="structblockCipherContext.html">blockCipherContext</a></div><div class="ttdoc">Holds a pointer to a blockcipher as well as its parameters. </div><div class="ttdef"><b>Definition:</b> beecrypt.h:760</div></div> <div class="ttc" id="structrandomGeneratorContext_html"><div class="ttname"><a href="structrandomGeneratorContext.html">randomGeneratorContext</a></div><div class="ttdef"><b>Definition:</b> beecrypt.h:235</div></div> <div class="ttc" id="structkeyedHashFunction_html"><div class="ttname"><a href="structkeyedHashFunction.html">keyedHashFunction</a></div><div class="ttdef"><b>Definition:</b> beecrypt.h:436</div></div> <div class="ttc" id="structmemchunk_html"><div class="ttname"><a href="structmemchunk.html">memchunk</a></div><div class="ttdef"><b>Definition:</b> memchunk.h:28</div></div> <div class="ttc" id="structdhies__pContext_html"><div class="ttname"><a href="structdhies__pContext.html">dhies_pContext</a></div><div class="ttdef"><b>Definition:</b> dhies.h:58</div></div> <div class="ttc" id="structhashFunctionContext_html"><div class="ttname"><a href="structhashFunctionContext.html">hashFunctionContext</a></div><div class="ttdef"><b>Definition:</b> beecrypt.h:355</div></div> <div class="ttc" id="structdhies__pContext_html_a90dfa73fbb1f1a406413e27df94223ac"><div class="ttname"><a href="structdhies__pContext.html#a90dfa73fbb1f1a406413e27df94223ac">dhies_pContext::param</a></div><div class="ttdeci">dldp_p param</div><div class="ttdef"><b>Definition:</b> dhies.h:63</div></div> <div class="ttc" id="structdhies__pContext_html_a66d5bd9922aba530d67536a2513be66e"><div class="ttname"><a href="structdhies__pContext.html#a66d5bd9922aba530d67536a2513be66e">dhies_pContext::mac</a></div><div class="ttdeci">keyedHashFunctionContext mac</div><div class="ttdef"><b>Definition:</b> dhies.h:68</div></div> <div class="ttc" id="dhies_8h_html_a897bef73ab35ca2aa56e1b168fdadded"><div class="ttname"><a href="dhies_8h.html#a897bef73ab35ca2aa56e1b168fdadded">dhies_pContextInitEncrypt</a></div><div class="ttdeci">int dhies_pContextInitEncrypt(dhies_pContext *, const dhies_pParameters *, const mpnumber *)</div></div> <div class="ttc" id="beecrypt_8h_html"><div class="ttname"><a href="beecrypt_8h.html">beecrypt.h</a></div><div class="ttdoc">BeeCrypt API, headers. </div></div> <div class="ttc" id="structkeyedHashFunctionContext_html"><div class="ttname"><a href="structkeyedHashFunctionContext.html">keyedHashFunctionContext</a></div><div class="ttdef"><b>Definition:</b> beecrypt.h:494</div></div> <div class="ttc" id="dhies_8h_html_a80c7fc4283f3f3c9d9315deec3a6e3af"><div class="ttname"><a href="dhies_8h.html#a80c7fc4283f3f3c9d9315deec3a6e3af">dhies_pContextInit</a></div><div class="ttdeci">int dhies_pContextInit(dhies_pContext *, const dhies_pParameters *)</div></div> <div class="ttc" id="structdhies__pParameters_html_a0c2e4b53977c7744a5f6c25bb6724166"><div class="ttname"><a href="structdhies__pParameters.html#a0c2e4b53977c7744a5f6c25bb6724166">dhies_pParameters::cipher</a></div><div class="ttdeci">const blockCipher * cipher</div><div class="ttdef"><b>Definition:</b> dhies.h:47</div></div> <div class="ttc" id="dhies_8h_html_a67d0f4f538fc04834ee5ed36b699d2df"><div class="ttname"><a href="dhies_8h.html#a67d0f4f538fc04834ee5ed36b699d2df">dhies_pContextInitDecrypt</a></div><div class="ttdeci">int dhies_pContextInitDecrypt(dhies_pContext *, const dhies_pParameters *, const mpnumber *)</div></div> <div class="ttc" id="structdhies__pContext_html_acf17d0cf577805cfde28002e17b6dc4f"><div class="ttname"><a href="structdhies__pContext.html#acf17d0cf577805cfde28002e17b6dc4f">dhies_pContext::hash</a></div><div class="ttdeci">hashFunctionContext hash</div><div class="ttdef"><b>Definition:</b> dhies.h:66</div></div> <div class="ttc" id="structdhies__pContext_html_a8c84a4ceb8168771dfe537fe17714aa8"><div class="ttname"><a href="structdhies__pContext.html#a8c84a4ceb8168771dfe537fe17714aa8">dhies_pContext::mackeybits</a></div><div class="ttdeci">size_t mackeybits</div><div class="ttdef"><b>Definition:</b> dhies.h:70</div></div> <div class="ttc" id="api_8h_html_a4f699d64328623c51b22f3b3f1ff4150"><div class="ttname"><a href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a></div><div class="ttdeci">#define BEECRYPTAPI</div><div class="ttdef"><b>Definition:</b> api.h:52</div></div> <div class="ttc" id="dldp_8h_html"><div class="ttname"><a href="dldp_8h.html">dldp.h</a></div><div class="ttdoc">Discrete Logarithm domain parameters, headers. </div></div> <div class="ttc" id="structdhies__pParameters_html_af90012dc6e865b218884c443f00e2cd0"><div class="ttname"><a href="structdhies__pParameters.html#af90012dc6e865b218884c443f00e2cd0">dhies_pParameters::mac</a></div><div class="ttdeci">const keyedHashFunction * mac</div><div class="ttdef"><b>Definition:</b> dhies.h:48</div></div> <div class="ttc" id="structdhies__pContext_html_a959ed4e7a85a229d1b626aa75399854e"><div class="ttname"><a href="structdhies__pContext.html#a959ed4e7a85a229d1b626aa75399854e">dhies_pContext::pri</a></div><div class="ttdeci">mpnumber pri</div><div class="ttdef"><b>Definition:</b> dhies.h:65</div></div> <div class="ttc" id="structmpnumber_html"><div class="ttname"><a href="structmpnumber.html">mpnumber</a></div><div class="ttdef"><b>Definition:</b> mpnumber.h:36</div></div> <div class="ttc" id="structdhies__pParameters_html_adb55ff727034936cfe67d955b0b126d7"><div class="ttname"><a href="structdhies__pParameters.html#adb55ff727034936cfe67d955b0b126d7">dhies_pParameters::param</a></div><div class="ttdeci">const dldp_p * param</div><div class="ttdef"><b>Definition:</b> dhies.h:45</div></div> <div class="ttc" id="structdhies__pParameters_html_a7951f402b99e868c01ba24d88ded6559"><div class="ttname"><a href="structdhies__pParameters.html#a7951f402b99e868c01ba24d88ded6559">dhies_pParameters::hash</a></div><div class="ttdeci">const hashFunction * hash</div><div class="ttdef"><b>Definition:</b> dhies.h:46</div></div> <div class="ttc" id="structhashFunction_html"><div class="ttname"><a href="structhashFunction.html">hashFunction</a></div><div class="ttdef"><b>Definition:</b> beecrypt.h:301</div></div> <div class="ttc" id="dhies_8h_html_a28cc2c3cfccc99fee986772f189a4aaf"><div class="ttname"><a href="dhies_8h.html#a28cc2c3cfccc99fee986772f189a4aaf">dhies_pUsable</a></div><div class="ttdeci">int dhies_pUsable(const dhies_pParameters *)</div></div> <div class="ttc" id="dhies_8h_html_ae4c99c0674cffed68b9ae304a60f3e36"><div class="ttname"><a href="dhies_8h.html#ae4c99c0674cffed68b9ae304a60f3e36">dhies_pContextEncrypt</a></div><div class="ttdeci">memchunk * dhies_pContextEncrypt(dhies_pContext *, mpnumber *, mpnumber *, const memchunk *, randomGeneratorContext *)</div></div> <div class="ttc" id="dhies_8h_html_a7c56de01d62afa426ed65216e52e4f95"><div class="ttname"><a href="dhies_8h.html#a7c56de01d62afa426ed65216e52e4f95">dhies_pContextDecrypt</a></div><div class="ttdeci">memchunk * dhies_pContextDecrypt(dhies_pContext *, const mpnumber *, const mpnumber *, const memchunk *)</div></div> <div class="ttc" id="structdhies__pParameters_html"><div class="ttname"><a href="structdhies__pParameters.html">dhies_pParameters</a></div><div class="ttdef"><b>Definition:</b> dhies.h:40</div></div> <div class="ttc" id="structdhies__pContext_html_a6bab0b936bd3005bac23286a6d4e3c8f"><div class="ttname"><a href="structdhies__pContext.html#a6bab0b936bd3005bac23286a6d4e3c8f">dhies_pContext::pub</a></div><div class="ttdeci">mpnumber pub</div><div class="ttdef"><b>Definition:</b> dhies.h:64</div></div> <div class="ttc" id="structdhies__pParameters_html_a35b4f2391eb5d5eb9f5e6320c82d45b9"><div class="ttname"><a href="structdhies__pParameters.html#a35b4f2391eb5d5eb9f5e6320c82d45b9">dhies_pParameters::cipherkeybits</a></div><div class="ttdeci">size_t cipherkeybits</div><div class="ttdef"><b>Definition:</b> dhies.h:49</div></div> <div class="ttc" id="structdhies__pContext_html_aa167a110062a6063fe395a2ccbb3ace5"><div class="ttname"><a href="structdhies__pContext.html#aa167a110062a6063fe395a2ccbb3ace5">dhies_pContext::cipherkeybits</a></div><div class="ttdeci">size_t cipherkeybits</div><div class="ttdef"><b>Definition:</b> dhies.h:69</div></div> <div class="ttc" id="structdhies__pContext_html_a0a11cf17ca9a5850c139d03cb1511a92"><div class="ttname"><a href="structdhies__pContext.html#a0a11cf17ca9a5850c139d03cb1511a92">dhies_pContext::cipher</a></div><div class="ttdeci">blockCipherContext cipher</div><div class="ttdef"><b>Definition:</b> dhies.h:67</div></div> <div class="ttc" id="structdhies__pParameters_html_a6540ed105dcf65cb00d73c6eaf917c3f"><div class="ttname"><a href="structdhies__pParameters.html#a6540ed105dcf65cb00d73c6eaf917c3f">dhies_pParameters::mackeybits</a></div><div class="ttdeci">size_t mackeybits</div><div class="ttdef"><b>Definition:</b> dhies.h:50</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Sep 27 2013 02:36:25 for BeeCrypt 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>