Branch Coverage

const-c.inc
Criterion Covered Total %
branch 201 346 58.0


line true false branch
31 1 0 if (memEQ(name, "EC_F_EC_KEY_COPY", 16)) {
42 1 0 if (memEQ(name, "EC_R_WRONG_ORDER", 16)) {
53 1 0 if (memEQ(name, "EC_F_EC_WNAF_MUL", 16)) {
78 1 0 if (memEQ(name, "EC_F_EC_POINT_ADD", 17)) {
89 1 0 if (memEQ(name, "EC_F_EC_POINT_CMP", 17)) {
100 1 0 if (memEQ(name, "EC_F_EC_POINT_DBL", 17)) {
111 1 1 if (memEQ(name, "EC_F_EC_KEY_PRINT", 17)) {
120 1 0 if (memEQ(name, "EC_F_PKEY_EC_SIGN", 17)) {
131 1 0 if (memEQ(name, "EC_PKEY_NO_PUBKEY", 17)) {
142 1 1 if (memEQ(name, "EC_F_EC_POINT_MUL", 17)) {
151 1 0 if (memEQ(name, "EC_R_NO_FIELD_MOD", 17)) {
162 1 2 if (memEQ(name, "EC_F_COMPUTE_WNAF", 17)) {
171 1 1 if (memEQ(name, "EC_F_EC_GROUP_NEW", 17)) {
180 1 0 if (memEQ(name, "EC_F_EC_POINT_NEW", 17)) {
191 1 0 if (memEQ(name, "EC_R_INVALID_FORM", 17)) {
202 1 0 if (memEQ(name, "EC_R_DECODE_ERROR", 17)) {
213 1 0 if (memEQ(name, "EC_R_KEYS_NOT_SET", 17)) {
224 1 0 if (memEQ(name, "EC_F_PKEY_EC_CTRL", 17)) {
247 1 0 if (memEQ(name, "EC_R_UNKNOWN_ORDER", 18)) {
258 1 0 if (memEQ(name, "EC_R_INVALID_FIELD", 18)) {
269 1 1 if (memEQ(name, "EC_F_EC_GROUP_COPY", 18)) {
278 1 0 if (memEQ(name, "EC_F_EC_POINT_COPY", 18)) {
289 1 0 if (memEQ(name, "EC_R_UNKNOWN_GROUP", 18)) {
300 1 0 if (memEQ(name, "EC_R_INVALID_CURVE", 18)) {
322 1 0 if (memEQ(name, "EC_F_EC_GROUP_CHECK", 19)) {
333 1 0 if (memEQ(name, "EC_F_PKEY_EC_KEYGEN", 19)) {
344 1 0 if (memEQ(name, "EC_F_PKEY_EC_DERIVE", 19)) {
369 1 1 if (memEQ(name, "EC_F_EC_PRE_COMP_DUP", 20)) {
378 1 0 if (memEQ(name, "EC_R_UNDEFINED_ORDER", 20)) {
389 1 0 if (memEQ(name, "EC_F_EC_POINT_INVERT", 20)) {
400 1 0 if (memEQ(name, "EC_F_DO_EC_KEY_PRINT", 20)) {
411 1 1 if (memEQ(name, "EC_F_I2O_ECPUBLICKEY", 20)) {
420 1 0 if (memEQ(name, "EC_F_O2I_ECPUBLICKEY", 20)) {
431 1 0 if (memEQ(name, "EC_F_EC_PRE_COMP_NEW", 20)) {
442 1 0 if (memEQ(name, "EC_R_FIELD_TOO_LARGE", 20)) {
453 1 0 if (memEQ(name, "EC_R_NOT_IMPLEMENTED", 20)) {
464 1 0 if (memEQ(name, "EC_R_NOT_INITIALIZED", 20)) {
475 1 0 if (memEQ(name, "EC_F_EC_KEY_PRINT_FP", 20)) {
503 1 0 if (memEQ(name, "EC_F_ECP_NIST_MOD_52", 20)) {
514 1 0 if (memEQ(name, "EC_F_ECP_NIST_MOD_19", 20)) {
525 1 0 if (memEQ(name, "EC_F_ECP_NIST_MOD_22", 20)) {
536 1 0 if (memEQ(name, "EC_F_ECP_NIST_MOD_25", 20)) {
547 1 3 if (memEQ(name, "EC_F_ECKEY_PARAM2TYP", 20)) {
556 1 2 if (memEQ(name, "EC_F_ECKEY_PUB_DECOD", 20)) {
565 1 1 if (memEQ(name, "EC_F_ECKEY_PUB_ENCOD", 20)) {
574 1 0 if (memEQ(name, "EC_R_NOT_A_NIST_PRIM", 20)) {
585 1 0 if (memEQ(name, "EC_R_INVALID_ENCODIN", 20)) {
596 1 0 if (memEQ(name, "EC_R_BUFFER_TOO_SMAL", 20)) {
607 1 0 if (memEQ(name, "EC_F_ECKEY_TYPE2PARA", 20)) {
618 1 0 if (memEQ(name, "EC_F_PKEY_EC_PARAMGE", 20)) {
629 1 0 if (memEQ(name, "EC_F_PKEY_EC_CTRL_ST", 20)) {
640 1 2 if (memEQ(name, "EC_F_D2I_ECPARAMETER", 20)) {
649 1 1 if (memEQ(name, "EC_F_I2D_ECPARAMETER", 20)) {
658 1 0 if (memEQ(name, "EC_PKEY_NO_PARAMETER", 20)) {
669 1 0 if (memEQ(name, "EC_R_INVALID_ARGUMEN", 20)) {
680 1 2 if (memEQ(name, "EC_F_D2I_ECPRIVATEKE", 20)) {
689 1 1 if (memEQ(name, "EC_F_EC_KEY_CHECK_KE", 20)) {
698 1 0 if (memEQ(name, "EC_F_I2D_ECPRIVATEKE", 20)) {
721 1 0 if (memEQ(name, "OPENSSL_EC_NAMED_CURVE", 22)) {
732 1 0 if (memEQ(name, "EC_F_ECKEY_PRIV_DECODE", 22)) {
743 1 0 if (memEQ(name, "EC_R_UNSUPPORTED_FIELD", 22)) {
754 1 0 if (memEQ(name, "EC_R_POINT_AT_INFINITY", 22)) {
765 1 0 if (memEQ(name, "EC_F_ECKEY_PRIV_ENCODE", 22)) {
776 1 0 if (memEQ(name, "EC_R_NO_PARAMETERS_SET", 22)) {
801 1 1 if (memEQ(name, "EC_F_I2D_ECPKPARAMETERS", 23)) {
810 1 0 if (memEQ(name, "EC_F_OLD_EC_PRIV_DECODE", 23)) {
821 1 0 if (memEQ(name, "EC_F_D2I_ECPKPARAMETERS", 23)) {
832 1 0 if (memEQ(name, "EC_F_ECKEY_PARAM_DECODE", 23)) {
843 1 0 if (memEQ(name, "EC_R_ASN1_UNKNOWN_FIELD", 23)) {
854 2 0 if (memEQ(name, "POINT_CONVERSION_HYBRID", 23)) {
861 1 0 if (memEQ(name, "EC_F_ECPARAMETERS_PRINT", 23)) {
872 1 0 if (memEQ(name, "EC_R_MISSING_PARAMETERS", 23)) {
883 1 2 if (memEQ(name, "EC_F_EC_GROUP_GET_ORDER", 23)) {
892 1 1 if (memEQ(name, "EC_F_EC_POINT_OCT2POINT", 23)) {
901 1 0 if (memEQ(name, "EC_F_EC_POINT_POINT2OCT", 23)) {
926 1 0 if (memEQ(name, "EC_F_EC_KEY_GENERATE_KEY", 24)) {
937 1 0 if (memEQ(name, "EC_R_UNDEFINED_GENERATOR", 24)) {
948 1 0 if (memEQ(name, "EC_R_MISSING_PRIVATE_KEY", 24)) {
959 1 2 if (memEQ(name, "EC_R_INVALID_DIGEST_TYPE", 24)) {
968 1 1 if (memEQ(name, "EC_R_INVALID_GROUP_ORDER", 24)) {
977 1 0 if (memEQ(name, "EC_R_INVALID_PRIVATE_KEY", 24)) {
988 1 0 if (memEQ(name, "EC_F_EC_GROUP_GET_DEGREE", 24)) {
999 1 0 if (memEQ(name, "EC_F_EC_ASN1_GROUP2CURVE", 24)) {
1010 1 0 if (memEQ(name, "EC_F_EC_EX_DATA_SET_DATA", 24)) {
1034 1 0 if (memEQ(name, "EC_R_DISCRIMINANT_IS_ZERO", 25)) {
1045 1 0 if (memEQ(name, "EC_R_INCOMPATIBLE_OBJECTS", 25)) {
1056 1 0 if (memEQ(name, "EC_F_ECPKPARAMETERS_PRINT", 25)) {
1067 1 0 if (memEQ(name, "EC_F_EC_POINT_IS_ON_CURVE", 25)) {
1078 1 0 if (memEQ(name, "EC_F_EC_POINT_MAKE_AFFINE", 25)) {
1105 1 0 if (memEQ(name, "EC_R_PASSED_NULL_PARAMETER", 26)) {
1116 1 0 if (memEQ(name, "EC_F_ECPARAMETERS_PRINT_FP", 26)) {
1127 1 0 if (memEQ(name, "EC_F_EC_ASN1_GROUP2FIELDID", 26)) {
1138 1 0 if (memEQ(name, "EC_F_EC_POINTS_MAKE_AFFINE", 26)) {
1149 1 0 if (memEQ(name, "EC_F_EC_GROUP_GET_COFACTOR", 26)) {
1160 1 1 if (memEQ(name, "EC_F_EC_GFP_MONT_FIELD_SQR", 26)) {
1169 1 0 if (memEQ(name, "EC_F_EC_GFP_NIST_FIELD_SQR", 26)) {
1180 1 0 if (memEQ(name, "OPENSSL_ECC_MAX_FIELD_BITS", 26)) {
1191 1 1 if (memEQ(name, "EC_F_EC_GFP_MONT_FIELD_MUL", 26)) {
1200 1 0 if (memEQ(name, "EC_F_EC_GFP_NIST_FIELD_MUL", 26)) {
1211 1 0 if (memEQ(name, "EC_R_POINT_IS_NOT_ON_CURVE", 26)) {
1235 1 0 if (memEQ(name, "EC_F_EC_GROUP_SET_GENERATOR", 27)) {
1246 1 0 if (memEQ(name, "EC_F_EC_GROUP_NEW_FROM_DATA", 27)) {
1257 2 0 if (memEQ(name, "POINT_CONVERSION_COMPRESSED", 27)) {
1264 1 1 if (memEQ(name, "EC_F_EC_GROUP_GET_CURVE_GFP", 27)) {
1273 1 0 if (memEQ(name, "EC_F_EC_GROUP_SET_CURVE_GFP", 27)) {
1300 1 0 if (memEQ(name, "EC_R_INVALID_TRINOMIAL_BASIS", 28)) {
1311 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_OCT2POINT", 28)) {
1322 1 0 if (memEQ(name, "EC_F_EC_GROUP_GET0_GENERATOR", 28)) {
1333 1 0 if (memEQ(name, "EC_F_EC_POINT_IS_AT_INFINITY", 28)) {
1344 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_POINT2OCT", 28)) {
1355 1 0 if (memEQ(name, "EC_F_ECPKPARAMETERS_PRINT_FP", 28)) {
1366 1 1 if (memEQ(name, "EC_F_EC_GROUP_GET_CURVE_GF2M", 28)) {
1375 1 0 if (memEQ(name, "EC_F_EC_GROUP_SET_CURVE_GF2M", 28)) {
1386 1 0 if (memEQ(name, "EC_R_INVALID_COMPRESSION_BIT", 28)) {
1397 1 0 if (memEQ(name, "EC_F_EC_GROUP_SET_EXTRA_DATA", 28)) {
1408 1 0 if (memEQ(name, "EC_F_EC_WNAF_PRECOMPUTE_MULT", 28)) {
1434 1 0 if (memEQ(name, "EC_F_EC_GF2M_SIMPLE_OCT2POINT", 29)) {
1445 1 1 if (memEQ(name, "EC_F_EC_GFP_MONT_FIELD_DECODE", 29)) {
1454 1 0 if (memEQ(name, "EC_F_EC_GFP_MONT_FIELD_ENCODE", 29)) {
1465 1 0 if (memEQ(name, "EC_R_INVALID_COMPRESSED_POINT", 29)) {
1476 1 0 if (memEQ(name, "EC_F_EC_POINT_SET_TO_INFINITY", 29)) {
1487 2 0 if (memEQ(name, "POINT_CONVERSION_UNCOMPRESSED", 29)) {
1494 1 0 if (memEQ(name, "EC_F_EC_GF2M_SIMPLE_POINT2OCT", 29)) {
1505 1 1 if (memEQ(name, "EC_F_EC_ASN1_GROUP2PARAMETERS", 29)) {
1514 1 0 if (memEQ(name, "EC_F_EC_ASN1_PARAMETERS2GROUP", 29)) {
1525 1 0 if (memEQ(name, "EC_F_EC_GROUP_PRECOMPUTE_MULT", 29)) {
1550 1 0 if (memEQ(name, "EC_R_GROUP2PKPARAMETERS_FAILURE", 31)) {
1561 1 0 if (memEQ(name, "EC_R_PKPARAMETERS2GROUP_FAILURE", 31)) {
1572 1 1 if (memEQ(name, "EC_R_D2I_ECPKPARAMETERS_FAILURE", 31)) {
1581 1 0 if (memEQ(name, "EC_R_I2D_ECPKPARAMETERS_FAILURE", 31)) {
1592 1 1 if (memEQ(name, "EC_F_EC_ASN1_GROUP2PKPARAMETERS", 31)) {
1601 1 0 if (memEQ(name, "EC_F_EC_ASN1_PKPARAMETERS2GROUP", 31)) {
1612 1 0 if (memEQ(name, "EC_F_EC_GROUP_NEW_BY_CURVE_NAME", 31)) {
1623 1 0 if (memEQ(name, "EC_R_NOT_A_SUPPORTED_NIST_PRIME", 31)) {
1646 1 0 if (memEQ(name, "EC_F_EC_GFP_MONT_GROUP_SET_CURVE", 32)) {
1657 1 0 if (memEQ(name, "EC_F_EC_GFP_NIST_GROUP_SET_CURVE", 32)) {
1668 1 0 if (memEQ(name, "EC_F_EC_GROUP_CHECK_DISCRIMINANT", 32)) {
1691 1 0 if (memEQ(name, "EC_F_EC_GFP_MONT_FIELD_SET_TO_ONE", 33)) {
1702 1 0 if (memEQ(name, "EC_F_EC_GROUP_GET_TRINOMIAL_BASIS", 33)) {
1713 1 0 if (memEQ(name, "EC_R_EC_GROUP_NEW_BY_NAME_FAILURE", 33)) {
1736 1 0 if (memEQ(name, "EVP_PKEY_CTRL_EC_PARAMGEN_CURVE_NID", 35)) {
1747 1 0 if (memEQ(name, "EC_F_EC_GROUP_GET_PENTANOMIAL_BASIS", 35)) {
1758 1 0 if (memEQ(name, "EC_F_EC_GF2M_SIMPLE_GROUP_SET_CURVE", 35)) {
1782 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_GROUP_SET_GENERATOR", 38)) {
1793 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_GROUP_SET_CURVE_GFP", 38)) {
1804 1 0 if (memEQ(name, "EC_F_EC_GF2M_MONTGOMERY_POINT_MULTIPLY", 38)) {
1829 1 0 if (memEQ(name, "EC_F_EC_POINT_SET_COMPRESSED_COORDINATES_GF2M", 45)) {
1840 1 1 if (memEQ(name, "EC_F_EC_POINT_GET_JPROJECTIVE_COORDINATES_GFP", 45)) {
1849 1 0 if (memEQ(name, "EC_F_EC_POINT_SET_JPROJECTIVE_COORDINATES_GFP", 45)) {
1860 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_SET_COMPRESSED_COORDINATES", 45)) {
1998 1 0 if (memEQ(name, "EC_R_SLOT_FULL", 14)) {
2013 1 0 if (memEQ(name, "EC_R_ASN1_ERROR", 15)) {
2024 1 0 if (memEQ(name, "EC_F_EC_KEY_NEW", 15)) {
2084 1 0 if (memEQ(name, "EC_R_INVALID_PENTANOMIAL_BASIS", 30)) {
2095 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_MAKE_AFFINE", 30)) {
2117 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_GROUP_SET_CURVE", 34)) {
2130 1 0 if (memEQ(name, "EC_F_EC_GFP_MONT_GROUP_SET_CURVE_GFP", 36)) {
2140 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_POINTS_MAKE_AFFINE", 37)) {
2159 1 0 if (memEQ(name, "EC_F_EC_POINT_GET_AFFINE_COORDINATES_GFP", 40)) {
2170 1 0 if (memEQ(name, "EC_F_EC_POINT_SET_AFFINE_COORDINATES_GFP", 40)) {
2189 1 0 if (memEQ(name, "EC_F_EC_POINT_GET_AFFINE_COORDINATES_GF2M", 41)) {
2200 1 0 if (memEQ(name, "EC_F_EC_POINT_SET_AFFINE_COORDINATES_GF2M", 41)) {
2213 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_GROUP_CHECK_DISCRIMINANT", 43)) {
2229 1 0 if (memEQ(name, "EC_F_EC_GF2M_SIMPLE_GROUP_CHECK_DISCRIMINANT", 44)) {
2240 1 0 if (memEQ(name, "EC_F_EC_POINT_SET_COMPRESSED_COORDINATES_GFP", 44)) {
2256 1 0 if (memEQ(name, "EC_F_EC_GF2M_SIMPLE_SET_COMPRESSED_COORDINATES", 46)) {
2272 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_POINT_GET_AFFINE_COORDINATES", 47)) {
2283 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_POINT_SET_AFFINE_COORDINATES", 47)) {
2302 1 0 if (memEQ(name, "EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES", 48)) {
2313 1 0 if (memEQ(name, "EC_F_EC_GF2M_SIMPLE_POINT_SET_AFFINE_COORDINATES", 48)) {
2326 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_SET_COMPRESSED_COORDINATES_GFP", 49)) {
2342 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_POINT_GET_AFFINE_COORDINATES_GFP", 51)) {
2353 1 0 if (memEQ(name, "EC_F_EC_GFP_SIMPLE_POINT_SET_AFFINE_COORDINATES_GFP", 51)) {