Home
last modified time | relevance | path

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

1234567891011

/external/rust/crates/quiche/deps/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 …]
/external/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 …]
/external/rust/crates/quiche/deps/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.c26 static void x25519_free(EVP_PKEY *pkey) { in x25519_free()
31 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw()
52 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw()
72 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw()
95 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw()
113 static int x25519_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { in x25519_pub_decode()
125 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode()
145 static int x25519_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in x25519_pub_cmp()
151 static int x25519_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { in x25519_priv_decode()
167 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 …]
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()
/external/boringssl/src/crypto/evp/
Devp.c83 EVP_PKEY *EVP_PKEY_new(void) { in OPENSSL_DECLARE_ERROR_REASON()
84 EVP_PKEY *ret; in OPENSSL_DECLARE_ERROR_REASON()
86 ret = OPENSSL_malloc(sizeof(EVP_PKEY)); in OPENSSL_DECLARE_ERROR_REASON()
92 OPENSSL_memset(ret, 0, sizeof(EVP_PKEY)); in OPENSSL_DECLARE_ERROR_REASON()
99 static void free_it(EVP_PKEY *pkey) { in free_it()
107 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free()
120 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref()
125 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque()
132 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in EVP_PKEY_cmp()
155 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 …]
Devp_asn1.c98 EVP_PKEY *EVP_parse_public_key(CBS *cbs) { in EVP_parse_public_key()
123 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_parse_public_key()
145 int EVP_marshal_public_key(CBB *cbb, const EVP_PKEY *key) { in EVP_marshal_public_key()
154 EVP_PKEY *EVP_parse_private_key(CBS *cbs) { in EVP_parse_private_key()
175 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_parse_private_key()
197 int EVP_marshal_private_key(CBB *cbb, const EVP_PKEY *key) { in EVP_marshal_private_key()
206 static EVP_PKEY *old_priv_decode(CBS *cbs, int type) { in old_priv_decode()
207 EVP_PKEY *ret = EVP_PKEY_new(); in old_priv_decode()
247 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **out, const uint8_t **inp, in d2i_PrivateKey()
257 EVP_PKEY *ret = old_priv_decode(&cbs, type); in d2i_PrivateKey()
[all …]
Dp_x25519_asn1.c26 static void x25519_free(EVP_PKEY *pkey) { in x25519_free()
31 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw()
52 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw()
72 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw()
95 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw()
113 static int x25519_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { in x25519_pub_decode()
125 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode()
145 static int x25519_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in x25519_pub_cmp()
151 static int x25519_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { in x25519_priv_decode()
167 static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_priv_encode()
[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_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()
173 static int dsa_priv_encode(CBB *out, const EVP_PKEY *key) { in dsa_priv_encode()
198 static int int_dsa_size(const EVP_PKEY *pkey) { in int_dsa_size()
202 static int dsa_bits(const EVP_PKEY *pkey) { in dsa_bits()
206 static int dsa_missing_parameters(const EVP_PKEY *pkey) { in dsa_missing_parameters()
228 static int dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) { in dsa_copy_parameters()
238 static int dsa_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) { in dsa_cmp_parameters()
244 static int dsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { in dsa_pub_cmp()
[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()
/external/wpa_supplicant_8/src/common/
Ddpp_i.h40 int dpp_build_jwk(struct wpabuf *buf, const char *name, EVP_PKEY *key,
42 EVP_PKEY * dpp_parse_jwk(struct json_token *jwk,
68 EVP_PKEY *csign_pub, const char *connector);
79 struct wpabuf * dpp_get_pubkey_point(EVP_PKEY *pkey, int prefix);
80 EVP_PKEY * dpp_set_pubkey_point_group(const EC_GROUP *group,
83 EVP_PKEY * dpp_set_pubkey_point(EVP_PKEY *group_key, const u8 *buf, size_t len);
90 int dpp_ecdh(EVP_PKEY *own, EVP_PKEY *peer, u8 *secret, size_t *secret_len);
93 void dpp_debug_print_key(const char *title, EVP_PKEY *key);
102 EVP_PKEY * dpp_set_keypair(const struct dpp_curve_params **curve,
104 EVP_PKEY * dpp_gen_keypair(const struct dpp_curve_params *curve);
[all …]
/external/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 …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_pk8.c67 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder,
70 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder,
81 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid()
88 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
95 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
102 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio()
109 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, in do_pk8pkey()
155 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_bio()
161 EVP_PKEY *ret; in d2i_PKCS8PrivateKey_bio()
195 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 …]
/external/boringssl/src/crypto/pem/
Dpem_pk8.c67 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder,
70 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder,
81 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid()
88 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
95 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
102 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio()
109 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, in do_pk8pkey()
155 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_bio()
161 EVP_PKEY *ret; in d2i_PKCS8PrivateKey_bio()
195 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 …]
/external/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);

1234567891011