/dragonfly/crypto/libressl/crypto/evp/ |
H A D | p_lib.c | 141 EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in EVP_PKEY_copy_parameters() 168 EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp_parameters() 178 EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp() 199 EVP_PKEY * 202 EVP_PKEY *ret; in EVP_PKEY_new() 204 ret = malloc(sizeof(EVP_PKEY)); in EVP_PKEY_new() 221 EVP_PKEY_up_ref(EVP_PKEY *pkey) in EVP_PKEY_up_ref() 281 EVP_PKEY * 285 EVP_PKEY *ret = NULL; in EVP_PKEY_new_CMAC_key() 507 EVP_PKEY_free(EVP_PKEY *x) in EVP_PKEY_free() [all …]
|
H A D | evp_pkey.c | 70 EVP_PKEY * 73 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY() 112 EVP_PKEY2PKCS8(EVP_PKEY *pkey) in EVP_PKEY2PKCS8() 145 EVP_PKEY_get_attr_count(const EVP_PKEY *key) in EVP_PKEY_get_attr_count() 151 EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) in EVP_PKEY_get_attr_by_NID() 157 EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, in EVP_PKEY_get_attr_by_OBJ() 164 EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) in EVP_PKEY_get_attr() 170 EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr() 176 EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr() 193 EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, int nid, int type, in EVP_PKEY_add1_attr_by_NID() [all …]
|
H A D | pmeth_gn.c | 90 EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_paramgen() 137 EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_keygen() 205 EVP_PKEY * 209 EVP_PKEY *mac_key = NULL; in EVP_PKEY_new_mac_key() 230 EVP_PKEY *pkey; in EVP_PKEY_check() 251 EVP_PKEY *pkey; in EVP_PKEY_public_check() 272 EVP_PKEY *pkey; in EVP_PKEY_param_check()
|
H A D | evp_locl.h | 195 EVP_PKEY *pkey; 197 EVP_PKEY *peerkey; 222 int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 225 int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 263 int (*check)(EVP_PKEY *pkey); 264 int (*public_check)(EVP_PKEY *pkey); 265 int (*param_check)(EVP_PKEY *pkey);
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | asn1_locl.h | 104 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b); 113 int (*pkey_size)(const EVP_PKEY *pk); 114 int (*pkey_bits)(const EVP_PKEY *pk); 115 int (*pkey_security_bits)(const EVP_PKEY *pk); 120 int (*param_missing)(const EVP_PKEY *pk); 121 int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from); 122 int (*param_cmp)(const EVP_PKEY *a, const EVP_PKEY *b); 128 void (*pkey_free)(EVP_PKEY *pkey); 142 int (*pkey_check)(const EVP_PKEY *pk); 143 int (*pkey_public_check)(const EVP_PKEY *pk); [all …]
|
H A D | ameth_lib.c | 307 EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) in EVP_PKEY_get0_asn1() 375 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), in EVP_PKEY_asn1_set_public() 378 int (*pkey_size)(const EVP_PKEY *pk), in EVP_PKEY_asn1_set_public() 379 int (*pkey_bits)(const EVP_PKEY *pk)) in EVP_PKEY_asn1_set_public() 405 int (*param_missing)(const EVP_PKEY *pk), in EVP_PKEY_asn1_set_param() 406 int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from), in EVP_PKEY_asn1_set_param() 407 int (*param_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), in EVP_PKEY_asn1_set_param() 421 void (*pkey_free)(EVP_PKEY *pkey)) in EVP_PKEY_asn1_set_free() 442 int (*pkey_check)(const EVP_PKEY *pk)) in EVP_PKEY_asn1_set_check() 449 int (*pkey_public_check)(const EVP_PKEY *pk)) in EVP_PKEY_asn1_set_public_check() [all …]
|
H A D | x_pubkey.c | 178 EVP_PKEY * 181 EVP_PKEY *ret = NULL; in X509_PUBKEY_get0() 230 EVP_PKEY * 233 EVP_PKEY *pkey; in X509_PUBKEY_get() 254 EVP_PKEY *pkey = NULL; in pubkey_ex_d2i() 308 EVP_PKEY *pkey, *pktmp; in pubkey_ex_i2d() 316 pkey = (EVP_PKEY *)*pval; in pubkey_ex_i2d() 362 EVP_PKEY_free((EVP_PKEY *)*pval); in pkey_pubkey_ex_free() 400 EVP_PKEY * 413 EVP_PKEY * [all …]
|
H A D | a_pkey.c | 77 EVP_PKEY * 78 d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) in d2i_PrivateKey() 81 EVP_PKEY *ret; in d2i_PrivateKey() 128 i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) in i2d_PrivateKey() 145 EVP_PKEY * 146 d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, long length) in d2i_AutoPrivateKey() 169 EVP_PKEY *ret; in d2i_AutoPrivateKey()
|
/dragonfly/crypto/libressl/include/openssl/ |
H A D | evp.h | 506 EVP_PKEY *pkey); 827 EVP_PKEY *EVP_PKEY_new(void); 831 EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, 835 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, 837 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, 841 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from); 844 int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b); 846 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); 931 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), 945 int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from), [all …]
|
H A D | pem.h | 410 unsigned int *siglen, EVP_PKEY *pkey); 465 DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY) 467 DECLARE_PEM_rw(PUBKEY, EVP_PKEY) 483 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, 496 EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, 502 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x); 503 int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x); 508 EVP_PKEY *b2i_PrivateKey_bio(BIO *in); 509 EVP_PKEY *b2i_PublicKey_bio(BIO *in); 510 int i2b_PrivateKey_bio(BIO *out, EVP_PKEY *pk); [all …]
|
H A D | x509.h | 312 EVP_PKEY *dec_pkey; 438 int X509_verify(X509 *a, EVP_PKEY *r); 508 EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a); 509 int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey); 510 EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a); 546 EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a); 547 int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey); 548 EVP_PKEY *d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a); 610 EVP_PKEY * d2i_PUBKEY(EVP_PKEY **a,const unsigned char **pp, 802 EVP_PKEY * X509_get_pubkey(X509 *x); [all …]
|
/dragonfly/crypto/libressl/crypto/dh/ |
H A D | dh_ameth.c | 72 int_dh_free(EVP_PKEY *pkey) in int_dh_free() 78 dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dh_pub_decode() 389 int_dh_size(const EVP_PKEY *pkey) in int_dh_size() 395 dh_bits(const EVP_PKEY *pkey) in dh_bits() 401 dh_security_bits(const EVP_PKEY *pkey) in dh_security_bits() 407 dh_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in dh_cmp_parameters() 417 dh_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in dh_copy_parameters() 435 dh_missing_parameters(const EVP_PKEY *a) in dh_missing_parameters() 443 dh_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in dh_pub_cmp() 478 dh_pkey_public_check(const EVP_PKEY *pkey) in dh_pkey_public_check() [all …]
|
/dragonfly/crypto/libressl/crypto/pem/ |
H A D | pem_pk8.c | 70 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, 72 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder, int nid, 96 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio() 103 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio() 156 EVP_PKEY * 162 EVP_PKEY *ret; in d2i_PKCS8PrivateKey_bio() 194 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp() 201 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, in i2d_PKCS8PrivateKey_nid_fp() 215 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_PKCS8PrivateKey() 237 EVP_PKEY * [all …]
|
H A D | pem_pkey.c | 81 EVP_PKEY * 89 EVP_PKEY *ret = NULL; in PEM_read_bio_PrivateKey() 152 PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PrivateKey() 164 PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x, in PEM_write_bio_PrivateKey_traditional() 176 EVP_PKEY * 177 PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x) in PEM_read_bio_Parameters() 184 EVP_PKEY *ret = NULL; in PEM_read_bio_Parameters() 217 PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x) in PEM_write_bio_Parameters() 230 EVP_PKEY * 234 EVP_PKEY *ret; in PEM_read_PrivateKey() [all …]
|
H A D | pvkfmt.c | 250 static EVP_PKEY * 272 static EVP_PKEY * 279 EVP_PKEY *ret = NULL; in do_b2i_bio() 311 static EVP_PKEY * 363 static EVP_PKEY * 412 EVP_PKEY * 418 EVP_PKEY * 424 EVP_PKEY * 430 EVP_PKEY * 721 static EVP_PKEY * [all …]
|
H A D | pem_all.c | 281 pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in pkey_get_rsa() 301 EVP_PKEY *pktmp; in PEM_read_RSAPrivateKey() 318 EVP_PKEY *pktmp; in PEM_read_bio_RSAPrivateKey() 394 pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in pkey_get_dsa() 414 EVP_PKEY *pktmp; in PEM_read_DSAPrivateKey() 431 EVP_PKEY *pktmp; in PEM_read_bio_DSAPrivateKey() 555 EVP_PKEY *pktmp; in PEM_read_ECPrivateKey() 572 EVP_PKEY *pktmp; in PEM_read_bio_ECPrivateKey() 648 EVP_PKEY * 656 PEM_write_PUBKEY(FILE *fp, EVP_PKEY *x) in PEM_write_PUBKEY() [all …]
|
/dragonfly/crypto/libressl/crypto/x509/ |
H A D | x_all.c | 328 EVP_PKEY * 329 d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a) in d2i_PrivateKey_bio() 336 i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PrivateKey_bio() 341 EVP_PKEY * 342 d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a) in d2i_PrivateKey_fp() 349 i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PrivateKey_fp() 355 i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key) in i2d_PKCS8PrivateKeyInfo_bio() 369 i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key) in i2d_PKCS8PrivateKeyInfo_fp() 382 X509_verify(X509 *a, EVP_PKEY *r) in X509_verify() 391 X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) in X509_REQ_verify() [all …]
|
/dragonfly/crypto/libressl/crypto/dsa/ |
H A D | dsa_ameth.c | 76 dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dsa_pub_decode() 133 dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dsa_pub_encode() 297 int_dsa_size(const EVP_PKEY *pkey) in int_dsa_size() 303 dsa_bits(const EVP_PKEY *pkey) in dsa_bits() 309 dsa_security_bits(const EVP_PKEY *pkey) in dsa_security_bits() 315 dsa_missing_parameters(const EVP_PKEY *pkey) in dsa_missing_parameters() 326 dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in dsa_copy_parameters() 348 dsa_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in dsa_cmp_parameters() 359 dsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in dsa_pub_cmp() 368 int_dsa_free(EVP_PKEY *pkey) in int_dsa_free() [all …]
|
/dragonfly/crypto/libressl/crypto/ec/ |
H A D | ec_ameth.c | 227 eckey_pub_cmp(const EVP_PKEY * a, const EVP_PKEY * b) in eckey_pub_cmp() 362 int_ec_size(const EVP_PKEY * pkey) in int_ec_size() 368 ec_bits(const EVP_PKEY * pkey) in ec_bits() 417 ec_copy_parameters(EVP_PKEY * to, const EVP_PKEY * from) in ec_copy_parameters() 423 ec_cmp_parameters(const EVP_PKEY * a, const EVP_PKEY * b) in ec_cmp_parameters() 433 int_ec_free(EVP_PKEY * pkey) in int_ec_free() 523 eckey_param_decode(EVP_PKEY * pkey, in eckey_param_decode() 564 old_ec_priv_decode(EVP_PKEY * pkey, in old_ec_priv_decode() 688 EVP_PKEY *pkpeer = NULL; in ecdh_cms_set_peerkey() 700 EVP_PKEY *pk; in ecdh_cms_set_peerkey() [all …]
|
/dragonfly/crypto/libressl/crypto/gost/ |
H A D | gostr341001_ameth.c | 71 pkey_free_gost01(EVP_PKEY *key) in pkey_free_gost01() 125 encode_gost01_algor_params(const EVP_PKEY *key) in encode_gost01_algor_params() 157 pub_cmp_gost01(const EVP_PKEY *a, const EVP_PKEY *b) in pub_cmp_gost01() 175 pkey_size_gost01(const EVP_PKEY *pk) in pkey_size_gost01() 183 pkey_bits_gost01(const EVP_PKEY *pk) in pkey_bits_gost01() 191 pub_decode_gost01(EVP_PKEY *pk, X509_PUBKEY *pub) in pub_decode_gost01() 243 pub_encode_gost01(X509_PUBKEY *pub, const EVP_PKEY *pk) in pub_encode_gost01() 484 priv_encode_gost01(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk) in priv_encode_gost01() 577 param_missing_gost01(const EVP_PKEY *pk) in param_missing_gost01() 591 param_copy_gost01(EVP_PKEY *to, const EVP_PKEY *from) in param_copy_gost01() [all …]
|
/dragonfly/crypto/libressl/crypto/hmac/ |
H A D | hm_ameth.c | 77 hmac_size(const EVP_PKEY *pkey) in hmac_size() 83 hmac_key_free(EVP_PKEY *pkey) in hmac_key_free() 95 hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) in hmac_pkey_ctrl() 113 old_hmac_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) in old_hmac_decode() 132 old_hmac_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_hmac_encode()
|
/dragonfly/crypto/libressl/crypto/rsa/ |
H A D | rsa_ameth.c | 135 rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in rsa_pub_encode() 157 rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in rsa_pub_decode() 182 rsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in rsa_pub_cmp() 263 int_rsa_size(const EVP_PKEY *pkey) in int_rsa_size() 269 rsa_bits(const EVP_PKEY *pkey) in rsa_bits() 275 rsa_security_bits(const EVP_PKEY *pkey) in rsa_security_bits() 281 int_rsa_free(EVP_PKEY *pkey) in int_rsa_free() 528 rsa_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) in rsa_pkey_ctrl() 659 EVP_PKEY *pk = EVP_PKEY_CTX_get0_pkey(pkctx); in rsa_ctx_to_pss() 731 X509_ALGOR *sigalg, EVP_PKEY *pkey) in rsa_pss_to_ctx() [all …]
|
/dragonfly/crypto/libressl/crypto/engine/ |
H A D | eng_pkey.c | 104 EVP_PKEY * 108 EVP_PKEY *pkey; in ENGINE_load_private_key() 133 EVP_PKEY * 137 EVP_PKEY *pkey; in ENGINE_load_public_key() 164 X509 **pcert, EVP_PKEY **ppkey, STACK_OF(X509) **pother, in ENGINE_load_ssl_client_cert()
|
/dragonfly/crypto/libressl/crypto/pkcs12/ |
H A D | p12_kiss.c | 69 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 72 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 75 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 84 PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse() 175 parse_pk12(PKCS12 *p12, const char *pass, int passlen, EVP_PKEY **pkey, in parse_pk12() 211 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bags() 224 parse_bag(PKCS12_SAFEBAG *bag, const char *pass, int passlen, EVP_PKEY **pkey, in parse_bag()
|
/dragonfly/crypto/libressl/ssl/ |
H A D | ssl_rsa.c | 150 EVP_PKEY *pkey; in SSL_use_RSAPrivateKey() 171 ssl_set_pkey(SSL_CTX *ctx, SSL *ssl, EVP_PKEY *pkey) in ssl_set_pkey() 186 EVP_PKEY *pktmp; in ssl_set_pkey() 280 SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey() 297 EVP_PKEY *pkey = NULL; in SSL_use_PrivateKey_file() 336 EVP_PKEY *pkey; in SSL_use_PrivateKey_ASN1() 375 EVP_PKEY *pkey; in ssl_set_cert() 401 EVP_PKEY *priv_key = c->pkeys[i].privatekey; in ssl_set_cert() 500 EVP_PKEY *pkey; in SSL_CTX_use_RSAPrivateKey() 590 EVP_PKEY *pkey = NULL; in SSL_CTX_use_PrivateKey_file() [all …]
|