Branch Coverage

inc/matrixssl-3-9-3-open/crypto/digest/sha512.c
Criterion Covered Total %
branch 28 30 93.3


line true false branch
110 1254488 156811 for (i = 0; i < 8; i++)
116 2508976 156811 for (i = 0; i < 16; i++)
122 10035904 156811 for (i = 16; i < 80; i++)
129 12544880 156811 for (i = 0; i < 80; i++)
163 1254488 156811 for (i = 0; i < 8; i++)
209 0 150643 psAssert(sha512 != NULL);
210 0 150643 psAssert(buf != NULL);
212 210018 150643 while (len > 0)
214 168732 41286 if (sha512->curlen == 0 && len >= 128)
83857 84875 if (sha512->curlen == 0 && len >= 128)
229 17822 108339 if (sha512->curlen == 128)
267 6359 42414 if (sha512->curlen > 112)
269 27562 6359 while (sha512->curlen < 128)
281 3320641 48773 while (sha512->curlen < 120)
291 390184 48773 for (i = 0; i < 8; i++)