Home
last modified time | relevance | path

Searched refs:EVP_PKEY (Results 1 – 25 of 105) sorted by relevance

12345

/external/boringssl/src/include/openssl/
Devp.h86 OPENSSL_EXPORT EVP_PKEY *EVP_PKEY_new(void);
90 OPENSSL_EXPORT void EVP_PKEY_free(EVP_PKEY *pkey);
93 OPENSSL_EXPORT int EVP_PKEY_up_ref(EVP_PKEY *pkey);
98 OPENSSL_EXPORT int EVP_PKEY_is_opaque(const EVP_PKEY *pkey);
105 OPENSSL_EXPORT int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
109 OPENSSL_EXPORT int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
113 OPENSSL_EXPORT int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey);
119 OPENSSL_EXPORT int EVP_PKEY_size(const EVP_PKEY *pkey);
124 OPENSSL_EXPORT int EVP_PKEY_bits(EVP_PKEY *pkey);
128 OPENSSL_EXPORT int EVP_PKEY_id(const EVP_PKEY *pkey);
[all …]
Dx509.h130 EVP_PKEY *pkey;
451 EVP_PKEY *dec_pkey;
550 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk));
564 OPENSSL_EXPORT int X509_verify(X509 *a, EVP_PKEY *r);
566 OPENSSL_EXPORT int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
567 OPENSSL_EXPORT int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r);
568 OPENSSL_EXPORT int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r);
572 OPENSSL_EXPORT EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x);
573 OPENSSL_EXPORT int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey);
581 OPENSSL_EXPORT int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
[all …]
Dpem.h358 DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY)
360 DECLARE_PEM_rw(PUBKEY, EVP_PKEY)
362 OPENSSL_EXPORT int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int…
363 OPENSSL_EXPORT int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *, char *, int…
364 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr,…
365 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen,…
366 OPENSSL_EXPORT EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *…
368 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr,…
369 OPENSSL_EXPORT int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen,…
370 OPENSSL_EXPORT int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int kl…
[all …]
Dpkcs8.h97 const EVP_PKEY *pkey);
117 OPENSSL_EXPORT EVP_PKEY *PKCS8_parse_encrypted_private_key(CBS *cbs,
125 OPENSSL_EXPORT int PKCS12_get_key_and_certs(EVP_PKEY **out_key,
164 EVP_PKEY **out_pkey, X509 **out_cert,
/external/boringssl/src/crypto/evp/
Devp.c74 EVP_PKEY *EVP_PKEY_new(void) { in EVP_PKEY_new()
75 EVP_PKEY *ret; in EVP_PKEY_new()
77 ret = OPENSSL_malloc(sizeof(EVP_PKEY)); in EVP_PKEY_new()
83 OPENSSL_memset(ret, 0, sizeof(EVP_PKEY)); in EVP_PKEY_new()
90 static void free_it(EVP_PKEY *pkey) { in free_it()
98 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
111 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
116 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
123 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in EVP_PKEY_cmp()
146 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) { in EVP_PKEY_copy_parameters()
[all …]
Dinternal.h81 int (*pub_decode)(EVP_PKEY *out, CBS *params, CBS *key);
85 int (*pub_encode)(CBB *out, const EVP_PKEY *key);
87 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b);
93 int (*priv_decode)(EVP_PKEY *out, CBS *params, CBS *key);
97 int (*priv_encode)(CBB *out, const EVP_PKEY *key);
101 int (*pkey_opaque)(const EVP_PKEY *pk);
103 int (*pkey_size)(const EVP_PKEY *pk);
104 int (*pkey_bits)(const EVP_PKEY *pk);
106 int (*param_missing)(const EVP_PKEY *pk);
107 int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from);
[all …]
Dp_ed25519_asn1.c26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free()
31 static int set_pubkey(EVP_PKEY *pkey, const uint8_t pubkey[32]) { in set_pubkey()
45 static int set_privkey(EVP_PKEY *pkey, const uint8_t privkey[64]) { in set_privkey()
59 static int ed25519_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { in ed25519_pub_decode()
72 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode()
92 static int ed25519_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in ed25519_pub_cmp()
98 static int ed25519_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { in ed25519_priv_decode()
119 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode()
146 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size()
148 static int ed25519_bits(const EVP_PKEY *pkey) { return 256; } in ed25519_bits()
[all …]
Dp_ec_asn1.c68 static int eckey_pub_encode(CBB *out, const EVP_PKEY *key) { in eckey_pub_encode()
92 static int eckey_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { in eckey_pub_decode()
128 static int eckey_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in eckey_pub_cmp()
143 static int eckey_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { in eckey_priv_decode()
164 static int eckey_priv_encode(CBB *out, const EVP_PKEY *key) { in eckey_priv_encode()
191 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size()
195 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits()
204 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters()
208 static int ec_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) { in ec_copy_parameters()
218 static int ec_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) { in ec_cmp_parameters()
[all …]
Dp_dsa_asn1.c67 static int dsa_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { in dsa_pub_decode()
104 static int dsa_pub_encode(CBB *out, const EVP_PKEY *key) { in dsa_pub_encode()
127 static int dsa_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { in dsa_priv_decode()
169 static int dsa_priv_encode(CBB *out, const EVP_PKEY *key) { in dsa_priv_encode()
194 static int int_dsa_size(const EVP_PKEY *pkey) { in int_dsa_size()
198 static int dsa_bits(const EVP_PKEY *pkey) { in dsa_bits()
202 static int dsa_missing_parameters(const EVP_PKEY *pkey) { in dsa_missing_parameters()
224 static int dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) { in dsa_copy_parameters()
234 static int dsa_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) { in dsa_cmp_parameters()
240 static int dsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in dsa_pub_cmp()
[all …]
Devp_asn1.c96 EVP_PKEY *EVP_parse_public_key(CBS *cbs) { in EVP_parse_public_key()
115 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_parse_public_key()
137 int EVP_marshal_public_key(CBB *cbb, const EVP_PKEY *key) { in EVP_marshal_public_key()
146 EVP_PKEY *EVP_parse_private_key(CBS *cbs) { in EVP_parse_private_key()
164 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_parse_private_key()
186 int EVP_marshal_private_key(CBB *cbb, const EVP_PKEY *key) { in EVP_marshal_private_key()
195 static EVP_PKEY *old_priv_decode(CBS *cbs, int type) { in old_priv_decode()
196 EVP_PKEY *ret = EVP_PKEY_new(); in old_priv_decode()
236 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **out, const uint8_t **inp, in d2i_PrivateKey()
246 EVP_PKEY *ret = old_priv_decode(&cbs, type); in d2i_PrivateKey()
[all …]
Dp_rsa_asn1.c69 static int rsa_pub_encode(CBB *out, const EVP_PKEY *key) { in rsa_pub_encode()
88 static int rsa_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { in rsa_pub_decode()
111 static int rsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in rsa_pub_cmp()
116 static int rsa_priv_encode(CBB *out, const EVP_PKEY *key) { in rsa_priv_encode()
134 static int rsa_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { in rsa_priv_decode()
155 static int rsa_opaque(const EVP_PKEY *pkey) { in rsa_opaque()
159 static int int_rsa_size(const EVP_PKEY *pkey) { in int_rsa_size()
163 static int rsa_bits(const EVP_PKEY *pkey) { in rsa_bits()
167 static void int_rsa_free(EVP_PKEY *pkey) { RSA_free(pkey->pkey.rsa); } in int_rsa_free()
Dprint.c204 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print()
209 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_priv_print()
275 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_param_print()
280 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_pub_print()
285 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_priv_print()
399 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_param_print()
404 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_pub_print()
410 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_priv_print()
418 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx);
419 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent,
[all …]
Devp_extra_test.cc363 static bssl::UniquePtr<EVP_PKEY> LoadExampleRSAKey() { in LoadExampleRSAKey()
369 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in LoadExampleRSAKey()
377 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST()
405 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST()
416 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST()
455 bssl::UniquePtr<EVP_PKEY> pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey()
475 bssl::UniquePtr<EVP_PKEY> pkey( in TEST()
489 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST()
496 bssl::UniquePtr<EVP_PKEY> empty(EVP_PKEY_new()); in TEST()
505 static bssl::UniquePtr<EVP_PKEY> ParsePrivateKey(int type, const uint8_t *in, in ParsePrivateKey()
[all …]
/external/boringssl/src/crypto/pem/
Dpem_pk8.c68 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder,
71 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder,
82 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid()
89 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
96 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
103 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio()
110 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, in do_pk8pkey()
156 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_bio()
162 EVP_PKEY *ret; in d2i_PKCS8PrivateKey_bio()
196 int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp()
[all …]
Dpem_all.c122 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
123 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
124 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
137 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in IMPLEMENT_PEM_rw()
156 EVP_PKEY *pktmp; in PEM_read_bio_RSAPrivateKey()
165 EVP_PKEY *pktmp; in PEM_read_RSAPrivateKey()
181 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
200 EVP_PKEY *pktmp; in PEM_read_bio_DSAPrivateKey()
212 EVP_PKEY *pktmp; in IMPLEMENT_PEM_write_cb_const()
221 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) in IMPLEMENT_PEM_rw_const()
[all …]
Dpem_pkey.c72 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_bio_PrivateKey()
79 EVP_PKEY *ret = NULL; in PEM_read_bio_PrivateKey()
93 EVP_PKEY_free((EVP_PKEY *)*x); in PEM_read_bio_PrivateKey()
123 EVP_PKEY_free((EVP_PKEY *)*x); in PEM_read_bio_PrivateKey()
147 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PrivateKey()
155 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_PrivateKey()
159 EVP_PKEY *ret; in PEM_read_PrivateKey()
171 int PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_PrivateKey()
/external/boringssl/src/crypto/x509/
Dx_all.c66 int X509_verify(X509 *a, EVP_PKEY *r) in X509_verify()
74 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) in X509_REQ_verify()
80 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign()
95 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()
123 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) in NETSCAPE_SPKI_sign()
129 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *x, EVP_PKEY *pkey) in NETSCAPE_SPKI_verify()
425 int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key) in i2d_PKCS8PrivateKeyInfo_fp()
437 int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PrivateKey_fp()
439 return ASN1_i2d_fp_of_const(EVP_PKEY, i2d_PrivateKey, fp, pkey); in i2d_PrivateKey_fp()
[all …]
Dx_pubkey.c90 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey)
133 EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key) in X509_PUBKEY_get()
135 EVP_PKEY *ret = NULL; in X509_PUBKEY_get()
188 EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, long length) in d2i_PUBKEY()
191 EVP_PKEY *pktmp; in d2i_PUBKEY()
206 int i2d_PUBKEY(const EVP_PKEY *a, unsigned char **pp) in i2d_PUBKEY()
212 if (!X509_PUBKEY_set(&xpk, (EVP_PKEY *)a)) in i2d_PUBKEY()
224 EVP_PKEY *pkey; in d2i_RSA_PUBKEY()
245 EVP_PKEY *pktmp; in i2d_RSA_PUBKEY()
263 EVP_PKEY *pkey; in d2i_DSA_PUBKEY()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java90 static native int EVP_PKEY_type(NativeRef.EVP_PKEY pkey); in EVP_PKEY_type()
92 static native String EVP_PKEY_print_public(NativeRef.EVP_PKEY pkeyRef); in EVP_PKEY_print_public()
94 static native String EVP_PKEY_print_params(NativeRef.EVP_PKEY pkeyRef); in EVP_PKEY_print_params()
98 static native int EVP_PKEY_cmp(NativeRef.EVP_PKEY pkey1, NativeRef.EVP_PKEY pkey2); in EVP_PKEY_cmp()
100 static native byte[] EVP_marshal_private_key(NativeRef.EVP_PKEY pkey); in EVP_marshal_private_key()
104 static native byte[] EVP_marshal_public_key(NativeRef.EVP_PKEY pkey); in EVP_marshal_public_key()
118 static native int RSA_size(NativeRef.EVP_PKEY pkey); in RSA_size()
121 int flen, byte[] from, byte[] to, NativeRef.EVP_PKEY pkey, int padding); in RSA_private_encrypt()
123 static native int RSA_public_decrypt(int flen, byte[] from, byte[] to, NativeRef.EVP_PKEY pkey, in RSA_public_decrypt()
127 int flen, byte[] from, byte[] to, NativeRef.EVP_PKEY pkey, int padding); in RSA_public_encrypt()
[all …]
/external/google-tv-pairing-protocol/cpp/tests/polo/util/
Dcertificateutiltest.cc54 EVP_PKEY* pkey = EVP_PKEY_new(); in TEST()
135 EVP_PKEY* pkey = CertificateUtil::PKEYFromPEM(pem, "testing"); in TEST()
147 EVP_PKEY* pkey = EVP_PKEY_new(); in TEST()
157 EVP_PKEY* verify = CertificateUtil::PKEYFromPEM(pem, "testing"); in TEST()
166 EVP_PKEY* pkey = CertificateUtil::GeneratePrivateKey(); in TEST()
173 EVP_PKEY* pkey = CertificateUtil::GeneratePrivateKey(); in TEST()
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dcertificateutil.cc54 EVP_PKEY* CertificateUtil::PKEYFromPEM(std::string pem, in PKEYFromPEM()
57 EVP_PKEY* pkey = PEM_read_bio_PrivateKey(bio, NULL, 0, &passphrase[0]); in PKEYFromPEM()
63 std::string CertificateUtil::PKEYToPEM(EVP_PKEY* pkey, in PKEYToPEM()
79 EVP_PKEY* CertificateUtil::GeneratePrivateKey() { in GeneratePrivateKey()
80 EVP_PKEY* pkey = EVP_PKEY_new(); in GeneratePrivateKey()
86 X509* CertificateUtil::GenerateSelfSignedCert(EVP_PKEY* pkey, in GenerateSelfSignedCert()
Dcertificateutil.h46 static EVP_PKEY* PKEYFromPEM(std::string pem,
53 static std::string PKEYToPEM(EVP_PKEY* pkey,
58 static EVP_PKEY* GeneratePrivateKey();
65 static X509* GenerateSelfSignedCert(EVP_PKEY* pkey,
/external/boringssl/src/ssl/
Dssl_privkey.cc79 static int ssl_set_pkey(CERT *cert, EVP_PKEY *pkey) { in ssl_set_pkey()
142 static int pkey_supports_algorithm(const SSL *ssl, EVP_PKEY *pkey, in pkey_supports_algorithm()
168 static int setup_ctx(SSL *ssl, EVP_MD_CTX *ctx, EVP_PKEY *pkey, uint16_t sigalg, in setup_ctx()
225 uint16_t sigalg, EVP_PKEY *pkey, in ssl_public_key_verify()
302 UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in SSL_use_RSAPrivateKey()
322 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) { in SSL_use_PrivateKey()
339 UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, NULL, &p, (long)der_len)); in SSL_use_PrivateKey_ASN1()
354 UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in SSL_CTX_use_RSAPrivateKey()
375 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) { in SSL_CTX_use_PrivateKey()
392 UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, NULL, &p, (long)der_len)); in SSL_CTX_use_PrivateKey_ASN1()
Dssl_cert.cc258 CRYPTO_BUFFER *leaf_buffer, EVP_PKEY *privkey) { in check_leaf_cert_and_privkey()
261 UniquePtr<EVP_PKEY> pubkey = ssl_cert_parse_pubkey(&cert_cbs); in check_leaf_cert_and_privkey()
292 EVP_PKEY *privkey, const SSL_PRIVATE_KEY_METHOD *privkey_method) { in cert_set_chain_and_key()
385 UniquePtr<EVP_PKEY> *out_pubkey, in ssl_parse_cert_chain()
409 UniquePtr<EVP_PKEY> pubkey; in ssl_parse_cert_chain()
519 UniquePtr<EVP_PKEY> ssl_cert_parse_pubkey(const CBS *in) { in ssl_cert_parse_pubkey()
526 return UniquePtr<EVP_PKEY>(EVP_parse_public_key(&tbs_cert)); in ssl_cert_parse_pubkey()
529 int ssl_compare_public_and_private_key(const EVP_PKEY *pubkey, in ssl_compare_public_and_private_key()
530 const EVP_PKEY *privkey) { in ssl_compare_public_and_private_key()
560 int ssl_cert_check_private_key(const CERT *cert, const EVP_PKEY *privkey) { in ssl_cert_check_private_key()
[all …]
/external/wpa_supplicant_8/src/common/
Ddpp.h102 EVP_PKEY *pubkey;
115 EVP_PKEY *x;
116 EVP_PKEY *y;
120 EVP_PKEY *peer_bootstrap_key;
154 EVP_PKEY *own_protocol_key;
155 EVP_PKEY *peer_protocol_key;
195 EVP_PKEY *csign;

12345