Branch Coverage

_sha1.c
Criterion Covered Total %
branch 22 32 68.7


line true false branch
54 128 8 for (t = 0; t < 16; t++) {
60 512 8 for (t = 16; t < 80; t++) {
70 160 8 for (t = 0; t < 20; t++) {
81 160 8 for (t = 20; t < 40; t++) {
90 160 8 for (t = 40; t < 60; t++) {
100 160 8 for (t = 60; t < 80; t++) {
130 0 8 if (index) {
133 0 0 if (size < left) return;
140 0 8 while (size >= sha1_block_size) {
142 0 0 if (IS_ALIGNED_32(msg)) {
155 8 0 if (size) {
174 12 8 while ((index & 3) != 0) {
180 0 8 if (index > 14) {
182 0 0 while (index < 16) {
188 78 8 while (index < 14) {
195 6 2 if (result) be32_copy(result, 0, &ctx->hash, sha1_hash_size);