Home
last modified time | relevance | path

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

12345678910>>...28

/netbsd/crypto/external/bsd/openssl/dist/include/crypto/
H A Dasn1.h31 int (*pub_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
38 int (*pkey_size) (const EVP_PKEY *pk);
39 int (*pkey_bits) (const EVP_PKEY *pk);
41 int (*param_decode) (EVP_PKEY *pkey,
45 int (*param_copy) (EVP_PKEY *to, const EVP_PKEY *from);
46 int (*param_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
52 void (*pkey_free) (EVP_PKEY *pkey);
61 EVP_PKEY *pkey);
83 int (*copy) (EVP_PKEY *to, EVP_PKEY *from);
85 int (*priv_decode_ex) (EVP_PKEY *pk,
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/include/crypto/
H A Dasn1.h22 int (*pub_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
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);
32 int (*param_decode) (EVP_PKEY *pkey,
35 int (*param_missing) (const EVP_PKEY *pk);
36 int (*param_copy) (EVP_PKEY *to, const EVP_PKEY *from);
37 int (*param_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
43 void (*pkey_free) (EVP_PKEY *pkey);
46 int (*old_priv_decode) (EVP_PKEY *pkey,
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A Dp_lib.c29 int EVP_PKEY_bits(const EVP_PKEY *pkey) in EVP_PKEY_bits()
45 int EVP_PKEY_size(const EVP_PKEY *pkey) in EVP_PKEY_size()
75 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in EVP_PKEY_copy_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()
161 int EVP_PKEY_up_ref(EVP_PKEY *pkey) in EVP_PKEY_up_ref()
232 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_PKEY_new_raw_private_key()
262 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_PKEY_new_raw_public_key()
326 EVP_PKEY *ret = EVP_PKEY_new(); in EVP_PKEY_new_CMAC_key()
[all …]
H A 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()
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()
133 int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_NID()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/pem/
H A Dpem_pkey.c33 static EVP_PKEY *pem_read_bio_key_decoder(BIO *bp, EVP_PKEY **x, in pem_read_bio_key_decoder()
99 static EVP_PKEY *pem_read_bio_key_legacy(BIO *bp, EVP_PKEY **x, in pem_read_bio_key_legacy()
214 static EVP_PKEY *pem_read_bio_key(BIO *bp, EVP_PKEY **x, in pem_read_bio_key()
262 EVP_PKEY *PEM_read_bio_PUBKEY_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_PUBKEY_ex()
270 EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_bio_PUBKEY()
277 EVP_PKEY *PEM_read_PUBKEY_ex(FILE *fp, EVP_PKEY **x, in PEM_read_PUBKEY_ex()
282 EVP_PKEY *ret; in PEM_read_PUBKEY_ex()
300 EVP_PKEY *PEM_read_bio_PrivateKey_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_PrivateKey_ex()
369 EVP_PKEY *PEM_read_bio_Parameters_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_Parameters_ex()
376 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x) in PEM_read_bio_Parameters()
[all …]
H A Dpem_pk8.c21 static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder,
28 static int do_pk8pkey_fp(FILE *bp, const EVP_PKEY *x, int isder,
41 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid()
62 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio()
69 static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid, in do_pk8pkey()
169 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_bio()
175 EVP_PKEY *ret; in d2i_PKCS8PrivateKey_bio()
215 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, const EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_fp()
222 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, const EVP_PKEY *x, int nid, in PEM_write_PKCS8PrivateKey_nid()
252 EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_fp()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/include/openssl/
H A Devp.h1380 EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey);
1385 EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
1395 EVP_PKEY *d2i_AutoPrivateKey_ex(EVP_PKEY **a, const unsigned char **pp,
1398 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp,
1403 EVP_PKEY *d2i_KeyParams(int type, EVP_PKEY **a, const unsigned char **pp,
1406 EVP_PKEY *d2i_KeyParams_bio(int type, EVP_PKEY **a, BIO *in);
1408 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
1411 int EVP_PKEY_parameters_eq(const EVP_PKEY *a, const EVP_PKEY *b);
1412 int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b);
1416 int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b);
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dp_lib.c119 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in EVP_PKEY_copy_parameters()
234 static int evp_pkey_cmp_any(const EVP_PKEY *a, const EVP_PKEY *b, in evp_pkey_cmp_any()
246 return evp_keymgmt_util_match((EVP_PKEY *)a, (EVP_PKEY *)b, selection); in evp_pkey_cmp_any()
298 int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp_parameters()
304 int EVP_PKEY_parameters_eq(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_parameters_eq()
323 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp()
329 int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_eq()
383 EVP_PKEY *pkey = NULL; in new_raw_key_int()
1669 EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey) in EVP_PKEY_dup()
1671 EVP_PKEY *dup_pk; in EVP_PKEY_dup()
[all …]
H A Devp_pkey.c27 EVP_PKEY *pkey = NULL; in evp_pkcs82pkey_legacy()
69 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY_ex()
96 EVP_PKEY *EVP_PKCS82PKEY(const PKCS8_PRIV_KEY_INFO *p8) in EVP_PKCS82PKEY()
103 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(const EVP_PKEY *pkey) in EVP_PKEY2PKCS8()
164 int EVP_PKEY_get_attr_count(const EVP_PKEY *key) in EVP_PKEY_get_attr_count()
185 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr()
190 int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr()
197 int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_OBJ()
206 int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_NID()
215 int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_txt()
[all …]
H A Dp_legacy.c25 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) in EVP_PKEY_set1_RSA()
34 RSA *evp_pkey_get0_RSA_int(const EVP_PKEY *pkey) in evp_pkey_get0_RSA_int()
40 return evp_pkey_get_legacy((EVP_PKEY *)pkey); in evp_pkey_get0_RSA_int()
43 const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey) in EVP_PKEY_get0_RSA()
48 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey) in EVP_PKEY_get1_RSA()
58 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) in EVP_PKEY_set1_EC_KEY()
69 EC_KEY *evp_pkey_get0_EC_KEY_int(const EVP_PKEY *pkey) in evp_pkey_get0_EC_KEY_int()
75 return evp_pkey_get_legacy((EVP_PKEY *)pkey); in evp_pkey_get0_EC_KEY_int()
78 const EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey) in EVP_PKEY_get0_EC_KEY()
83 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey) in EVP_PKEY_get1_EC_KEY()
/netbsd/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Dameth_lib.c215 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) in EVP_PKEY_get0_asn1()
283 int (*pub_decode) (EVP_PKEY *pk, in EVP_PKEY_asn1_set_public()
287 int (*pub_cmp) (const EVP_PKEY *a, in EVP_PKEY_asn1_set_public()
288 const EVP_PKEY *b), in EVP_PKEY_asn1_set_public()
304 int (*priv_decode) (EVP_PKEY *pk, in EVP_PKEY_asn1_set_private()
320 int (*param_decode) (EVP_PKEY *pkey, in EVP_PKEY_asn1_set_param()
326 int (*param_copy) (EVP_PKEY *to, in EVP_PKEY_asn1_set_param()
328 int (*param_cmp) (const EVP_PKEY *a, in EVP_PKEY_asn1_set_param()
329 const EVP_PKEY *b), in EVP_PKEY_asn1_set_param()
343 void (*pkey_free) (EVP_PKEY *pkey)) in EVP_PKEY_asn1_set_free()
[all …]
H A Dd2i_pr.c26 static EVP_PKEY *
77 EVP_PKEY *
81 EVP_PKEY *ret; in ossl_d2i_PrivateKey_legacy()
143 EVP_PKEY *d2i_PrivateKey_ex(int keytype, EVP_PKEY **a, const unsigned char **pp, in d2i_PrivateKey_ex()
147 EVP_PKEY *ret; in d2i_PrivateKey_ex()
156 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, in d2i_PrivateKey()
162 static EVP_PKEY *d2i_AutoPrivateKey_legacy(EVP_PKEY **a, in d2i_AutoPrivateKey_legacy()
191 EVP_PKEY *ret; in d2i_AutoPrivateKey_legacy()
218 EVP_PKEY *d2i_AutoPrivateKey_ex(EVP_PKEY **a, const unsigned char **pp, in d2i_AutoPrivateKey_ex()
222 EVP_PKEY *ret; in d2i_AutoPrivateKey_ex()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Devp.h992 int EVP_PKEY_id(const EVP_PKEY *pkey);
994 int EVP_PKEY_bits(const EVP_PKEY *pkey);
1039 EVP_PKEY *EVP_PKEY_new(void);
1040 int EVP_PKEY_up_ref(EVP_PKEY *pkey);
1041 void EVP_PKEY_free(EVP_PKEY *pkey);
1043 EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
1047 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp,
1049 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp,
1053 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
1056 int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b);
[all …]
H A Dx509.h236 EVP_PKEY *dec_pkey;
350 int X509_verify(X509 *a, EVP_PKEY *r);
426 EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a);
427 int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey);
428 EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a);
464 EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a);
465 int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey);
466 EVP_PKEY *d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a);
515 EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, long length);
672 EVP_PKEY *X509_get0_pubkey(const X509 *x);
[all …]
/netbsd/crypto/external/bsd/openssl/dist/doc/man3/
H A Dd2i_PrivateKey.pod16 EVP_PKEY *d2i_PrivateKey_ex(int type, EVP_PKEY **a, const unsigned char **pp,
19 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp,
21 EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
23 EVP_PKEY *d2i_KeyParams(int type, EVP_PKEY **a, const unsigned char **pp,
25 EVP_PKEY *d2i_AutoPrivateKey_ex(EVP_PKEY **a, const unsigned char **pp,
28 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp,
35 EVP_PKEY *d2i_KeyParams_bio(int type, EVP_PKEY **a, BIO *in);
40 EVP_PKEY *d2i_PrivateKey_ex_bio(BIO *bp, EVP_PKEY **a, OSSL_LIB_CTX *libctx,
42 EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a);
43 EVP_PKEY *d2i_PrivateKey_ex_fp(FILE *fp, EVP_PKEY **a, OSSL_LIB_CTX *libctx,
[all …]
H A DEVP_PKEY_ASN1_METHOD.pod161 int (*pub_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
195 int (*pkey_size) (const EVP_PKEY *pk);
196 int (*pkey_bits) (const EVP_PKEY *pk);
205 int (*param_decode) (EVP_PKEY *pkey,
208 int (*param_missing) (const EVP_PKEY *pk);
209 int (*param_copy) (EVP_PKEY *to, const EVP_PKEY *from);
210 int (*param_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
250 void (*pkey_free) (EVP_PKEY *pkey);
264 int (*old_priv_decode) (EVP_PKEY *pkey,
344 int (*pkey_check) (const EVP_PKEY *pk);
[all …]
H A DEVP_PKEY_set1_RSA.pod14 EVP_PKEY assignment functions
20 int EVP_PKEY_get_id(const EVP_PKEY *pkey);
21 int EVP_PKEY_get_base_id(const EVP_PKEY *pkey);
31 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key);
32 int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key);
33 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *key);
36 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
37 DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
38 DH *EVP_PKEY_get1_DH(EVP_PKEY *pkey);
39 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/asn1/
H A 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()
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()
318 int (*priv_decode) (EVP_PKEY *pk, in EVP_PKEY_asn1_set_private()
334 int (*param_decode) (EVP_PKEY *pkey, in EVP_PKEY_asn1_set_param()
340 int (*param_copy) (EVP_PKEY *to, in EVP_PKEY_asn1_set_param()
342 int (*param_cmp) (const EVP_PKEY *a, in EVP_PKEY_asn1_set_param()
343 const EVP_PKEY *b), in EVP_PKEY_asn1_set_param()
357 void (*pkey_free) (EVP_PKEY *pkey)) in EVP_PKEY_asn1_set_free()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DEVP_PKEY_ASN1_METHOD.pod161 int (*pub_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
195 int (*pkey_size) (const EVP_PKEY *pk);
196 int (*pkey_bits) (const EVP_PKEY *pk);
205 int (*param_decode) (EVP_PKEY *pkey,
208 int (*param_missing) (const EVP_PKEY *pk);
209 int (*param_copy) (EVP_PKEY *to, const EVP_PKEY *from);
210 int (*param_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
250 void (*pkey_free) (EVP_PKEY *pkey);
264 int (*old_priv_decode) (EVP_PKEY *pkey,
344 int (*pkey_check) (const EVP_PKEY *pk);
[all …]
H A DEVP_PKEY_set1_RSA.pod20 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *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);
31 RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey);
32 DSA *EVP_PKEY_get0_DSA(EVP_PKEY *pkey);
33 DH *EVP_PKEY_get0_DH(EVP_PKEY *pkey);
34 EC_KEY *EVP_PKEY_get0_EC_KEY(EVP_PKEY *pkey);
43 int EVP_PKEY_id(const EVP_PKEY *pkey);
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/dh/
H A Ddh_ameth.c55 static void int_dh_free(EVP_PKEY *pkey) in int_dh_free()
227 static int dh_param_decode(EVP_PKEY *pkey, in dh_param_decode()
300 static int int_dh_size(const EVP_PKEY *pkey) in int_dh_size()
305 static int dh_bits(const EVP_PKEY *pkey) in dh_bits()
310 static int dh_security_bits(const EVP_PKEY *pkey) in dh_security_bits()
315 static int dh_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in dh_cmp_parameters()
346 static int dh_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in dh_copy_parameters()
357 static int dh_missing_parameters(const EVP_PKEY *a) in dh_missing_parameters()
364 static int dh_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in dh_pub_cmp()
513 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(pctx); in dh_pkey_import_from_type()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/ec/
H A Dec_ameth.c131 static int eckey_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in eckey_pub_cmp()
205 static int int_ec_size(const EVP_PKEY *pkey) in int_ec_size()
210 static int ec_bits(const EVP_PKEY *pkey) in ec_bits()
239 static int ec_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in ec_copy_parameters()
259 static int ec_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in ec_cmp_parameters()
272 static void int_ec_free(EVP_PKEY *pkey) in int_ec_free()
346 static int eckey_param_decode(EVP_PKEY *pkey, in eckey_param_decode()
380 static int old_ec_priv_decode(EVP_PKEY *pkey, in old_ec_priv_decode()
423 static int ec_pkey_check(const EVP_PKEY *pkey) in ec_pkey_check()
466 size_t ec_pkey_dirty_cnt(const EVP_PKEY *pkey) in ec_pkey_dirty_cnt()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/pem/
H A 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()
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()
156 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_fp()
163 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, in PEM_write_PKCS8PrivateKey_nid()
193 EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_fp()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/dsa/
H A Ddsa_ameth.c218 static int int_dsa_size(const EVP_PKEY *pkey) in int_dsa_size()
223 static int dsa_bits(const EVP_PKEY *pkey) in dsa_bits()
228 static int dsa_security_bits(const EVP_PKEY *pkey) in dsa_security_bits()
243 static int dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in dsa_copy_parameters()
257 static int dsa_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in dsa_cmp_parameters()
262 static int dsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in dsa_pub_cmp()
267 static void int_dsa_free(EVP_PKEY *pkey) in int_dsa_free()
320 static int dsa_param_decode(EVP_PKEY *pkey, in dsa_param_decode()
356 static int old_dsa_priv_decode(EVP_PKEY *pkey, in old_dsa_priv_decode()
482 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(pctx); in dsa_pkey_import_from()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dx_pubkey.c23 EVP_PKEY *pkey;
106 EVP_PKEY *pkey = EVP_PKEY_new(); in x509_pubkey_decode()
143 EVP_PKEY *ret = NULL; in X509_PUBKEY_get0()
185 EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, long length) in d2i_PUBKEY()
188 EVP_PKEY *pktmp; in d2i_PUBKEY()
225 EVP_PKEY *pkey; in d2i_RSA_PUBKEY()
246 EVP_PKEY *pktmp; in i2d_RSA_PUBKEY()
265 EVP_PKEY *pkey; in d2i_DSA_PUBKEY()
286 EVP_PKEY *pktmp; in i2d_DSA_PUBKEY()
305 EVP_PKEY *pkey; in d2i_EC_PUBKEY()
[all …]

12345678910>>...28