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()
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()
Devp.c204 case EVP_PKEY_EC: in evp_pkey_asn1_find()
286 return EVP_PKEY_assign(pkey, EVP_PKEY_EC, key); in EVP_PKEY_assign_EC_KEY()
290 if (pkey->type != EVP_PKEY_EC) { in EVP_PKEY_get0_EC_KEY()
Dp_ec.c225 EVP_PKEY_EC,
Dp_ec_asn1.c235 EVP_PKEY_EC,
Devp_test.cc108 return EVP_PKEY_EC; in GetKeyType()
Dprint.c470 EVP_PKEY_EC,
/external/boringssl/src/crypto/x509/
Di2d_pr.c71 case EVP_PKEY_EC: in i2d_PrivateKey()
Dx509type.c86 case EVP_PKEY_EC: in X509_certificate_type()
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.java260 case NativeConstants.EVP_PKEY_EC: in getPublicKey()
293 case NativeConstants.EVP_PKEY_EC: in getPrivateKey()
DOpenSSLSignature.java186 if (pkeyType != NativeConstants.EVP_PKEY_EC) { in checkEngineType()
/external/conscrypt/constants/src/gen/cpp/
Dgenerate_constants.cpp70 CONST(EVP_PKEY_EC); in main()
/external/boringssl/src/crypto/pem/
Dpem_pkey.c132 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/ssl/
Dssl_privkey.c72 return key_type == EVP_PKEY_RSA || key_type == EVP_PKEY_EC; in ssl_is_key_type_supported()
320 case EVP_PKEY_EC: in ssl_private_key_type()
Dssl_cert.c282 if (pubkey->type == EVP_PKEY_EC && in check_leaf_cert_and_privkey()
Dssl_cipher.c1837 return EVP_PKEY_EC; in ssl_cipher_get_key_type()
Dhandshake_server.c1811 } else if (hs->peer_pubkey->type == EVP_PKEY_EC) { in ssl3_get_cert_verify()
Dhandshake_client.c1342 } else if (hs->peer_pubkey->type == EVP_PKEY_EC) { in ssl3_get_server_key_exchange()
/external/boringssl/src/include/openssl/
Devp.h169 #define EVP_PKEY_EC NID_X9_62_id_ecPublicKey macro
/external/boringssl/src/ssl/test/
Dbssl_shim.cc294 case EVP_PKEY_EC: in AsyncPrivateKeyType()
/external/curl/lib/vtls/
Dopenssl.c2577 case EVP_PKEY_EC: /* symbol not present in OpenSSL 0.9.6 */ in get_cert_chain()

12