Branch Coverage

_rijndael.c
Criterion Covered Total %
branch 101 104 97.1


line true false branch
274 13 546 b = (a & 0x80) ? 0x1b : 0;
283 60672 0 if (a && b) return Alogtable[(Logtable[a] + Logtable[b])%255];
60268 404 if (a && b) return Alogtable[(Logtable[a] + Logtable[b])%255];
293 3792 948 for(j = 0; j < 4; j++) {
294 15168 3792 for(i = 0; i < 4; i++) {
301 3792 948 for(i = 0; i < 4; i++) {
303 15168 3792 for(j = 0; j < 4; j++)
315 63 13 if (keysize >= 32) {
318 6 7 } else if (keysize >= 24) {
329 568 76 for (i=0; i
334 3832 76 for (i=nk; i
336 559 3273 if (i % nk == 0) {
339 2835 438 } else if (nk > 6 && (i%nk) == 4) {
378 2457 } else if (nk > 6 && (i%nk) == 4) {
345 304 76 for (i=0; i<4; i++) {
349 948 76 for (i=4; i
362 7624 1906 for (i=0; i<4; i++) {
364 30496 7624 for (j=0; j<4; j++)
375 98040 24510 for (i=0; i<4; i++)
387 7624 1906 for (i=0; i<4; i++) {
389 30496 7624 for (j=0; j<4; j++)
410 19229 1495 for (r=1; rnrounds; r++) {
411 76916 19229 for (j=0; j<4; j++) {
421 5980 1495 for (j=0; j<4; j++) {
428 5980 1495 for (j=0; j<4; j++)
449 5281 411 for (r=ctx->nrounds-1; r> 0; r--) {
450 21124 5281 for (j=0; j<4; j++) {
460 1644 411 for (j=0; j<4; j++) {
467 1644 411 for (j=0; j<4; j++)
483 215 18 for (i = 0; i
491 196 16 for (i=0; i< nblocks; i++) {
492 3136 196 for (j=0; j
500 168 14 for (i=0; i
502 2688 168 for (j=0; j
509 180 14 for (i=0; i
511 2880 180 for (j=0; j
519 194 14 for (i=0; i
521 3104 194 for (j=0; j
527 197 0 for (j=RIJNDAEL_BLOCKSIZE-2; j>=0; j--) {
528 3 194 if (carry_flg) {
551 215 18 for (i = 0; i
560 256 16 for (i=0; i
562 180 16 for (i=1; i
564 2880 180 for (j=0; j
572 168 14 for (i=0; i
574 2688 168 for (j=0; j
585 180 14 for (i=0; i
587 2880 180 for (j=0; j
595 194 14 for (i=0; i
597 3104 194 for (j=0; j
603 197 0 for (j=RIJNDAEL_BLOCKSIZE-2; j>=0; j--) {
604 3 194 if (carry_flg) {