Branch Coverage

micro-ecc/curve-specific.inc
Criterion Covered Total %
branch 0 54 0.0


line true false branch
59 0 0 if (uECC_vli_isZero(Z1, num_words)) {
76 0 0 if (uECC_vli_testBit(X1, 0)) {
122 0 0 for (i = uECC_vli_numBits(p1, num_words) - 1; i > 1; --i) {
124 0 0 if (uECC_vli_testBit(p1, i)) {
196 0 0 while (uECC_vli_cmp_unsafe(result, curve_secp160r1.p, num_words_secp160r1) > 0) {
207 0 0 for (i = 0; i < num_words_secp160r1; ++i) {
210 0 0 carry = (tmp >> 33) + (result[i] < tmp || (carry && result[i] == tmp));
0 0 carry = (tmp >> 33) + (result[i] < tmp || (carry && result[i] == tmp));
0 0 carry = (tmp >> 33) + (result[i] < tmp || (carry && result[i] == tmp));
396 0 0 while (carry || uECC_vli_cmp_unsafe(curve_secp192r1.p, result, num_words_secp192r1) != 1) {
0 0 while (carry || uECC_vli_cmp_unsafe(curve_secp192r1.p, result, num_words_secp192r1) != 1) {
484 0 0 for (i = 1; i <= j; i++) {
532 0 0 for (i = 0; i <= 6; i++) {
556 0 0 for (i = 1; i <= 95; i++) {
561 0 0 if (uECC_vli_isZero(d1, num_words_secp224r1)) { /* if d1 == 0 */
715 0 0 if (carry < 0) {
718 0 0 } while (carry < 0);
720 0 0 while (uECC_vli_cmp_unsafe(curve_secp224r1.p, result, num_words_secp224r1) != 1) {
1045 0 0 if (carry < 0) {
1048 0 0 } while (carry < 0);
1050 0 0 while (carry || uECC_vli_cmp_unsafe(curve_secp256r1.p, result, num_words_secp256r1) != 1) {
0 0 while (carry || uECC_vli_cmp_unsafe(curve_secp256r1.p, result, num_words_secp256r1) != 1) {
1118 0 0 if (uECC_vli_isZero(Z1, num_words_secp256k1)) {
1130 0 0 if (uECC_vli_testBit(Y1, 0)) {
1171 0 0 while (carry > 0) {
1175 0 0 if (uECC_vli_cmp_unsafe(result, curve_secp256k1.p, num_words_secp256k1) > 0) {
1234 0 0 for (k = 0; k < num_words_secp256k1; ++k) {