line |
true |
false |
branch |
165
|
0 |
0 |
if (keyLen > 64) |
167
|
0 |
0 |
if ((rc = psMd5Init(md)) < 0) |
181
|
0 |
0 |
if ((rc = psHmacMd5Init(mac, hmacKey, *hmacKeyLen)) < 0) |
198
|
0 |
0 |
for (i = 0; (uint32) i < keyLen; i++) |
202
|
0 |
0 |
for (i = keyLen; i < 64; i++) |
206
|
0 |
0 |
if ((rc = psMd5Init(&ctx->md5)) < 0) |
211
|
0 |
0 |
for (i = 0; (uint32) i < keyLen; i++) |
215
|
0 |
0 |
for (i = keyLen; i < 64; i++) |
247
|
0 |
0 |
if ((rc = psMd5Init(&ctx->md5)) < 0) |
249
|
0 |
0 |
psAssert(rc >= 0); |
290
|
0 |
0 |
if (keyLen > 64) |
292
|
0 |
0 |
if ((rc = psSha1Init(md)) < 0) |
307
|
0 |
0 |
if ((rc = psHmacSha1Init(mac, hmacKey, *hmacKeyLen)) < 0) |
324
|
320 |
16 |
for (i = 0; (uint32) i < keyLen; i++) |
328
|
704 |
16 |
for (i = keyLen; (uint32) i < 64; i++) |
332
|
0 |
16 |
if ((rc = psSha1Init(&ctx->sha1)) < 0) |
337
|
320 |
16 |
for (i = 0; (uint32) i < keyLen; i++) |
341
|
704 |
16 |
for (i = keyLen; i < 64; i++) |
371
|
0 |
16 |
if ((rc = psSha1Init(&ctx->sha1)) < 0) |
373
|
0 |
0 |
psAssert(rc >= 0); |
412
|
0 |
24 |
if (keyLen > (uint32) padLen) |
414
|
0 |
0 |
if ((rc = psSha256Init(md)) < 0) |
429
|
0 |
24 |
if ((rc = psHmacSha256Init(mac, hmacKey, *hmacKeyLen)) < 0) |
446
|
2240 |
48 |
for (i = 0; (uint32) i < keyLen; i++) |
450
|
832 |
48 |
for (i = keyLen; i < padLen; i++) |
454
|
0 |
48 |
if ((rc = psSha256Init(&ctx->sha256)) < 0) |
459
|
2240 |
48 |
for (i = 0; (uint32) i < keyLen; i++) |
463
|
832 |
48 |
for (i = keyLen; i < padLen; i++) |
495
|
0 |
48 |
if ((rc = psSha256Init(&ctx->sha256)) < 0) |
497
|
0 |
0 |
psAssert(rc >= 0); |
534
|
0 |
10576 |
if (keyLen > (uint32) padLen) |
536
|
0 |
0 |
if ((rc = psSha384Init(md)) < 0) |
551
|
0 |
10576 |
if ((rc = psHmacSha384Init(mac, hmacKey, *hmacKeyLen)) < 0) |
570
|
1091328 |
21152 |
for (i = 0; (uint32) i < keyLen; i++) |
574
|
1616128 |
21152 |
for (i = keyLen; i < padLen; i++) |
578
|
0 |
21152 |
if ((rc = psSha384Init(&ctx->sha384)) < 0) |
584
|
1091328 |
21152 |
for (i = 0; (uint32) i < keyLen; i++) |
588
|
1616128 |
21152 |
for (i = keyLen; i < padLen; i++) |
620
|
0 |
21152 |
if ((rc = psSha384Init(&ctx->sha384)) < 0) |
622
|
0 |
0 |
psAssert(rc >= 0); |