Branch Coverage

inc/matrixssl-3-9-3-open/crypto/symmetric/des3.c
Criterion Covered Total %
branch 37 46 80.4


line true false branch
1298 1248 78 for (i = 0; i < 16; i++, raw1++)
1322 4368 78 for (j = 0; j < 56; j++)
1326 2364 2004 pc1m[j] = (unsigned char) ((key[l >> 3U] & bytebit[m]) ==
1330 1248 78 for (i = 0; i < 16; i++)
1332 624 624 if (edf == DE1)
1342 34944 1248 for (j = 0; j < 28; j++)
1345 16848 18096 if (l < 28)
1354 34944 1248 for (/*j = 28*/; j < 56; j++)
1357 16848 18096 if (l < 56)
1366 29952 1248 for (j = 0; j < 24; j++)
1368 16898 13054 if ((int32) pcr[(int32) pc2[j]] != 0)
1372 15492 14460 if ((int32) pcr[(int32) pc2[j + 24]] != 0)
1432 47520 5940 for (cur_round = 0; cur_round < 8; cur_round++)
1519 0 13 if ((err = psDes3InitKey(key, &des3->key)) != PS_SUCCESS)
1524 104 13 for (x = 0; x < DES3_BLOCKLEN; x++)
1551 0 0 for (i = 0; i < len; i += DES3_BLOCKLEN)
1554 0 0 for (x = 0; x < DES3_BLOCKLEN; x++)
1562 0 0 for (x = 0; x < DES3_BLOCKLEN; x++)
1593 1980 13 for (i = 0; i < len; i += DES3_BLOCKLEN)
1598 15840 1980 for (x = 0; x < DES3_BLOCKLEN; x++)
1606 15840 1980 for (x = 0; x < DES3_BLOCKLEN; x++)
1644 13 0 if (key == NULL || skey == NULL)
0 13 if (key == NULL || skey == NULL)