Branch Coverage

inc/matrixssl-3-9-3-open/crypto/math/pstm_montgomery_reduce.c
Criterion Covered Total %
branch 22 30 73.3


line true false branch
341 0 12819826 if (pa > a->alloc)
348 12819826 0 if (paD && paDlen >= cSize)
12819826 0 if (paD && paDlen >= cSize)
356 0 0 if (c == NULL)
367 216845201 12819826 for (x = 0; x < oldused; x++)
374 115348884 12819826 for (x = 0; x < pa; x++)
383 115325244 115348884 for (; y < (pa & ~7); y += 8)
390 115419804 115348884 for (; y < pa; y++)
396 114895221 115348884 while (cy)
405 128168710 12819826 for (x = 0; x < pa + 1; x++)
410 89037974 12819826 for (; x < oldused; x++)
424 1637 12818189 if (pstm_cmp_mag(a, m) != PSTM_LT)
426 0 1637 if (pstm_sub_s(a, m, a) != PSTM_OKAY)
431 12819826 0 if (c && c != paD)
0 12819826 if (c && c != paD)