Branch Coverage

src/rsa/rsa_i31_pubexp.c
Criterion Covered Total %
branch 0 30 0.0


line true false branch
55 0 0 while (plen > 0 && *pbuf == 0) {
0 0 while (plen > 0 && *pbuf == 0) {
59 0 0 if (plen == 0 || plen < 5 || plen > (BR_MAX_RSA_FACTOR / 8)) {
0 0 if (plen == 0 || plen < 5 || plen > (BR_MAX_RSA_FACTOR / 8)) {
0 0 if (plen == 0 || plen < 5 || plen > (BR_MAX_RSA_FACTOR / 8)) {
67 0 0 while (dplen > 0 && *dpbuf == 0) {
0 0 while (dplen > 0 && *dpbuf == 0) {
71 0 0 if (dplen > plen || dplen == 0
0 0 if (dplen > plen || dplen == 0
72 0 0 || (dplen == plen && dpbuf[0] > pbuf[0]))
0 0 || (dplen == plen && dpbuf[0] > pbuf[0]))
80 0 0 if ((pbuf[plen - 1] & 3) != 3 || (dpbuf[dplen - 1] & 1) != 1) {
0 0 if ((pbuf[plen - 1] & 3) != 3 || (dpbuf[dplen - 1] & 1) != 1) {
112 0 0 if (br_i31_sub(dp, p, 0) == 0) {
123 0 0 if (br_i31_moddiv(x, dp, p, br_i31_ninv31(p[1]), x + len) == 0) {