Branch Coverage

src/ec/ec_keygen.c
Criterion Covered Total %
branch 13 22 59.0


line true false branch
38 4 0 if (curve < 0 || curve >= 32
4 0 if (curve < 0 || curve >= 32
39 0 4 || ((impl->supported_curves >> curve) & 1) == 0)
44 4 0 while (len > 0 && *order == 0) {
0 4 while (len > 0 && *order == 0) {
48 2 2 if (kbuf == NULL || len == 0) {
0 2 if (kbuf == NULL || len == 0) {
71 64 2 while (u -- > 0) {
75 2 0 if (cc != 0 && zz != 0) {
2 0 if (cc != 0 && zz != 0) {
80 2 0 if (sk != NULL) {