Home
last modified time | relevance | path

Searched defs:pkey (Results 1 – 25 of 91) sorted by relevance

1234

/external/boringssl/src/crypto/evp/
Devp.c91 static void free_it(EVP_PKEY *pkey) { in free_it()
99 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
112 EVP_PKEY *EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
117 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
124 int EVP_PKEY_supports_digest(const EVP_PKEY *pkey, const EVP_MD *md) { in EVP_PKEY_supports_digest()
173 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters()
180 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size()
187 int EVP_PKEY_bits(EVP_PKEY *pkey) { in EVP_PKEY_bits()
194 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id()
221 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA()
[all …]
Dp_ec_asn1.c89 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) { in eckey_pub_encode()
166 static int eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) { in eckey_pub_decode()
215 static int eckey_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) { in eckey_priv_decode()
283 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) { in eckey_priv_encode()
335 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size()
339 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits()
348 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters()
372 static void int_ec_free(EVP_PKEY *pkey) { EC_KEY_free(pkey->pkey.ec); } in int_ec_free()
477 static int eckey_param_decode(EVP_PKEY *pkey, const uint8_t **pder, in eckey_param_decode()
488 static int eckey_param_encode(const EVP_PKEY *pkey, uint8_t **pder) { in eckey_param_encode()
[all …]
Dp_dsa_asn1.c71 static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) { in dsa_pub_decode()
130 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) { in dsa_pub_encode()
174 static int dsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) { in dsa_priv_decode()
247 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) { in dsa_priv_encode()
298 static int int_dsa_size(const EVP_PKEY *pkey) { in int_dsa_size()
302 static int dsa_bits(const EVP_PKEY *pkey) { in dsa_bits()
306 static int dsa_missing_parameters(const EVP_PKEY *pkey) { in dsa_missing_parameters()
348 static void int_dsa_free(EVP_PKEY *pkey) { DSA_free(pkey->pkey.dsa); } in int_dsa_free()
420 static int dsa_param_decode(EVP_PKEY *pkey, const uint8_t **pder, int derlen) { in dsa_param_decode()
431 static int dsa_param_encode(const EVP_PKEY *pkey, uint8_t **pder) { in dsa_param_encode()
[all …]
Devp_extra_test.cc447 ScopedEVP_PKEY pkey(EVP_PKEY_new()); in LoadExampleRSAKey() local
455 ScopedEVP_PKEY pkey = LoadExampleRSAKey(); in TestEVP_DigestSignInit() local
493 ScopedEVP_PKEY pkey = LoadExampleRSAKey(); in TestEVP_DigestVerifyInit() local
508 static bool TestAlgorithmRoundtrip(EVP_MD_CTX *md_ctx, EVP_PKEY *pkey) { in TestAlgorithmRoundtrip()
550 ScopedEVP_PKEY pkey = LoadExampleRSAKey(); in TestEVP_DigestSignAlgorithm() local
641 ScopedEVP_PKEY pkey; in TestEVP_DigestVerifyInitFromAlgorithm() local
663 ScopedEVP_PKEY pkey; in TestBadPSSParameters() local
684 ScopedEVP_PKEY pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey() local
724 ScopedEVP_PKEY pkey(d2i_AutoPrivateKey(NULL, &p, sizeof(kInvalidPrivateKey))); in Testd2i_AutoPrivateKey() local
744 ScopedEVP_PKEY pkey(EVP_PKCS82PKEY(p8inf.get())); in TestEVP_PKCS82PKEY() local
[all …]
Dp_rsa_asn1.c72 static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) { in rsa_pub_encode()
88 static int rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) { in rsa_pub_decode()
119 static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) { in rsa_priv_encode()
137 static int rsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) { in rsa_priv_decode()
155 static int rsa_opaque(const EVP_PKEY *pkey) { in rsa_opaque()
159 static int rsa_supports_digest(const EVP_PKEY *pkey, const EVP_MD *md) { in rsa_supports_digest()
163 static int int_rsa_size(const EVP_PKEY *pkey) { in int_rsa_size()
167 static int rsa_bits(const EVP_PKEY *pkey) { in rsa_bits()
171 static void int_rsa_free(EVP_PKEY *pkey) { RSA_free(pkey->pkey.rsa); } in int_rsa_free()
290 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print()
[all …]
Dalgorithm.c71 EVP_PKEY *pkey; in EVP_DigestSignAlgorithm() local
115 EVP_PKEY *pkey) { in EVP_DigestVerifyInitFromAlgorithm()
Ddigestsign.c70 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey, in do_sigver_init()
107 ENGINE *e, EVP_PKEY *pkey) { in EVP_DigestSignInit()
112 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) { in EVP_DigestVerifyInit()
Dsign.c78 unsigned int *out_sig_len, EVP_PKEY *pkey) { in EVP_SignFinal()
124 EVP_PKEY *pkey) { in EVP_VerifyFinal()
Dp_ec.c228 static int pkey_ec_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) { in pkey_ec_paramgen()
250 static int pkey_ec_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) { in pkey_ec_keygen()
/external/google-tv-pairing-protocol/cpp/tests/polo/util/
Dcertificateutiltest.cc54 EVP_PKEY* pkey = EVP_PKEY_new(); in TEST() local
135 EVP_PKEY* pkey = CertificateUtil::PKEYFromPEM(pem, "testing"); in TEST() local
147 EVP_PKEY* pkey = EVP_PKEY_new(); in TEST() local
166 EVP_PKEY* pkey = CertificateUtil::GeneratePrivateKey(); in TEST() local
173 EVP_PKEY* pkey = CertificateUtil::GeneratePrivateKey(); in TEST() local
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dcertificateutil.cc57 EVP_PKEY* pkey = PEM_read_bio_PrivateKey(bio, NULL, 0, &passphrase[0]); in PKEYFromPEM() local
63 std::string CertificateUtil::PKEYToPEM(EVP_PKEY* pkey, in PKEYToPEM()
80 EVP_PKEY* pkey = EVP_PKEY_new(); in GeneratePrivateKey() local
86 X509* CertificateUtil::GenerateSelfSignedCert(EVP_PKEY* pkey, in GenerateSelfSignedCert()
/external/boringssl/src/ssl/
Dssl_rsa.c104 EVP_PKEY *pkey; in SSL_use_RSAPrivateKey() local
127 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) { in ssl_set_pkey()
162 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) { in SSL_use_PrivateKey()
182 EVP_PKEY *pkey = d2i_PrivateKey(type, NULL, &p, (long)der_len); in SSL_use_PrivateKey_ASN1() local
204 EVP_PKEY *pkey = X509_get_pubkey(x); in ssl_set_cert() local
261 EVP_PKEY *pkey; in SSL_CTX_use_RSAPrivateKey() local
295 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) { in SSL_CTX_use_PrivateKey()
312 EVP_PKEY *pkey = d2i_PrivateKey(type, NULL, &p, (long)der_len); in SSL_CTX_use_PrivateKey_ASN1() local
Ds3_clnt.c931 EVP_PKEY *pkey = X509_get_pubkey(leaf); in ssl3_check_leaf_certificate() local
974 EVP_PKEY *pkey = NULL; in ssl3_get_server_certificate() local
1064 EVP_PKEY *pkey = NULL; in ssl3_get_server_key_exchange() local
1638 EVP_PKEY *pkey = X509_get_pubkey(ssl->session->peer); in ssl3_send_client_key_exchange() local
1876 EVP_PKEY *pkey = NULL; in ssl3_send_client_certificate() local
/external/webrtc/webrtc/base/
Dopensslidentity.h31 explicit OpenSSLKeyPair(EVP_PKEY* pkey) : pkey_(pkey) { in OpenSSLKeyPair()
41 EVP_PKEY* pkey() const { return pkey_; } in pkey() function
Dopensslidentity.cc48 EVP_PKEY* pkey = EVP_PKEY_new(); in MakeKey() local
94 static X509* MakeCertificate(EVP_PKEY* pkey, const SSLIdentityParams& params) { in MakeCertificate()
165 EVP_PKEY* pkey = MakeKey(key_params); in Generate() local
448 EVP_PKEY* pkey = in FromPEMStrings() local
/external/boringssl/src/crypto/x509/
Dx_all.c81 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign()
96 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign()
108 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign()
122 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) in NETSCAPE_SPKI_sign()
128 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *x, EVP_PKEY *pkey) in NETSCAPE_SPKI_verify()
434 int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PrivateKey_fp()
444 int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PUBKEY_fp()
479 int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PrivateKey_bio()
489 int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PUBKEY_bio()
Da_sign.c69 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey, in ASN1_item_sign()
87 EVP_PKEY *pkey; in ASN1_item_sign_ctx() local
Dx_pubkey.c239 EVP_PKEY *pkey; in d2i_RSA_PUBKEY() local
278 EVP_PKEY *pkey; in d2i_DSA_PUBKEY() local
316 EVP_PKEY *pkey; in d2i_EC_PUBKEY() local
Dx509type.c62 int X509_certificate_type(X509 *x, EVP_PKEY *pkey) in X509_certificate_type()
Dx509_r2x.c67 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509()
Dx509rset.c75 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) in X509_REQ_set_pubkey()
/external/boringssl/src/tool/
Dclient.cc98 ScopedEVP_PKEY pkey(PEM_read_bio_PrivateKey(bio.get(), nullptr, nullptr, in LoadPrivateKey() local
233 ScopedEVP_PKEY pkey = LoadPrivateKey(args_map["-channel-id-key"]); in Client() local
/external/vboot_reference/tests/
Dvb21_host_key_tests.c38 struct vb2_packed_private_key *pkey; in private_key_tests() local
172 struct vb2_packed_key *pkey; in public_key_tests() local
/external/vboot_reference/host/lib21/
Dhost_key.c90 const struct vb2_packed_private_key *pkey = in vb2_private_key_unpack() local
233 struct vb2_packed_private_key pkey = { in vb2_private_key_write() local
567 struct vb2_packed_key *pkey; in vb2_public_key_write() local
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLX509Certificate.java350 private void verifyOpenSSL(OpenSSLKey pkey) throws CertificateException, in verifyOpenSSL()
383 OpenSSLKey pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey(); in verify() local
414 OpenSSLKey pkey = new OpenSSLKey(NativeCrypto.X509_get_pubkey(mContext)); in getPublicKey() local

1234