Home
last modified time | relevance | path

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

12345678910>>...15

/third_party/openssl/include/crypto/
Dasn1.h20 int (*pub_decode) (EVP_PKEY *pk, X509_PUBKEY *pub);
21 int (*pub_encode) (X509_PUBKEY *pub, const EVP_PKEY *pk);
22 int (*pub_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
23 int (*pub_print) (BIO *out, const EVP_PKEY *pkey, int indent,
25 int (*priv_decode) (EVP_PKEY *pk, const PKCS8_PRIV_KEY_INFO *p8inf);
26 int (*priv_encode) (PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk);
27 int (*priv_print) (BIO *out, const EVP_PKEY *pkey, int indent,
29 int (*pkey_size) (const EVP_PKEY *pk);
30 int (*pkey_bits) (const EVP_PKEY *pk);
31 int (*pkey_security_bits) (const EVP_PKEY *pk);
[all …]
/third_party/boringssl/src/include/openssl/
Devp.h92 OPENSSL_EXPORT EVP_PKEY *EVP_PKEY_new(void);
96 OPENSSL_EXPORT void EVP_PKEY_free(EVP_PKEY *pkey);
101 OPENSSL_EXPORT int EVP_PKEY_up_ref(EVP_PKEY *pkey);
106 OPENSSL_EXPORT int EVP_PKEY_is_opaque(const EVP_PKEY *pkey);
113 OPENSSL_EXPORT int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
117 OPENSSL_EXPORT int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
121 OPENSSL_EXPORT int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey);
127 OPENSSL_EXPORT int EVP_PKEY_size(const EVP_PKEY *pkey);
132 OPENSSL_EXPORT int EVP_PKEY_bits(const EVP_PKEY *pkey);
136 OPENSSL_EXPORT int EVP_PKEY_id(const EVP_PKEY *pkey);
[all …]
/third_party/boringssl/src/crypto/evp/
Devp.c79 EVP_PKEY *EVP_PKEY_new(void) { in OPENSSL_DECLARE_ERROR_REASON()
80 EVP_PKEY *ret; in OPENSSL_DECLARE_ERROR_REASON()
82 ret = OPENSSL_malloc(sizeof(EVP_PKEY)); in OPENSSL_DECLARE_ERROR_REASON()
88 OPENSSL_memset(ret, 0, sizeof(EVP_PKEY)); in OPENSSL_DECLARE_ERROR_REASON()
95 static void free_it(EVP_PKEY *pkey) { in free_it()
103 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
116 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
121 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
128 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in EVP_PKEY_cmp()
151 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);
99 int (*set_priv_raw)(EVP_PKEY *pkey, const uint8_t *in, size_t len);
100 int (*set_pub_raw)(EVP_PKEY *pkey, const uint8_t *in, size_t len);
101 int (*get_priv_raw)(const EVP_PKEY *pkey, uint8_t *out, size_t *out_len);
102 int (*get_pub_raw)(const EVP_PKEY *pkey, uint8_t *out, size_t *out_len);
106 int (*pkey_opaque)(const EVP_PKEY *pk);
[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()
212 static int ec_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) { in ec_cmp_parameters()
[all …]
Dp_x25519_asn1.c27 static void x25519_free(EVP_PKEY *pkey) { in x25519_free()
32 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw()
53 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw()
73 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw()
96 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw()
114 static int x25519_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { in x25519_pub_decode()
126 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode()
146 static int x25519_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in x25519_pub_cmp()
152 static int x25519_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { in x25519_priv_decode()
168 static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_priv_encode()
[all …]
Devp_asn1.c97 EVP_PKEY *EVP_parse_public_key(CBS *cbs) { in EVP_parse_public_key()
122 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_parse_public_key()
144 int EVP_marshal_public_key(CBB *cbb, const EVP_PKEY *key) { in EVP_marshal_public_key()
153 EVP_PKEY *EVP_parse_private_key(CBS *cbs) { in EVP_parse_private_key()
174 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_parse_private_key()
196 int EVP_marshal_private_key(CBB *cbb, const EVP_PKEY *key) { in EVP_marshal_private_key()
205 static EVP_PKEY *old_priv_decode(CBS *cbs, int type) { in old_priv_decode()
206 EVP_PKEY *ret = EVP_PKEY_new(); in old_priv_decode()
246 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **out, const uint8_t **inp, in d2i_PrivateKey()
256 EVP_PKEY *ret = old_priv_decode(&cbs, type); in d2i_PrivateKey()
[all …]
Dp_ed25519_asn1.c26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free()
31 static int ed25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_priv_raw()
54 static int ed25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_pub_raw()
74 static int ed25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_priv_raw()
98 static int ed25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_pub_raw()
116 static int ed25519_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { in ed25519_pub_decode()
128 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode()
148 static int ed25519_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in ed25519_pub_cmp()
154 static int ed25519_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { in ed25519_priv_decode()
170 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode()
[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 …]
/third_party/openssl/crypto/evp/
Dp_lib.c27 static void EVP_PKEY_free_it(EVP_PKEY *x);
29 int EVP_PKEY_bits(const EVP_PKEY *pkey) in EVP_PKEY_bits()
36 int EVP_PKEY_security_bits(const EVP_PKEY *pkey) in EVP_PKEY_security_bits()
45 int EVP_PKEY_size(const EVP_PKEY *pkey) in EVP_PKEY_size()
52 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) in EVP_PKEY_save_parameters()
75 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in EVP_PKEY_copy_parameters()
103 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) in EVP_PKEY_missing_parameters()
110 int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp_parameters()
119 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp()
140 EVP_PKEY *EVP_PKEY_new(void) in EVP_PKEY_new()
[all …]
Devp_pkey.c21 EVP_PKEY *EVP_PKCS82PKEY(const PKCS8_PRIV_KEY_INFO *p8) in EVP_PKCS82PKEY()
23 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY()
61 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey) in EVP_PKEY2PKCS8()
91 int EVP_PKEY_get_attr_count(const EVP_PKEY *key) in EVP_PKEY_get_attr_count()
96 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) in EVP_PKEY_get_attr_by_NID()
101 int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, in EVP_PKEY_get_attr_by_OBJ()
107 X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) in EVP_PKEY_get_attr()
112 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr()
117 int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr()
124 int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_OBJ()
[all …]
/third_party/openssl/crypto/asn1/
Dameth_lib.c212 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) in EVP_PKEY_get0_asn1()
297 int (*pub_decode) (EVP_PKEY *pk, in EVP_PKEY_asn1_set_public()
300 const EVP_PKEY *pk), in EVP_PKEY_asn1_set_public()
301 int (*pub_cmp) (const EVP_PKEY *a, in EVP_PKEY_asn1_set_public()
302 const EVP_PKEY *b), in EVP_PKEY_asn1_set_public()
304 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_public()
306 int (*pkey_size) (const EVP_PKEY *pk), in EVP_PKEY_asn1_set_public()
307 int (*pkey_bits) (const EVP_PKEY *pk)) in EVP_PKEY_asn1_set_public()
318 int (*priv_decode) (EVP_PKEY *pk, in EVP_PKEY_asn1_set_private()
322 const EVP_PKEY *pk), in EVP_PKEY_asn1_set_private()
[all …]
/third_party/openssl/include/openssl/
Devp.h621 EVP_PKEY *pkey);
628 unsigned int siglen, EVP_PKEY *pkey);
636 EVP_PKEY *pkey);
642 EVP_PKEY *pkey);
649 const unsigned char *iv, EVP_PKEY *priv);
654 EVP_PKEY **pubk, int npubk);
987 EVP_PKEY *private_key);
990 EVP_PKEY *pub_key);
992 int EVP_PKEY_id(const EVP_PKEY *pkey);
993 int EVP_PKEY_base_id(const EVP_PKEY *pkey);
[all …]
Dx509.h236 EVP_PKEY *dec_pkey;
342 EVP_PKEY *pk));
350 int X509_verify(X509 *a, EVP_PKEY *r);
352 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
353 int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r);
354 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r);
358 EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x);
359 int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey);
367 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
372 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
[all …]
/third_party/openssl/doc/man3/
DEVP_PKEY_ASN1_METHOD.pod45 int (*pub_decode) (EVP_PKEY *pk,
48 const EVP_PKEY *pk),
49 int (*pub_cmp) (const EVP_PKEY *a,
50 const EVP_PKEY *b),
52 const EVP_PKEY *pkey,
54 int (*pkey_size) (const EVP_PKEY *pk),
55 int (*pkey_bits) (const EVP_PKEY *pk));
57 int (*priv_decode) (EVP_PKEY *pk,
61 const EVP_PKEY *pk),
63 const EVP_PKEY *pkey,
[all …]
DEVP_PKEY_set1_RSA.pod12 EVP_PKEY_set1_engine, EVP_PKEY_get0_engine - EVP_PKEY assignment functions
18 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key);
19 int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key);
20 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *key);
21 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key);
23 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
24 DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
25 DH *EVP_PKEY_get1_DH(EVP_PKEY *pkey);
26 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
28 const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_pkey.c23 EVP_PKEY* __EVP_PKEY_new(EVP_PKEY *ipk) in __EVP_PKEY_new()
26 EVP_PKEY *pkey; in __EVP_PKEY_new()
28 pkey = ssl_mem_zalloc(sizeof(EVP_PKEY)); in __EVP_PKEY_new()
57 EVP_PKEY* EVP_PKEY_new(void) in EVP_PKEY_new()
65 void EVP_PKEY_free(EVP_PKEY *pkey) in EVP_PKEY_free()
78 EVP_PKEY *d2i_PrivateKey(int type, in d2i_PrivateKey()
79 EVP_PKEY **a, in d2i_PrivateKey()
85 EVP_PKEY *pkey; in d2i_PrivateKey()
124 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey()
143 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey()
[all …]
/third_party/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.c120 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
121 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
122 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
136 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in IMPLEMENT_PEM_rw()
155 EVP_PKEY *pktmp; in PEM_read_bio_RSAPrivateKey()
164 EVP_PKEY *pktmp; in PEM_read_RSAPrivateKey()
180 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
199 EVP_PKEY *pktmp; in PEM_read_bio_DSAPrivateKey()
211 EVP_PKEY *pktmp; in IMPLEMENT_PEM_write_cb_const()
220 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) in IMPLEMENT_PEM_rw_const()
[all …]
/third_party/openssl/crypto/pem/
Dpem_pk8.c19 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder,
24 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder,
35 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid()
42 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
49 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
56 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio()
63 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, in do_pk8pkey()
112 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_bio()
118 EVP_PKEY *ret; in d2i_PKCS8PrivateKey_bio()
150 int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp()
[all …]
Dpem_all.c22 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
25 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
29 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
47 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in IMPLEMENT_PEM_rw()
66 EVP_PKEY *pktmp; in PEM_read_bio_RSAPrivateKey()
75 EVP_PKEY *pktmp; in PEM_read_RSAPrivateKey()
91 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
110 EVP_PKEY *pktmp; in PEM_read_bio_DSAPrivateKey()
121 EVP_PKEY *pktmp; in IMPLEMENT_PEM_write_cb_const()
131 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) in IMPLEMENT_PEM_rw_const()
[all …]
Dpem_pkey.c25 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_bio_PrivateKey()
33 EVP_PKEY *ret = NULL; in PEM_read_bio_PrivateKey()
47 EVP_PKEY_free((EVP_PKEY *)*x); in PEM_read_bio_PrivateKey()
75 EVP_PKEY_free((EVP_PKEY *)*x); in PEM_read_bio_PrivateKey()
95 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PrivateKey()
105 int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x, in PEM_write_bio_PrivateKey_traditional()
122 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x) in PEM_read_bio_Parameters()
129 EVP_PKEY *ret = NULL; in PEM_read_bio_Parameters()
148 EVP_PKEY_free((EVP_PKEY *)*x); in PEM_read_bio_Parameters()
160 int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x) in PEM_write_bio_Parameters()
[all …]
/third_party/openssl/crypto/x509/
Dx_pubkey.c23 EVP_PKEY *pkey;
26 static int x509_pubkey_decode(EVP_PKEY **pk, X509_PUBKEY *key);
60 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey)
104 static int x509_pubkey_decode(EVP_PKEY **ppkey, X509_PUBKEY *key) in x509_pubkey_decode()
106 EVP_PKEY *pkey = EVP_PKEY_new(); in x509_pubkey_decode()
141 EVP_PKEY *X509_PUBKEY_get0(X509_PUBKEY *key) in X509_PUBKEY_get0()
143 EVP_PKEY *ret = NULL; in X509_PUBKEY_get0()
169 EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key) in X509_PUBKEY_get()
171 EVP_PKEY *ret = X509_PUBKEY_get0(key); in X509_PUBKEY_get()
185 EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, long length) in d2i_PUBKEY()
[all …]
Dx_all.c22 int X509_verify(X509 *a, EVP_PKEY *r) in X509_verify()
30 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) in X509_REQ_verify()
36 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r) in NETSCAPE_SPKI_verify()
42 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign()
66 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign()
79 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign()
103 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) in NETSCAPE_SPKI_sign()
450 int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key) in i2d_PKCS8PrivateKeyInfo_fp()
462 int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PrivateKey_fp()
464 return ASN1_i2d_fp_of(EVP_PKEY, i2d_PrivateKey, fp, pkey); in i2d_PrivateKey_fp()
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_pkey.h31 EVP_PKEY* __EVP_PKEY_new(EVP_PKEY *ipk);
40 EVP_PKEY* EVP_PKEY_new(void);
53 EVP_PKEY* d2i_PrivateKey(int type,
54 EVP_PKEY **a,
65 void EVP_PKEY_free(EVP_PKEY *x);

12345678910>>...15