Home
last modified time | relevance | path

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

12345678910>>...18

/third_party/node/deps/openssl/openssl/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
/third_party/openssl/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
/third_party/openssl/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 …]
/third_party/node/deps/openssl/openssl/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 …]
/third_party/openssl/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 …]
/third_party/node/deps/openssl/openssl/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 …]
/third_party/openssl/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 …]
/third_party/node/deps/openssl/openssl/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 …]
/third_party/node/deps/openssl/openssl/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 …]
/third_party/openssl/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()
73 static int rsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in rsa_pub_decode()
126 static int old_rsa_priv_decode(EVP_PKEY *pkey, in old_rsa_priv_decode()
137 static int old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_rsa_priv_encode()
142 static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in rsa_priv_encode()
170 static int rsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in rsa_priv_decode()
182 static int int_rsa_size(const EVP_PKEY *pkey) in int_rsa_size()
187 static int rsa_bits(const EVP_PKEY *pkey) in rsa_bits()
192 static int rsa_security_bits(const EVP_PKEY *pkey) in rsa_security_bits()
[all …]
/third_party/openssl/demos/pkey/
DEVP_PKEY_RSA_keygen.c38 EVP_PKEY *pkey = NULL; in generate_rsa_key_long() local
110 EVP_PKEY *pkey = NULL; in generate_rsa_key_short() local
124 static int dump_key(const EVP_PKEY *pkey) in dump_key()
244 EVP_PKEY *pkey = NULL; in main() local
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_pkey.c28 EVP_PKEY *pkey; in __EVP_PKEY_new() local
67 void EVP_PKEY_free(EVP_PKEY *pkey) in EVP_PKEY_free()
87 EVP_PKEY *pkey; in d2i_PrivateKey() local
126 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey()
145 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey()
/third_party/ltp/testcases/kernel/syscalls/pkeys/
Dpkey.h20 inline int ltp_pkey_mprotect(void *addr, size_t len, int prot, int pkey) in ltp_pkey_mprotect()
30 inline int ltp_pkey_free(int pkey) in ltp_pkey_free()
42 int pkey = ltp_pkey_alloc(0, 0); in check_pkey_support() local
/third_party/node/deps/openssl/openssl/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()
/third_party/openssl/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()
/third_party/openssl/demos/encode/
Drsa_encode.c32 EVP_PKEY *pkey = NULL; in load_key() local
101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase) in store_key()
175 EVP_PKEY *pkey = NULL; in main() local
Dec_encode.c32 EVP_PKEY *pkey = NULL; in load_key() local
101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase) in store_key()
178 EVP_PKEY *pkey = NULL; in main() local
/third_party/openssl/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
/third_party/node/deps/openssl/openssl/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

12345678910>>...18