Branch Coverage

inc/matrixssl-3-9-3-open/crypto/symmetric/aesGCM.c
Criterion Covered Total %
branch 40 52 76.9


line true false branch
74 0 4234 if (rc < 0)
126 0 0 if (res == 12)
149 6287 6288 if (direction == 0)
153 66247379 12575 while (len)
155 4148211 62099168 if (ctx->OutputBufferCount == 0)
161 4160631 0 for (x = (AES_BLOCKLEN - 1); x >= 0; x--)
165 4148211 12420 if (ctx->EncCtr[x] != (unsigned char) 0)
176 6288 6287 if (direction == 1)
210 201200 12575 while (tagBytes)
212 12575 188625 if (ctx->OutputBufferCount == 0)
250 6287 0 if (ctLen > ptLen)
262 0 6287 if (memcmpct(tag, ct + ptLen, tagLen) != 0)
280 0 0 if (memcmpct(tag, tagTmp, tagLen) != 0)
301 266434420 267755788 if (carry_bit)
320 534190208 4173361 for (i = 0; i < 128; i++)
322 265932263 268257945 if (Y[i / 32] & (1 << (31 - i % 32)))
346 0 25150 if (Temp > (int32) ctx->ProcessedBitCount[CounterId])
351 0 25150 if (Hi)
382 0 25150 while (NBytes >= 0x10000000)
409 4173361 541077 while (Size >= 16)
421 702799 186872 while (DataCount > 0)
423 515927 186872 if (ctx->InputBufferCount == FLFBLOCKSIZE)
430 702799 0 if (ctx->InputBufferCount < FLFBLOCKSIZE)
470 161722 25150 while ((ctx->InputBufferCount & 15) != 0)
493 25150 12575 while (num)
504 50300 12575 while (num)