Searched refs:crv_len (Results 1 – 4 of 4) sorted by relevance
/openssl/test/ |
H A D | ecdsatest.c | 31 static size_t crv_len = 0; variable 401 crv_len = EC_get_builtin_curves(NULL, 0); in setup_tests() 402 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len)) in setup_tests() 403 || !TEST_true(EC_get_builtin_curves(curves, crv_len))) { in setup_tests() 407 ADD_ALL_TESTS(test_builtin_as_ec, crv_len); in setup_tests() 410 ADD_ALL_TESTS(test_builtin_as_sm2, crv_len); in setup_tests()
|
H A D | ec_internal_test.c | 22 static size_t crv_len = 0; variable 551 crv_len = EC_get_builtin_curves(NULL, 0); in setup_tests() 552 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len)) in setup_tests() 553 || !TEST_true(EC_get_builtin_curves(curves, crv_len))) in setup_tests() 562 ADD_ALL_TESTS(field_tests_default, crv_len); in setup_tests() 568 ADD_ALL_TESTS(ecpkparams_i2d2i_test, crv_len); in setup_tests()
|
H A D | ectest.c | 35 static size_t crv_len = 0; variable 3124 crv_len = EC_get_builtin_curves(NULL, 0); in setup_tests() 3126 || !TEST_true(EC_get_builtin_curves(curves, crv_len))) in setup_tests() 3132 ADD_ALL_TESTS(cardinality_test, crv_len); in setup_tests() 3140 ADD_ALL_TESTS(internal_curve_test, crv_len); in setup_tests() 3141 ADD_ALL_TESTS(internal_curve_test_method, crv_len); in setup_tests() 3143 ADD_ALL_TESTS(check_named_curve_test, crv_len); in setup_tests() 3144 ADD_ALL_TESTS(check_named_curve_lookup_test, crv_len); in setup_tests() 3147 ADD_ALL_TESTS(ec_point_hex2point_test, crv_len); in setup_tests() 3148 ADD_ALL_TESTS(custom_generator_test, crv_len); in setup_tests() [all …]
|
/openssl/apps/ |
H A D | ecparam.c | 72 size_t n, crv_len = EC_get_builtin_curves(NULL, 0); in list_builtin_curves() local 74 curves = app_malloc((int)sizeof(*curves) * crv_len, "list curves"); in list_builtin_curves() 75 if (!EC_get_builtin_curves(curves, crv_len)) in list_builtin_curves() 78 for (n = 0; n < crv_len; n++) { in list_builtin_curves()
|
Completed in 23 milliseconds