Home
last modified time | relevance | path

Searched refs:EVP_PKEY_EC (Results 1 – 25 of 34) 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()
665 bssl::UniquePtr<EVP_PKEY_CTX> ctx(EVP_PKEY_CTX_new_id(EVP_PKEY_EC, nullptr)); in TEST()
687 ctx.reset(EVP_PKEY_CTX_new_id(EVP_PKEY_EC, nullptr)); 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.c211 case EVP_PKEY_EC: { in old_priv_decode()
324 return d2i_PrivateKey(EVP_PKEY_EC, out, inp, len); in d2i_AutoPrivateKey()
340 case EVP_PKEY_EC: in i2d_PublicKey()
Dp_ec.c258 EVP_PKEY_EC,
276 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_TYPE_GEN, in EVP_PKEY_CTX_set_ec_paramgen_curve_nid()
Dp_ec_asn1.c229 EVP_PKEY_EC,
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()
116 {SSL_SIGN_ECDSA_SHA1, EVP_PKEY_EC, NID_undef, &EVP_sha1, false},
117 {SSL_SIGN_ECDSA_SECP256R1_SHA256, EVP_PKEY_EC, NID_X9_62_prime256v1,
119 {SSL_SIGN_ECDSA_SECP384R1_SHA384, EVP_PKEY_EC, NID_secp384r1, &EVP_sha384,
121 {SSL_SIGN_ECDSA_SECP521R1_SHA512, EVP_PKEY_EC, NID_secp521r1, &EVP_sha512,
161 if (alg->pkey_type == EVP_PKEY_EC && in pkey_supports_algorithm()
513 {EVP_PKEY_EC, NID_sha1, SSL_SIGN_ECDSA_SHA1},
514 {EVP_PKEY_EC, NID_sha256, SSL_SIGN_ECDSA_SECP256R1_SHA256},
515 {EVP_PKEY_EC, NID_sha384, SSL_SIGN_ECDSA_SECP384R1_SHA384},
516 {EVP_PKEY_EC, NID_sha512, SSL_SIGN_ECDSA_SECP521R1_SHA512},
[all …]
Dssl_cert.cc248 if (pubkey->type == EVP_PKEY_EC && in check_leaf_cert_and_privkey()
713 if (EVP_PKEY_id(pkey) == EVP_PKEY_EC) { in ssl_check_leaf_certificate()
/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/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLECKeyFactory.java57 … return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_EC); in engineGeneratePublic()
73 NativeConstants.EVP_PKEY_EC); in engineGeneratePrivate()
DOpenSSLKey.java271 case NativeConstants.EVP_PKEY_EC: in getPublicKey()
304 case NativeConstants.EVP_PKEY_EC: in getPrivateKey()
DOpenSSLSignatureRawECDSA.java66 if (pkeyType != NativeConstants.EVP_PKEY_EC) { in verifyKey()
DSSLUtils.java253 case NativeConstants.EVP_PKEY_EC: in getClientKeyTypeFromSignatureAlg()
DOpenSSLSignature.java187 if (pkeyType != NativeConstants.EVP_PKEY_EC) { in checkEngineType()
/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()
DSSLUtils.java252 case NativeConstants.EVP_PKEY_EC: in getClientKeyTypeFromSignatureAlg()
DOpenSSLSignature.java184 if (pkeyType != NativeConstants.EVP_PKEY_EC) { in checkEngineType()
/external/conscrypt/constants/src/gen/cpp/
Dgenerate_constants.cc62 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.c194 key_type = EVP_PKEY_EC; in STACK_OF()
/external/boringssl/src/include/openssl/
Devp.h187 #define EVP_PKEY_EC NID_X9_62_id_ecPublicKey macro

12