<divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> This file is part of Pretty Curved Privacy (pcp1).</span></div>
<divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> This program is free software: you can redistribute it and/or modify</span></div>
<divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> it under the terms of the GNU General Public License as published by</span></div>
<divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment"> the Free Software Foundation, either version 3 of the License, or</span></div>
<divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> (at your option) any later version.</span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> This program is distributed in the hope that it will be useful,</span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> GNU General Public License for more details.</span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> You should have received a copy of the GNU General Public License</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> along with this program. If not, see <http://www.gnu.org/licenses/>.</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> You can contact me by mail: <tlinden AT cpan DOT org>.</span></div>
<divclass="line"><aname="l00044"></a><spanclass="lineno"> 44</span> <spanclass="keyword">extern</span><aclass="code"href="struct__pcp__pubkey__t.html"title="PCP public key structure.">pcp_pubkey_t</a> *<aclass="code"href="group__KEYHASH.html#ga2953fd446079220a948693dfab5d6055"title="Global hash for public keys.">pcppubkey_hash</a>;</div>
<divclass="line"><aname="l00088"></a><spanclass="lineno"> 88</span> <spanclass="keywordtype">void</span><aclass="code"href="group__KEYHASH.html#ga032631be7ae7bfda7a7d3a6ec6c470e9"title="Initialize the global hashes.">pcphash_init</a>();</div>
<divclass="line"><aname="l00097"></a><spanclass="lineno"> 97</span> <spanclass="keywordtype">void</span><aclass="code"href="group__KEYHASH.html#ga6ec2d68ebc58d0291f1a3df489f60137"title="Delete an entry from a hash.">pcphash_del</a>(<spanclass="keywordtype">void</span> *key, <spanclass="keywordtype">int</span> type);</div>
<divclass="line"><aname="l00105"></a><spanclass="lineno"> 105</span> <spanclass="keywordtype">void</span><aclass="code"href="group__KEYHASH.html#ga29bb3dbb781b383f0ded40ee149b8917"title="Frees the memory allocated by the hashes.">pcphash_clean</a>();</div>
<divclass="line"><aname="l00113"></a><spanclass="lineno"> 113</span> <aclass="code"href="struct__pcp__key__t.html"title="PCP private key structure.">pcp_key_t</a> *<aclass="code"href="group__KEYHASH.html#ga16be3ae351e715ae60801e9bae56a672"title="Check if a secret key with a given key-id exists in the hash.">pcphash_keyexists</a>(<spanclass="keywordtype">char</span> *<spanclass="keywordtype">id</span>);</div>
<divclass="line"><aname="l00121"></a><spanclass="lineno"> 121</span> <aclass="code"href="struct__pcp__pubkey__t.html"title="PCP public key structure.">pcp_pubkey_t</a> *<aclass="code"href="group__KEYHASH.html#gad8bdc1bfa1e646032ff7ceadbec0b2b1"title="Check if a publickey with a given key-id exists in the hash.">pcphash_pubkeyexists</a>(<spanclass="keywordtype">char</span> *<spanclass="keywordtype">id</span>);</div>
<divclass="line"><aname="l00129"></a><spanclass="lineno"> 129</span> <spanclass="keywordtype">void</span><aclass="code"href="group__KEYHASH.html#ga334bc5afda6c8bfa53d9c73390a4743f"title="Add a key structure to the hash list.">pcphash_add</a>(<spanclass="keywordtype">void</span> *key, <spanclass="keywordtype">int</span> type);</div>
<divclass="line"><aname="l00135"></a><spanclass="lineno"> 135</span> <spanclass="keywordtype">int</span><aclass="code"href="group__KEYHASH.html#gabf4f54f18a5ad15606ce8a43ea4b1d89"title="Returns the number of secret keys in the hash.">pcphash_count</a>();</div>
<divclass="line"><aname="l00141"></a><spanclass="lineno"> 141</span> <spanclass="keywordtype">int</span><aclass="code"href="group__KEYHASH.html#gababf062b31ee773f739d1411b2b72317"title="Returns the number of public keys in the hash.">pcphash_countpub</a>();</div>