Branch Coverage

src/chacha/chacha.c
Criterion Covered Total %
branch 16 22 72.7


line true false branch
66 12 0 if (kbits == 256) { /* recommended */
85 6 6 x->input[12] = counter == NULL ? 0 : U8TO32_LITTLE(counter + 0);
86 6 6 x->input[13] = counter == NULL ? 0 : U8TO32_LITTLE(counter + 4);
100 0 12 if (!bytes) return;
120 12 0 if (bytes < 64) {
121 240 12 for (i = 0;i < bytes;++i) tmp[i] = m[i];
142 120 12 for (i = 20;i > 0;i -= 2) {
187 0 12 if (!j12) {
209 12 0 if (bytes <= 64) {
210 12 0 if (bytes < 64) {
211 240 12 for (i = 0;i < bytes;++i) ctarget[i] = c[i];