Home
last modified time | relevance | path

Searched refs:EVP_PKEY_EC (Results 1 – 25 of 27) sorted by relevance

12

/external/boringssl/src/crypto/evp/
Devp_extra_test.cc466 TestValidPrivateKey(kExampleECKeyDER, sizeof(kExampleECKeyDER), EVP_PKEY_EC); in TEST()
468 EVP_PKEY_EC); in TEST()
470 sizeof(kExampleECKeySpecifiedCurvePKCS8), EVP_PKEY_EC); in TEST()
525 ParsePrivateKey(EVP_PKEY_EC, kExampleECKeyDER, sizeof(kExampleECKeyDER))); in TEST()
527 EXPECT_FALSE(ParsePrivateKey(EVP_PKEY_EC, kExampleBadECKeyDER, in TEST()
535 EXPECT_FALSE(ParsePrivateKey(EVP_PKEY_EC, copy.data(), copy.size())); in TEST()
539 EXPECT_FALSE(ParsePrivateKey(EVP_PKEY_EC, kExampleRSAKeyPKCS8, in TEST()
Devp.c197 case EVP_PKEY_EC: in evp_pkey_asn1_find()
281 return EVP_PKEY_assign(pkey, EVP_PKEY_EC, key); in EVP_PKEY_assign_EC_KEY()
285 if (pkey->type != EVP_PKEY_EC) { in EVP_PKEY_get0_EC_KEY()
Devp_asn1.c202 case EVP_PKEY_EC: { in old_priv_decode()
315 return d2i_PrivateKey(EVP_PKEY_EC, out, inp, len); in d2i_AutoPrivateKey()
331 case EVP_PKEY_EC: in i2d_PublicKey()
Dp_ec.c225 EVP_PKEY_EC,
Dp_ec_asn1.c235 EVP_PKEY_EC,
Devp_test.cc112 return EVP_PKEY_EC; in GetKeyType()
Dprint.c439 EVP_PKEY_EC,
/external/boringssl/src/ssl/
Dssl_privkey.cc75 return key_type == EVP_PKEY_RSA || key_type == EVP_PKEY_EC || in ssl_is_key_type_supported()
118 {SSL_SIGN_ECDSA_SHA1, EVP_PKEY_EC, NID_undef, &EVP_sha1, 0},
119 {SSL_SIGN_ECDSA_SECP256R1_SHA256, EVP_PKEY_EC, NID_X9_62_prime256v1,
121 {SSL_SIGN_ECDSA_SECP384R1_SHA384, EVP_PKEY_EC, NID_secp384r1, &EVP_sha384,
123 {SSL_SIGN_ECDSA_SECP521R1_SHA512, EVP_PKEY_EC, NID_secp521r1, &EVP_sha512,
157 if (alg->pkey_type == EVP_PKEY_EC && in pkey_supports_algorithm()
Dssl_cert.cc274 if (pubkey->type == EVP_PKEY_EC && in check_leaf_cert_and_privkey()
768 if (EVP_PKEY_id(pkey) == EVP_PKEY_EC) { in ssl_check_leaf_certificate()
Dssl_cipher.cc1380 case EVP_PKEY_EC: in ssl_cipher_auth_mask_for_key()
Dt1_lib.cc3448 case EVP_PKEY_EC: in tls1_get_legacy_signature_algorithm()
/external/boringssl/src/crypto/x509/
Di2d_pr.c71 case EVP_PKEY_EC: in i2d_PrivateKey()
Dx509_req.c135 if (k->type == EVP_PKEY_EC) { in X509_REQ_check_private_key()
Dx509_cmp.c359 if (pkey && pkey->type == EVP_PKEY_EC) in check_suite_b()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLECKeyFactory.java53 … return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_EC); in engineGeneratePublic()
69 NativeConstants.EVP_PKEY_EC); in engineGeneratePrivate()
DOpenSSLKey.java266 case NativeConstants.EVP_PKEY_EC: in getPublicKey()
299 case NativeConstants.EVP_PKEY_EC: in getPrivateKey()
DOpenSSLSignatureRawECDSA.java62 if (pkeyType != NativeConstants.EVP_PKEY_EC) { in verifyKey()
DOpenSSLSignature.java186 if (pkeyType != NativeConstants.EVP_PKEY_EC) { in checkEngineType()
/external/conscrypt/constants/src/gen/cpp/
Dgenerate_constants.cc56 CONST(EVP_PKEY_EC); in main()
/external/boringssl/src/crypto/pem/
Dpem_pkey.c133 ret = d2i_PrivateKey(EVP_PKEY_EC, x, &p, len); in PEM_read_bio_PrivateKey()
Dpem_info.c214 ptype = EVP_PKEY_EC; in STACK_OF()
/external/boringssl/src/include/openssl/
Devp.h173 #define EVP_PKEY_EC NID_X9_62_id_ecPublicKey macro
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1715 pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_EC, NULL); in crypto_ecdh_init()
/external/curl/lib/vtls/
Dopenssl.c2938 case EVP_PKEY_EC: /* symbol not present in OpenSSL 0.9.6 */ in get_cert_chain()
/external/wpa_supplicant_8/src/common/
Ddpp.c792 if (EVP_PKEY_type(EVP_PKEY_id(pkey)) != EVP_PKEY_EC) { in dpp_parse_uri_pk()
1015 pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_EC, NULL); in dpp_gen_keypair()

12