Home
last modified time | relevance | path

Searched defs:pkey (Results 1 – 25 of 166) sorted by relevance

1234567

/netbsd/src/crypto/external/bsd/openssl/dist/crypto/evp/
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()
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()
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()
Dp_lib.c62 int EVP_PKEY_get_bits(const EVP_PKEY *pkey) in EVP_PKEY_get_bits()
74 int EVP_PKEY_get_security_bits(const EVP_PKEY *pkey) in EVP_PKEY_get_security_bits()
86 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) in EVP_PKEY_save_parameters()
218 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) in EVP_PKEY_missing_parameters()
383 EVP_PKEY *pkey = NULL; in new_raw_key_int() local
550 int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv, in EVP_PKEY_get_raw_private_key()
582 int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub, in EVP_PKEY_get_raw_public_key()
625 EVP_PKEY *pkey = NULL; in new_cmac_key_int() local
680 int EVP_PKEY_set_type(EVP_PKEY *pkey, int type) in EVP_PKEY_set_type()
685 int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len) in EVP_PKEY_set_type_str()
[all …]
Dpmeth_check.c49 EVP_PKEY *pkey = ctx->pkey; in evp_pkey_public_check_combined() local
93 EVP_PKEY *pkey = ctx->pkey; in evp_pkey_param_check_combined() local
138 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_private_check() local
162 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_pairwise_check() local
Dp_verify.c18 unsigned int siglen, EVP_PKEY *pkey, OSSL_LIB_CTX *libctx, in EVP_VerifyFinal_ex()
60 unsigned int siglen, EVP_PKEY *pkey) in EVP_VerifyFinal()
Dp_sign.c18 unsigned int *siglen, EVP_PKEY *pkey, OSSL_LIB_CTX *libctx, in EVP_SignFinal_ex()
66 unsigned int *siglen, EVP_PKEY *pkey) in EVP_SignFinal()
Dm_sigver.c42 ENGINE *e, EVP_PKEY *pkey, int ver, in do_sigver_init()
376 const char *props, EVP_PKEY *pkey, in EVP_DigestSignInit_ex()
384 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) in EVP_DigestSignInit()
392 const char *props, EVP_PKEY *pkey, in EVP_DigestVerifyInit_ex()
400 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) in EVP_DigestVerifyInit()
Devp_pkey.c27 EVP_PKEY *pkey = NULL; in evp_pkcs82pkey_legacy() local
69 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY_ex() local
103 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(const EVP_PKEY *pkey) in EVP_PKEY2PKCS8()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/dh/
Ddh_ameth.c34 static DH *d2i_dhp(const EVP_PKEY *pkey, const unsigned char **pp, in d2i_dhp()
48 static int i2d_dhp(const EVP_PKEY *pkey, const DH *a, unsigned char **pp) in i2d_dhp()
55 static void int_dh_free(EVP_PKEY *pkey) in int_dh_free()
60 static int dh_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in dh_pub_decode()
111 static int dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dh_pub_encode()
164 static int dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dh_priv_decode()
177 static int dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dh_priv_encode()
227 static int dh_param_decode(EVP_PKEY *pkey, in dh_param_decode()
239 static int dh_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in dh_param_encode()
300 static int int_dh_size(const EVP_PKEY *pkey) in int_dh_size()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/dsa/
Ddsa_ameth.c29 static int dsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in dsa_pub_decode()
87 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dsa_pub_encode()
150 static int dsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dsa_priv_decode()
163 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dsa_priv_encode()
218 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()
233 static int dsa_missing_parameters(const EVP_PKEY *pkey) in dsa_missing_parameters()
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()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/ec/
Dec_ameth.c68 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in eckey_pub_encode()
100 static int eckey_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in eckey_pub_decode()
148 static int eckey_priv_decode_ex(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8, in eckey_priv_decode_ex()
162 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in eckey_priv_encode()
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()
215 static int ec_security_bits(const EVP_PKEY *pkey) in ec_security_bits()
232 static int ec_missing_parameters(const EVP_PKEY *pkey) in ec_missing_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()
[all …]
Decx_meth.c31 static int ecx_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in ecx_pub_encode()
56 static int ecx_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in ecx_pub_decode()
86 static int ecx_priv_decode_ex(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8, in ecx_priv_decode_ex()
100 static int ecx_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in ecx_priv_encode()
132 static int ecx_size(const EVP_PKEY *pkey) in ecx_size()
137 static int ecx_bits(const EVP_PKEY *pkey) in ecx_bits()
148 static int ecx_security_bits(const EVP_PKEY *pkey) in ecx_security_bits()
157 static void ecx_free(EVP_PKEY *pkey) in ecx_free()
168 static int ecx_key_print(BIO *bp, const EVP_PKEY *pkey, int indent, in ecx_key_print()
205 static int ecx_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in ecx_priv_print()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/rsa/
Drsa_ameth.c29 static int rsa_param_encode(const EVP_PKEY *pkey, in rsa_param_encode()
53 static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in rsa_pub_encode()
76 static int rsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in rsa_pub_decode()
129 static int old_rsa_priv_decode(EVP_PKEY *pkey, in old_rsa_priv_decode()
140 static int old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_rsa_priv_encode()
145 static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in rsa_priv_encode()
173 static int rsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in rsa_priv_decode()
185 static int int_rsa_size(const EVP_PKEY *pkey) in int_rsa_size()
190 static int rsa_bits(const EVP_PKEY *pkey) in rsa_bits()
195 static int rsa_security_bits(const EVP_PKEY *pkey) in rsa_security_bits()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/pkcs12/
Dp12_kiss.c33 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse()
137 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_pk12()
172 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bags()
185 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bag()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/asn1/
Da_verify.c28 char *data, EVP_PKEY *pkey) in ASN1_verify()
91 EVP_PKEY *pkey) in ASN1_item_verify()
98 const ASN1_OCTET_STRING *id, EVP_PKEY *pkey, in ASN1_item_verify_ex()
116 EVP_PKEY *pkey; in ASN1_item_verify_ctx() local
Dameth_lib.c215 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) in EVP_PKEY_get0_asn1()
290 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_public()
310 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_private()
319 void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_param()
323 int (*param_encode) (const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_param()
342 void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_free()
348 void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_ctrl()
368 EVP_PKEY *pkey), in EVP_PKEY_asn1_set_item()
Da_sign.c28 ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey, in ASN1_sign()
120 EVP_PKEY *pkey, const EVP_MD *md) in ASN1_item_sign()
129 EVP_PKEY *pkey, const EVP_MD *md, OSSL_LIB_CTX *libctx, in ASN1_item_sign_ex()
156 EVP_PKEY *pkey; in ASN1_item_sign_ctx() local
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Devp_extra_test2.c365 EVP_PKEY *pkey = NULL; in test_dh_paramgen() local
450 EVP_PKEY *pkey = NULL; in test_d2i_AutoPrivateKey_ex() local
507 EVP_PKEY *pkey = NULL, *pkey_dec = NULL; in test_pkcs8key_nid_bio() local
613 EVP_PKEY *pkey = NULL; in test_d2i_PrivateKey_ex() local
643 EVP_PKEY *pkey = NULL; in test_PEM_read_bio_negative() local
723 EVP_PKEY *pkey = NULL; in do_fromdata_key_is_equal() local
891 EVP_PKEY *pkey = NULL; in do_check_params() local
949 EVP_PKEY *pkey = NULL; in test_dsa_todata() local
1035 EVP_PKEY *pkey = NULL, *pkey2 = NULL; in test_dsa_fromdata_digest_prop() local
1071 EVP_PKEY *pkey = NULL; in test_pkey_todata_null() local
[all …]
Dacvp_test.c61 static int pkey_get_bn_bytes(EVP_PKEY *pkey, const char *name, in pkey_get_bn_bytes()
87 static int sig_gen(EVP_PKEY *pkey, OSSL_PARAM *params, const char *digest_name, in sig_gen()
118 EVP_PKEY *pkey = NULL; in ecdsa_keygen_test() local
150 static int ecdsa_create_pkey(EVP_PKEY **pkey, const char *curve_name, in ecdsa_create_pkey()
187 EVP_PKEY *pkey = NULL; in ecdsa_pub_verify_test() local
250 EVP_PKEY *pkey = NULL; in ecdsa_siggen_test() local
278 EVP_PKEY *pkey = NULL; in ecdsa_sigver_test() local
315 static int pkey_get_octet_bytes(EVP_PKEY *pkey, const char *name, in pkey_get_octet_bytes()
448 static int dsa_create_pkey(EVP_PKEY **pkey, in dsa_create_pkey()
592 EVP_PKEY *pkey = NULL; in dsa_siggen_test() local
[all …]
Devp_extra_test.c608 EVP_PKEY *pkey = NULL; in load_example_key() local
667 EVP_PKEY *pkey = NULL; in load_example_hmac_key() local
715 EVP_PKEY *tmp_pkey = NULL, *pkey = NULL; in make_key_fromdata() local
735 static int test_selection(EVP_PKEY *pkey, int selection) in test_selection()
1081 EVP_PKEY *pkey = NULL, *dup_pk = NULL; in test_EC_priv_only_legacy() local
1147 EVP_PKEY *pkey = NULL; in test_EVP_PKEY_sign() local
1208 EVP_PKEY *pkey = NULL; in test_EVP_PKEY_sign_with_app_method() local
1365 EVP_PKEY *pkey = NULL; in test_EVP_DigestSignInit() local
1528 EVP_PKEY *pkey = NULL; in test_EVP_DigestVerifyInit() local
1567 EVP_PKEY *pkey = NULL; in test_siphash_digestsign() local
[all …]
/netbsd/src/external/bsd/ntp/dist/libntp/
Dlibssl_compat.c98 const EVP_PKEY *pkey in sslshim_EVP_PKEY_id()
106 const EVP_PKEY *pkey in sslshim_EVP_PKEY_base_id()
114 EVP_PKEY * pkey in sslshim_EVP_PKEY_get0_RSA()
122 EVP_PKEY * pkey in sslshim_EVP_PKEY_get0_DSA()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/x509/
Dx_pubkey.c35 EVP_PKEY *pkey; member
317 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) in X509_PUBKEY_set()
400 EVP_PKEY *pkey; in x509_pubkey_decode() local
603 EVP_PKEY *pkey; in d2i_RSA_PUBKEY() local
644 EVP_PKEY *pkey; in ossl_d2i_DH_PUBKEY() local
685 EVP_PKEY *pkey; in ossl_d2i_DHx_PUBKEY() local
728 EVP_PKEY *pkey; in d2i_DSA_PUBKEY() local
794 EVP_PKEY *pkey; in d2i_EC_PUBKEY() local
838 EVP_PKEY *pkey; in ossl_d2i_ED25519_PUBKEY() local
879 EVP_PKEY *pkey; in ossl_d2i_ED448_PUBKEY() local
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/ssl/
Dssl_rsa.c118 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) in ssl_set_pkey()
138 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey()
154 EVP_PKEY *pkey = NULL; in SSL_use_PrivateKey_file() local
197 EVP_PKEY *pkey; in SSL_use_PrivateKey_ASN1() local
229 EVP_PKEY *pkey; in ssl_set_cert() local
345 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey()
358 EVP_PKEY *pkey = NULL; in SSL_CTX_use_PrivateKey_file() local
399 EVP_PKEY *pkey; in SSL_CTX_use_PrivateKey_ASN1() local
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/pkcs7/
Dpk7_smime.c23 PKCS7 *PKCS7_sign_ex(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign_ex()
67 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign()
118 EVP_PKEY *pkey, const EVP_MD *md, in PKCS7_sign_add_signer()
495 int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags) in PKCS7_decrypt()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/engine/
Deng_pkey.c59 EVP_PKEY *pkey; in ENGINE_load_private_key() local
88 EVP_PKEY *pkey; in ENGINE_load_public_key() local
/netbsd/src/external/bsd/ntp/dist/util/
Dntp-keygen.c324 EVP_PKEY *pkey = NULL; /* temp key */ in main() local
937 EVP_PKEY *pkey = NULL; /* public/private key */ in readkey() local
1015 EVP_PKEY *pkey; /* private key */ in gen_rsa() local
1068 EVP_PKEY *pkey; /* private key */ in gen_dsa() local
1167 EVP_PKEY *pkey; /* private key */ in gen_iffkey() local
1346 EVP_PKEY *pkey; /* private key */ in gen_gqkey() local
1562 EVP_PKEY *pkey, *pkey1; /* private keys */ in gen_mvkey() local
1976 EVP_PKEY *pkey, /* signing key */ in x509()

1234567