Branch Coverage

include/horus_sha1.h
Criterion Covered Total %
branch 24 26 92.3


line true false branch
32 80 5 for (t = 0; t < 16; t++)
34 320 5 for (t = 16; t < 80; t++)
39 100 5 for (t = 0; t < 20; t++) {
44 100 5 for (t = 20; t < 40; t++) {
49 100 5 for (t = 40; t < 60; t++) {
54 100 5 for (t = 60; t < 80; t++) {
81 15 5 if (index) {
83 5 10 if (len >= part_len) {
94 0 10 while (len >= 64) {
100 5 5 if (len)
115 40 5 for (i = 0; i < 8; i++)
120 5 0 horus_sha1_update(ctx, padding, (index < 56) ? (56 - index) : (120 - index));
126 25 5 for (i = 0; i < 5; i++) {