Home
last modified time | relevance | path

Searched refs:ec_group (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/self_check/
Dself_check.c468 EC_GROUP *ec_group = NULL; in boringssl_fips_self_test() local
640 ec_group = EC_GROUP_new_by_curve_name(NID_X9_62_prime256v1); in boringssl_fips_self_test()
641 if (ec_group == NULL) { in boringssl_fips_self_test()
645 ec_point_in = EC_POINT_new(ec_group); in boringssl_fips_self_test()
646 ec_point_out = EC_POINT_new(ec_group); in boringssl_fips_self_test()
650 !EC_POINT_oct2point(ec_group, ec_point_in, kP256Point, sizeof(kP256Point), in boringssl_fips_self_test()
653 !EC_POINT_mul(ec_group, ec_point_out, NULL, ec_point_in, ec_scalar, in boringssl_fips_self_test()
655 !EC_POINT_point2oct(ec_group, ec_point_out, POINT_CONVERSION_UNCOMPRESSED, in boringssl_fips_self_test()
705 EC_GROUP_free(ec_group); in boringssl_fips_self_test()
/external/boringssl/src/crypto/fipsmodule/self_check/
Dself_check.c616 EC_GROUP *ec_group = NULL; in boringssl_fips_self_test() local
794 ec_group = EC_GROUP_new_by_curve_name(NID_X9_62_prime256v1); in boringssl_fips_self_test()
795 if (ec_group == NULL) { in boringssl_fips_self_test()
799 ec_point_in = EC_POINT_new(ec_group); in boringssl_fips_self_test()
800 ec_point_out = EC_POINT_new(ec_group); in boringssl_fips_self_test()
804 !EC_POINT_oct2point(ec_group, ec_point_in, kP256Point, sizeof(kP256Point), in boringssl_fips_self_test()
807 !EC_POINT_mul(ec_group, ec_point_out, NULL, ec_point_in, ec_scalar, in boringssl_fips_self_test()
809 !EC_POINT_point2oct(ec_group, ec_point_out, POINT_CONVERSION_UNCOMPRESSED, in boringssl_fips_self_test()
893 EC_GROUP_free(ec_group); in boringssl_fips_self_test()
/external/openssh/
Dkexecdh.c81 kex->ec_group = group; in kex_ecdh_keypair()
206 kex->ec_group, shared_secretp); in kex_ecdh_dec()
Dkex.h168 const EC_GROUP *ec_group; /* ECDH */ member