1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
<!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>anytun: KeyDerivation Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<h1>KeyDerivation Class Reference</h1><!-- doxytag: class="KeyDerivation" --><code>#include <<a class="el" href="keyDerivation_8h-source.html">keyDerivation.h</a>></code>
<p>
<a href="classKeyDerivation-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#07c3735d1b2e1285b6c427a2706ebc67">KeyDerivation</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#ccce2c32370be2388ca0a977fef1f6cc">~KeyDerivation</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#5f03e97de1a041f6012d1fcfabf13773">init</a> (<a class="el" href="classBuffer.html">Buffer</a> key, <a class="el" href="classBuffer.html">Buffer</a> salt)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#b055afc0de04a6e32631e42f09b32e63">setLogKDRate</a> (const <a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> ld_rate)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#6d319febcad73d199fe8773ae614f70a">generate</a> (<a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">satp_prf_label</a> label, <a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> seq_nr, <a class="el" href="classBuffer.html">Buffer</a> &key, <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> length)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#8d8c405ee7c3753b4807b36a8cbe537a">clear</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">ld_kdr_</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classBuffer.html">Buffer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">salt_</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">gcry_cipher_hd_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">cipher_</a></td></tr>
<tr><td colspan="2"><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKeyDerivation.html#2091534e962a9d0f7b3b034150d33333">MIN_GCRYPT_VERSION</a></td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="07c3735d1b2e1285b6c427a2706ebc67"></a><!-- doxytag: member="KeyDerivation::KeyDerivation" ref="07c3735d1b2e1285b6c427a2706ebc67" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">KeyDerivation::KeyDerivation </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="ccce2c32370be2388ca0a977fef1f6cc"></a><!-- doxytag: member="KeyDerivation::~KeyDerivation" ref="ccce2c32370be2388ca0a977fef1f6cc" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual KeyDerivation::~KeyDerivation </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5f03e97de1a041f6012d1fcfabf13773"></a><!-- doxytag: member="KeyDerivation::init" ref="5f03e97de1a041f6012d1fcfabf13773" args="(Buffer key, Buffer salt)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void KeyDerivation::init </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> </td>
<td class="paramname"> <em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> </td>
<td class="paramname"> <em>salt</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b055afc0de04a6e32631e42f09b32e63"></a><!-- doxytag: member="KeyDerivation::setLogKDRate" ref="b055afc0de04a6e32631e42f09b32e63" args="(const u_int8_t ld_rate)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void KeyDerivation::setLogKDRate </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="datatypes_8h.html#40a40c6e9649a4e3806e76fef247d241">u_int8_t</a> </td>
<td class="paramname"> <em>ld_rate</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="6d319febcad73d199fe8773ae614f70a"></a><!-- doxytag: member="KeyDerivation::generate" ref="6d319febcad73d199fe8773ae614f70a" args="(satp_prf_label label, seq_nr_t seq_nr, Buffer &key, u_int32_t length)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void KeyDerivation::generate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="keyDerivation_8h.html#4829fcd87054af9b3ced79bbac1ce1eb">satp_prf_label</a> </td>
<td class="paramname"> <em>label</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="datatypes_8h.html#317be74a3176b4149a817241bd69f9b2">seq_nr_t</a> </td>
<td class="paramname"> <em>seq_nr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td>
<td class="paramname"> <em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td>
<td class="paramname"> <em>length</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="8d8c405ee7c3753b4807b36a8cbe537a"></a><!-- doxytag: member="KeyDerivation::clear" ref="8d8c405ee7c3753b4807b36a8cbe537a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void KeyDerivation::clear </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="426dcd34d3b60191a3db55dd970eeb17"></a><!-- doxytag: member="KeyDerivation::ld_kdr_" ref="426dcd34d3b60191a3db55dd970eeb17" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="datatypes_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> <a class="el" href="classKeyDerivation.html#426dcd34d3b60191a3db55dd970eeb17">KeyDerivation::ld_kdr_</a><code> [protected]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="52e057f1085920a61ea44c5c9936865c"></a><!-- doxytag: member="KeyDerivation::salt_" ref="52e057f1085920a61ea44c5c9936865c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classBuffer.html">Buffer</a> <a class="el" href="classKeyDerivation.html#52e057f1085920a61ea44c5c9936865c">KeyDerivation::salt_</a><code> [protected]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="2091534e962a9d0f7b3b034150d33333"></a><!-- doxytag: member="KeyDerivation::MIN_GCRYPT_VERSION" ref="2091534e962a9d0f7b3b034150d33333" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char * <a class="el" href="classKeyDerivation.html#2091534e962a9d0f7b3b034150d33333">KeyDerivation::MIN_GCRYPT_VERSION</a><code> [static, protected]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="6b7dd9a922de96a8f76cf6c453adab28"></a><!-- doxytag: member="KeyDerivation::cipher_" ref="6b7dd9a922de96a8f76cf6c453adab28" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">gcry_cipher_hd_t <a class="el" href="classKeyDerivation.html#6b7dd9a922de96a8f76cf6c453adab28">KeyDerivation::cipher_</a><code> [protected]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="keyDerivation_8h-source.html">keyDerivation.h</a><li><a class="el" href="keyDerivation_8cpp.html">keyDerivation.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 3 11:49:25 2007 for anytun by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>
|