Branch Coverage

inc/matrixssl-3-9-3-open/crypto/keyformat/asn1fmt.c
Criterion Covered Total %
branch 0 66 0.0


line true false branch
56 0 0 if (n <= a)
80 0 0 for (j = t_bcdbytes; j-- > 0; )
87 0 0 for (i = v_bits; i-- > 0; )
91 0 0 for (j = t_bcdbytes; j-- > 0; )
98 0 0 if (i == 0)
102 0 0 for (j = t_bcdbytes; j-- > 0; )
115 0 0 if ((t_bytes & 1) == 1)
119 0 0 for (j = t_bytes; j-- > 0; )
121 0 0 if (j & 1)
133 0 0 for (j = t_bytes; j-- > 0; )
135 0 0 if (j & 1)
163 0 0 if (*oid < 128)
168 0 0 else if (*oid == 128)
177 0 0 while (pos < oidlen)
182 0 0 if (*oid < 128)
184 0 0 if (pos < 8)
189 0 0 else if (pos < OID_STR_MAX_SEQ_LEN)
207 0 0 while (plen < ilen && plen < ilen - 1 && s[plen] == '0')
0 0 while (plen < ilen && plen < ilen - 1 && s[plen] == '0')
0 0 while (plen < ilen && plen < ilen - 1 && s[plen] == '0')
234 0 0 for (i = l; i-- > 0; )
237 0 0 if (s[i] < '0')
259 0 0 if (oidlen < 3 || oidlen > 129 || oid[0] != 0x06 || oid[1] != oidlen - 2)
0 0 if (oidlen < 3 || oidlen > 129 || oid[0] != 0x06 || oid[1] != oidlen - 2)
0 0 if (oidlen < 3 || oidlen > 129 || oid[0] != 0x06 || oid[1] != oidlen - 2)
0 0 if (oidlen < 3 || oidlen > 129 || oid[0] != 0x06 || oid[1] != oidlen - 2)
263 0 0 if (oid[2] < 120)
277 0 0 if (bytes < 2)
283 0 0 for (i = 0; i < 8; i++)
289 0 0 while (strlen(s + 2) && s[2] == '0')
0 0 while (strlen(s + 2) && s[2] == '0')
301 0 0 while (oidlen > 0)
304 0 0 if (bytes == 0)