libcrypto_test.htm
22.6 KB
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./libcrypto_test_files/filelist.xml">
<title>Libcrypto test plan</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>pramila</o:Author>
<o:Template>Normal</o:Template>
<o:LastAuthor>pramila</o:LastAuthor>
<o:Revision>21</o:Revision>
<o:TotalTime>11619</o:TotalTime>
<o:Created>2003-07-29T17:50:00Z</o:Created>
<o:LastSaved>2003-08-23T17:14:00Z</o:LastSaved>
<o:Pages>3</o:Pages>
<o:Words>843</o:Words>
<o:Characters>4809</o:Characters>
<o:Company>RouteFree</o:Company>
<o:Lines>40</o:Lines>
<o:Paragraphs>9</o:Paragraphs>
<o:CharactersWithSpaces>5905</o:CharactersWithSpaces>
<o:Version>9.2720</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-alt:"\FF2D\FF33 \660E\671D";
mso-font-charset:128;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:fixed;
mso-font-signature:1 134676480 16 0 131072 0;}
@font-face
{font-family:"\@MS Mincho";
mso-font-charset:0;
mso-generic-font-family:auto;
mso-font-pitch:auto;
mso-font-signature:0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
mso-outline-level:1;
font-size:12.0pt;
font-family:"Times New Roman";
mso-font-kerning:0pt;}
h3
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
mso-outline-level:3;
font-size:13.0pt;
font-family:Arial;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1052"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
<h1><span style='font-size:14.0pt;mso-bidi-font-size:12.0pt'>Libcrypto test
plan and status<o:p></o:p></span></h1>
<p class=MsoNormal> </p>
<p class=MsoNormal>Basic functionalities to be tested and their call graphs:</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>RSA Verify -> integer math (bb_nn.c)</p>
<p class=MsoNormal>Public Key Generation -> algorithms.c ->
elliptic_math.c -> poly_math.c</p>
<p class=MsoNormal>Shared Key Generation (ticket decryption key) -> algorithms.c
->elliptic_math.c ->poly_math.c</p>
<p class=MsoNormal>ECC Sign/Verify (SK exposed API) -< algorithms.c ->
elliptic_math.c -> poly_math.c </p>
<p class=MsoNormal><span style='mso-tab-count:6'> </span>->bb_nn.c</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>The coverage is very complete: even one shared key
generation would cover all of elliptic_math and poly_math.</p>
<p class=MsoNormal>The coverage of bb_nn.c (integer math ) is split between RSA
verify and ECC sign/verify.</p>
<p class=MsoNormal> </p>
<table border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;
border:none;mso-border-alt:solid windowtext .5pt;mso-padding-alt:0in 5.4pt 0in 5.4pt'>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>level</p>
</td>
<td width=403 valign=top style='width:301.95pt;border:solid windowtext .5pt;
border-left:none;mso-border-left-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>tests</p>
</td>
<td width=77 valign=top style='width:58.05pt;border:solid windowtext .5pt;
border-left:none;mso-border-left-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>status</p>
</td>
<td width=200 valign=top style='width:149.8pt;border:solid windowtext .5pt;
border-left:none;mso-border-left-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>gcov output</p>
</td>
</tr>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>poly math</p>
</td>
<td width=403 valign=top style='width:301.95pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>-x86 </p>
<p class=MsoNormal>Randomly generate two field variables, a, b, using
random_field function. </p>
<p class=MsoNormal>Obtain i = a * (1/b) and check that i is one. * is
poly_mul, 1/(.) is poly_inv.</p>
<p class=MsoNormal>This should cover all the code.</p>
<p class=MsoNormal>Iterate some 10000 times.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>-MIPS (gets tested as part of crypto tests)</p>
<p class=MsoNormal> </p>
</td>
<td width=77 valign=top style='width:58.05pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>done</p>
</td>
<td width=200 valign=top style='width:149.8pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoPlainText><span style='mso-fareast-font-family:"MS Mincho"'>attached,
complete<o:p></o:p></span></p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
</td>
</tr>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>elliptic math</p>
</td>
<td width=403 valign=top style='width:301.95pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>-x86 </p>
<p class=MsoNormal>Set up whichever package supports the same bit length. </p>
<p class=MsoNormal>Call elliptic_multiply from the package and our library
and compare results.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
</td>
<td width=77 valign=top style='width:58.05pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>done</p>
</td>
<td width=200 valign=top style='width:149.8pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>attached, almost complete</p>
</td>
</tr>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>integer math</p>
</td>
<td width=403 valign=top style='width:301.95pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>-x86 </p>
<p class=MsoNormal>Using openssl, </p>
<p class=MsoNormal>-generate N iterations of each key length type: 2048, 4096</p>
<p class=MsoNormal>-test all three exponents: 0x3, 0x11, 0x10001</p>
<p class=MsoNormal>-for each key pair call validate()</p>
<p class=MsoNormal>Validate: picks random data, signs it, verifies using
libcryptoX86 call to verify rsa signature</p>
<p class=MsoNormal>Negative test: randomly modify a bit of the sign, verify
that check does not pass.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>This leaves out bigint_mod_inv and the conversion
functions bigint_to_field and field_to_bigint. </p>
<p class=MsoNormal>Those can be tested from algorithms level.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
</td>
<td width=77 valign=top style='width:58.05pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>done</p>
</td>
<td width=200 valign=top style='width:149.8pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>need to look</p>
</td>
</tr>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>algorithms</p>
</td>
<td width=403 valign=top style='width:301.95pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>-x86 (done)</p>
<p class=MsoNormal>RSA verify:</p>
<p class=MsoNormal>(covered in above test of bigint_mod_exp)</p>
<p class=MsoNormal> </p>
</td>
<td width=77 valign=top style='width:58.05pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>done</p>
</td>
<td width=200 valign=top style='width:149.8pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>attached, almost complete</p>
</td>
</tr>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal> </p>
</td>
<td width=403 valign=top style='width:301.95pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>ECC Sign/Verify:</p>
<p class=MsoNormal>Do N iterations of</p>
<p class=MsoNormal>-pick random data, random salt each time</p>
<p class=MsoNormal>-sign and verify correct</p>
<p class=MsoNormal>-test case of identity and no identity</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>Negative test: randomly change a bit of the sign, verify
that it does not pass.</p>
<p class=MsoNormal> </p>
</td>
<td width=77 valign=top style='width:58.05pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>done</p>
</td>
<td width=200 valign=top style='width:149.8pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal> </p>
</td>
</tr>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal> </p>
</td>
<td width=403 valign=top style='width:301.95pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>Key Gen & Shared Key: </p>
<p class=MsoNormal>Do N iterations of:</p>
<p class=MsoNormal>-generate random keys K1, K2. </p>
<p class=MsoNormal>-generate corresponding public keys PK1 PK2</p>
<p class=MsoNormal>-generate shared key SK1 = (K1 *PK2)</p>
<p class=MsoNormal>and SK2 = (K2*PK1)</p>
<p class=MsoNormal>compare and verify that SK1 = SK2 </p>
<p class=MsoNormal> </p>
<p class=MsoNormal>Negative test: </p>
<p class=MsoNormal>modify the private key of one of the pairs and check that
shared key is different.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
</td>
<td width=77 valign=top style='width:58.05pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>done</p>
</td>
<td width=200 valign=top style='width:149.8pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal> </p>
</td>
</tr>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal> </p>
</td>
<td width=403 valign=top style='width:301.95pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>-MIPS </p>
<p class=MsoNormal>RSA verify</p>
<p class=MsoNormal>create a set of 2048 signers, a set of 4096 signers. Create
private key data using writeRsaData().</p>
<p class=MsoNormal>Save public key binary data for each case.</p>
<p class=MsoNormal>Create a random hash and pad using PKCS standard way. Save
these vectors and signatures</p>
<p class=MsoNormal>and the binary public keys in flash.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>In an app, read in vector, public key and signature and
validate using bsl_rsa_verify().</p>
<p class=MsoNormal>repeat for all vector-signature pairs for a few signers.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal>Do a few negative tests: modify sign and verify that it
does not pass.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
</td>
<td width=77 valign=top style='width:58.05pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>not done</p>
</td>
<td width=200 valign=top style='width:149.8pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal> </p>
</td>
</tr>
<tr>
<td width=107 valign=top style='width:80.6pt;border:solid windowtext .5pt;
border-top:none;mso-border-top-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal> </p>
</td>
<td width=403 valign=top style='width:301.95pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>MIPS : ECC sign/verify: </p>
<p class=MsoNormal>beef up existing app in bbapps/sktest/signverify<span
style="mso-spacerun: yes"> </span>to run N iterations of ECC sign/verify.
API calls </p>
<p class=MsoNormal>are treated later. Call the libcrypto level functions
computeEccSig and verifyEccSig</p>
<p class=MsoNormal>with data lengths:</p>
<p class=MsoNormal>-one byte</p>
<p class=MsoNormal>-one word</p>
<p class=MsoNormal>-1K data size</p>
<p class=MsoNormal>in each case compute the sign for different random salt
and verify.</p>
<p class=MsoNormal>Negative test: alter sign by a random bit/bits and check
the signature does not match.</p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
</td>
<td width=77 valign=top style='width:58.05pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal>not completed various lengths</p>
</td>
<td width=200 valign=top style='width:149.8pt;border-top:none;border-left:
none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
padding:0in 5.4pt 0in 5.4pt'>
<p class=MsoNormal> </p>
</td>
</tr>
</table>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
<p class=MsoNormal>poly_math.c</p>
<p class=MsoPlainText><span style='mso-fareast-font-family:"MS Mincho"'>100.00%
of 10 source lines executed in function multiply_shift<br>
100.00% of 8 source lines executed in function null<br>
100.00% of 8 source lines executed in function double_null<br>
100.00% of 14 source lines executed in function double_add<br>
100.00% of 11 source lines executed in function copy<br>
100.00% of 11 source lines executed in function double_copy<br>
100.00% of 6 source lines executed in function single_to_double<br>
100.00% of 5 source lines executed in function double_to_single<br>
100.00% of 59 source lines executed in function poly_mul_partial<br>
100.00% of 17 source lines executed in function multiply_shift_n<br>
100.00% of 17 source lines executed in function shift_bit_n<br>
100.00% of 5 source lines executed in function extract_masked_bits<br>
100.00% of 5 source lines executed in function zero_masked_bits<br>
100.00% of 34 source lines executed in function poly_mul<br>
100.00% of 39 source lines executed in function cus_times_u_to_n<br>
100.00% of 9 source lines executed in function is_less_than<br>
100.00% of 62 source lines executed in function poly_inv<br>
100.00% of 10 source lines executed in function poly_rot_right<br>
100.00% of 330 source lines executed in file poly_math.c<br>
Creating poly_math.c.gcov.<o:p></o:p></span></p>
<p class=MsoNormal> </p>
<p class=MsoNormal> </p>
<p class=MsoNormal>elliptic_math.c</p>
<p class=MsoPlainText><span style='mso-fareast-font-family:"MS Mincho"'>100.00%
of 34 source lines executed in function Init_233_bit<br>
100.00% of 4 source lines executed in function copy_point<br>
<span style="mso-spacerun: yes"></span>81.25% of 48 source lines executed in
function poly_elliptic_sum<br>
<span style="mso-spacerun: yes"></span>81.48% of 27 source lines executed in
function poly_elliptic_double<br>
100.00% of 9 source lines executed in function poly_elliptic_sub<br>
100.00% of 41 source lines executed in function poly_elliptic_mul<br>
<span style="mso-spacerun: yes"></span>91.41% of 163 source lines executed in
file elliptic_math.c<br>
Creating elliptic_math.c.gcov.<o:p></o:p></span></p>
<p class=MsoNormal> </p>
<p class=MsoNormal>algorithms.c</p>
<p class=MsoPlainText><span style='mso-fareast-font-family:"MS Mincho"'>100.00%
of 19 source lines executed in function eccGenAesKey<br>
100.00% of 15 source lines executed in function eccGenPublicKey<br>
<span style="mso-spacerun: yes"></span>89.74% of 39 source lines executed in
function generate_public_key<br>
<span style="mso-spacerun: yes"></span>87.50% of 8 source lines executed in
function generate_shared_key<br>
100.00% of 26 source lines executed in function poly_key_gen_primitive<br>
100.00% of 20 source lines executed in function hash_to_integer<br>
100.00% of 21 source lines executed in function Init_233_bit_ECDSA<br>
100.00% of 44 source lines executed in function poly_ECDSA_signature<br>
100.00% of 55 source lines executed in function poly_DSA_verify<br>
100.00% of 18 source lines executed in function computeEccSig<br>
100.00% of 8 source lines executed in function verifyEccSig<br>
<span style="mso-spacerun: yes"></span>98.17% of 273 source lines executed in
file algorithms.c<br>
Creating algorithms.c.gcov.<o:p></o:p></span></p>
<p class=MsoNormal> </p>
<p class=MsoNormal style='margin-left:.5in'> </p>
<p class=MsoNormal style='margin-left:.5in'> </p>
<p class=MsoNormal style='margin-left:.5in'> </p>
<p class=MsoNormal style='margin-left:.5in'> </p>
<p class=MsoNormal style='margin-left:.5in'> </p>
</div>
</body>
</html>