Home
last modified time | relevance | path

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

12345

/minix3/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dp_lib.c85 int EVP_PKEY_bits(EVP_PKEY *pkey) in EVP_PKEY_bits()
92 int EVP_PKEY_size(EVP_PKEY *pkey) in EVP_PKEY_size()
99 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) in EVP_PKEY_save_parameters()
139 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) in EVP_PKEY_missing_parameters()
201 static int pkey_set_type(EVP_PKEY *pkey, int type, const char *str, int len) in pkey_set_type()
244 int EVP_PKEY_set_type(EVP_PKEY *pkey, int type) in EVP_PKEY_set_type()
249 int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len) in EVP_PKEY_set_type_str()
254 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key) in EVP_PKEY_assign()
262 void *EVP_PKEY_get0(EVP_PKEY *pkey) in EVP_PKEY_get0()
268 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) in EVP_PKEY_set1_RSA()
[all …]
H A Devp_extra_test.c252 EVP_PKEY *pkey = NULL; in load_example_rsa_key() local
281 EVP_PKEY *pkey = NULL; in test_EVP_DigestSignInit() local
339 EVP_PKEY *pkey = NULL; in test_EVP_DigestVerifyInit() local
371 EVP_PKEY *pkey = NULL; in test_d2i_AutoPrivateKey() local
405 EVP_PKEY *pkey = NULL; in test_EVP_PKCS82PKEY() local
H A Dm_sigver.c68 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey, in do_sigver_init()
112 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) in EVP_DigestSignInit()
118 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) in EVP_DigestVerifyInit()
H A Devp_pkey.c71 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY() local
107 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey) in EVP_PKEY2PKCS8()
114 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8_broken(EVP_PKEY *pkey, int broken) in EVP_PKEY2PKCS8_broken()
/minix3/crypto/external/bsd/openssl/dist/crypto/hmac/
H A Dhm_ameth.c71 static int hmac_size(const EVP_PKEY *pkey) in hmac_size()
76 static void hmac_key_free(EVP_PKEY *pkey) in hmac_key_free()
86 static int hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) in hmac_pkey_ctrl()
105 static int old_hmac_decode(EVP_PKEY *pkey, in old_hmac_decode()
116 static int old_hmac_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_hmac_encode()
/minix3/crypto/external/bsd/openssl/dist/crypto/dsa/
H A Ddsa_ameth.c70 static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dsa_pub_decode()
129 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dsa_pub_encode()
180 static int dsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) in dsa_priv_decode()
284 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dsa_priv_encode()
338 static int int_dsa_size(const EVP_PKEY *pkey) in int_dsa_size()
343 static int dsa_bits(const EVP_PKEY *pkey) in dsa_bits()
348 static int dsa_missing_parameters(const EVP_PKEY *pkey) in dsa_missing_parameters()
399 static void int_dsa_free(EVP_PKEY *pkey) in int_dsa_free()
476 static int dsa_param_decode(EVP_PKEY *pkey, in dsa_param_decode()
488 static int dsa_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in dsa_param_encode()
[all …]
/minix3/crypto/external/bsd/openssl/dist/crypto/dh/
H A Ddh_ameth.c67 static void int_dh_free(EVP_PKEY *pkey) in int_dh_free()
72 static int dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dh_pub_decode()
126 static int dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dh_pub_encode()
181 static int dh_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) in dh_priv_decode()
232 static int dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dh_priv_encode()
291 static int dh_param_decode(EVP_PKEY *pkey, in dh_param_decode()
303 static int dh_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in dh_param_encode()
384 static int int_dh_size(const EVP_PKEY *pkey) in int_dh_size()
389 static int dh_bits(const EVP_PKEY *pkey) in dh_bits()
439 static int dh_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dh_param_print()
[all …]
/minix3/crypto/external/bsd/openssl/dist/crypto/ec/
H A Dec_ameth.c101 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in eckey_pub_encode()
180 static int eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in eckey_pub_decode()
228 static int eckey_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) in eckey_priv_decode()
296 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in eckey_priv_encode()
349 static int int_ec_size(const EVP_PKEY *pkey) in int_ec_size()
354 static int ec_bits(const EVP_PKEY *pkey) in ec_bits()
375 static int ec_missing_parameters(const EVP_PKEY *pkey) in ec_missing_parameters()
403 static void int_ec_free(EVP_PKEY *pkey) in int_ec_free()
497 static int eckey_param_decode(EVP_PKEY *pkey, in eckey_param_decode()
509 static int eckey_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in eckey_param_encode()
[all …]
/minix3/crypto/external/bsd/openssl/dist/crypto/rsa/
H A Drsa_ameth.c71 static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in rsa_pub_encode()
86 static int rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in rsa_pub_decode()
109 static int old_rsa_priv_decode(EVP_PKEY *pkey, in old_rsa_priv_decode()
121 static int old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_rsa_priv_encode()
126 static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in rsa_priv_encode()
146 static int rsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) in rsa_priv_decode()
155 static int int_rsa_size(const EVP_PKEY *pkey) in int_rsa_size()
160 static int rsa_bits(const EVP_PKEY *pkey) in rsa_bits()
165 static void int_rsa_free(EVP_PKEY *pkey) in int_rsa_free()
249 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print()
[all …]
/minix3/crypto/external/bsd/openssl/dist/crypto/cmac/
H A Dcm_ameth.c65 static int cmac_size(const EVP_PKEY *pkey) in cmac_size()
70 static void cmac_key_free(EVP_PKEY *pkey) in cmac_key_free()
/minix3/crypto/external/bsd/openssl/dist/test/
H A Devp_extra_test.c252 EVP_PKEY *pkey = NULL; in load_example_rsa_key() local
281 EVP_PKEY *pkey = NULL; in test_EVP_DigestSignInit() local
339 EVP_PKEY *pkey = NULL; in test_EVP_DigestVerifyInit() local
371 EVP_PKEY *pkey = NULL; in test_d2i_AutoPrivateKey() local
405 EVP_PKEY *pkey = NULL; in test_EVP_PKCS82PKEY() local
/minix3/crypto/external/bsd/openssl/dist/demos/
H A Dspkigen.c28 #define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\ argument
37 EVP_PKEY *pkey = NULL; local
101 int EVP_PKEY_assign(pkey, type, key) in EVP_PKEY_assign() argument
125 int SPKI_set_pubkey(x, pkey) in SPKI_set_pubkey() argument
/minix3/crypto/external/bsd/openssl/dist/crypto/pkcs12/
H A Dp12_kiss.c82 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse()
181 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_pk12()
215 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bags()
227 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bag()
/minix3/external/bsd/bind/dist/lib/dns/
H A Dopensslecdsa_link.c131 EVP_PKEY *pkey = key->keydata.pkey; in opensslecdsa_sign() local
183 EVP_PKEY *pkey = key->keydata.pkey; in opensslecdsa_verify() local
289 EVP_PKEY *pkey; in opensslecdsa_generate() local
334 EVP_PKEY *pkey = key->keydata.pkey; in opensslecdsa_isprivate() local
345 EVP_PKEY *pkey = key->keydata.pkey; in opensslecdsa_destroy() local
354 EVP_PKEY *pkey; in opensslecdsa_todns() local
390 EVP_PKEY *pkey; in opensslecdsa_fromdns() local
451 EVP_PKEY *pkey; in opensslecdsa_tofile() local
496 EVP_PKEY *pkey; in ecdsa_check() local
526 EVP_PKEY *pkey; in opensslecdsa_parse() local
H A Dopensslgost_link.c158 EVP_PKEY *pkey = key->keydata.pkey; in opensslgost_sign() local
178 EVP_PKEY *pkey = key->keydata.pkey; in opensslgost_verify() local
233 EVP_PKEY *pkey = NULL; in opensslgost_generate() local
270 EVP_PKEY *pkey = key->keydata.pkey; in opensslgost_isprivate() local
281 EVP_PKEY *pkey = key->keydata.pkey; in opensslgost_destroy() local
297 EVP_PKEY *pkey; in opensslgost_todns() local
323 EVP_PKEY *pkey = NULL; in opensslgost_fromdns() local
351 EVP_PKEY *pkey; in opensslgost_tofile() local
395 EVP_PKEY *pkey; in opensslgost_tofile() local
453 EVP_PKEY *pkey = NULL; in opensslgost_parse() local
H A Dopensslrsa_link.c382 EVP_PKEY *pkey = key->keydata.pkey; in opensslrsa_sign() local
520 EVP_PKEY *pkey = key->keydata.pkey; in opensslrsa_verify2() local
776 EVP_PKEY *pkey = EVP_PKEY_new(); in opensslrsa_generate() local
891 EVP_PKEY *pkey = key->keydata.pkey; in opensslrsa_destroy() local
910 EVP_PKEY *pkey; in opensslrsa_todns() local
971 EVP_PKEY *pkey; in opensslrsa_fromdns() local
1199 EVP_PKEY *pkey = NULL; in opensslrsa_parse() local
1385 EVP_PKEY *pkey = NULL; in opensslrsa_fromlabel() local
/minix3/crypto/external/bsd/openssl/dist/ssl/
H A Dssl_rsa.c146 EVP_PKEY *pkey; in SSL_use_RSAPrivateKey() local
171 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) in ssl_set_pkey()
276 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey()
297 EVP_PKEY *pkey = NULL; in SSL_use_PrivateKey_file() local
340 EVP_PKEY *pkey; in SSL_use_PrivateKey_ASN1() local
368 EVP_PKEY *pkey; in ssl_set_cert() local
489 EVP_PKEY *pkey; in SSL_CTX_use_RSAPrivateKey() local
573 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey()
591 EVP_PKEY *pkey = NULL; in SSL_CTX_use_PrivateKey_file() local
633 EVP_PKEY *pkey; in SSL_CTX_use_PrivateKey_ASN1() local
/minix3/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Dameth_lib.c276 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(EVP_PKEY *pkey) in EVP_PKEY_get0_asn1()
399 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_public()
419 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_private()
428 void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_param()
432 int (*param_encode) (const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_param()
451 void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_free()
457 void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_ctrl()
H A Da_sign.c131 ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey, in ASN1_sign()
221 EVP_PKEY *pkey, const EVP_MD *type) in ASN1_item_sign()
237 EVP_PKEY *pkey; in ASN1_item_sign_ctx() local
H A Da_verify.c78 char *data, EVP_PKEY *pkey) in ASN1_verify()
137 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey) in ASN1_item_verify()
/minix3/crypto/external/bsd/openssl/dist/engines/ccgost/
H A Dgost_pmeth.c25 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx); in pkey_gost_init() local
252 static int pkey_gost94_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_gost94_paramgen()
269 static int pkey_gost01_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_gost01_paramgen()
289 static int pkey_gost94cp_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_gost94cp_keygen()
300 static int pkey_gost01cp_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_gost01cp_keygen()
317 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx); in pkey_gost94_cp_sign() local
336 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx); in pkey_gost01_cp_sign() local
468 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx); in pkey_gost_mac_ctrl() local
519 static int pkey_gost_mac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_gost_mac_keygen()
H A Dgost_ameth.c90 static int decode_gost_algor_params(EVP_PKEY *pkey, X509_ALGOR *palg) in decode_gost_algor_params()
151 static int gost_set_priv_key(EVP_PKEY *pkey, BIGNUM *priv) in gost_set_priv_key()
183 BIGNUM *gost_get0_priv_key(const EVP_PKEY *pkey) in gost_get0_priv_key()
213 static int pkey_ctrl_gost(EVP_PKEY *pkey, int op, long arg1, void *arg2) in pkey_ctrl_gost()
364 static int print_gost_94(BIO *out, const EVP_PKEY *pkey, int indent, in print_gost_94()
398 static int param_print_gost94(BIO *out, const EVP_PKEY *pkey, int indent, in param_print_gost94()
404 static int pub_print_gost94(BIO *out, const EVP_PKEY *pkey, int indent, in pub_print_gost94()
410 static int priv_print_gost94(BIO *out, const EVP_PKEY *pkey, int indent, in priv_print_gost94()
416 static int print_gost_01(BIO *out, const EVP_PKEY *pkey, int indent, in print_gost_01()
479 static int param_print_gost01(BIO *out, const EVP_PKEY *pkey, int indent, in param_print_gost01()
[all …]
/minix3/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx509type.c65 int X509_certificate_type(X509 *x, EVP_PKEY *pkey) in X509_certificate_type()
H A Dx509_r2x.c68 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509()
/minix3/crypto/external/bsd/openssl/dist/demos/pkcs12/
H A Dpkwrite.c14 EVP_PKEY *pkey; in main() local

12345