Branch Coverage

_rijndael.c
Criterion Covered Total %
branch 101 104 97.1


line true false branch
275 13 546 b = (a & 0x80) ? 0x1b : 0;
284 60672 0 if (a && b) return Alogtable[(Logtable[a] + Logtable[b])%255];
60240 432 if (a && b) return Alogtable[(Logtable[a] + Logtable[b])%255];
294 3792 948 for(j = 0; j < 4; j++) {
295 15168 3792 for(i = 0; i < 4; i++) {
302 3792 948 for(i = 0; i < 4; i++) {
304 15168 3792 for(j = 0; j < 4; j++)
316 63 13 if (keysize >= 32) {
319 6 7 } else if (keysize >= 24) {
330 568 76 for (i=0; i
335 3832 76 for (i=nk; i
337 559 3273 if (i % nk == 0) {
340 2835 438 } else if (nk > 6 && (i%nk) == 4) {
378 2457 } else if (nk > 6 && (i%nk) == 4) {
346 304 76 for (i=0; i<4; i++) {
350 948 76 for (i=4; i
363 7016 1754 for (i=0; i<4; i++) {
365 28064 7016 for (j=0; j<4; j++)
376 90136 22534 for (i=0; i<4; i++)
388 7016 1754 for (i=0; i<4; i++) {
390 28064 7016 for (j=0; j<4; j++)
411 18189 1415 for (r=1; rnrounds; r++) {
412 72756 18189 for (j=0; j<4; j++) {
422 5660 1415 for (j=0; j<4; j++) {
429 5660 1415 for (j=0; j<4; j++)
450 4345 339 for (r=ctx->nrounds-1; r> 0; r--) {
451 17380 4345 for (j=0; j<4; j++) {
461 1356 339 for (j=0; j<4; j++) {
468 1356 339 for (j=0; j<4; j++)
484 185 18 for (i = 0; i
492 154 16 for (i=0; i< nblocks; i++) {
493 2464 154 for (j=0; j
501 170 14 for (i=0; i
503 2720 170 for (j=0; j
510 212 14 for (i=0; i
512 3392 212 for (j=0; j
520 156 14 for (i=0; i
522 2496 156 for (j=0; j
528 159 0 for (j=RIJNDAEL_BLOCKSIZE-2; j>=0; j--) {
529 3 156 if (carry_flg) {
552 185 18 for (i = 0; i
561 256 16 for (i=0; i
563 138 16 for (i=1; i
565 2208 138 for (j=0; j
573 170 14 for (i=0; i
575 2720 170 for (j=0; j
586 212 14 for (i=0; i
588 3392 212 for (j=0; j
596 156 14 for (i=0; i
598 2496 156 for (j=0; j
604 159 0 for (j=RIJNDAEL_BLOCKSIZE-2; j>=0; j--) {
605 3 156 if (carry_flg) {