/third_party/openssl/crypto/evp/ |
D | p_lib.c | 29 int EVP_PKEY_bits(const EVP_PKEY *pkey) in EVP_PKEY_bits() 36 int EVP_PKEY_security_bits(const EVP_PKEY *pkey) in EVP_PKEY_security_bits() 45 int EVP_PKEY_size(const EVP_PKEY *pkey) in EVP_PKEY_size() 52 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) in EVP_PKEY_save_parameters() 103 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) in EVP_PKEY_missing_parameters() 161 int EVP_PKEY_up_ref(EVP_PKEY *pkey) in EVP_PKEY_up_ref() 178 static int pkey_set_type(EVP_PKEY *pkey, ENGINE *e, int type, const char *str, in pkey_set_type() 288 int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv, in EVP_PKEY_get_raw_private_key() 305 int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub, in EVP_PKEY_get_raw_public_key() 355 int EVP_PKEY_set_type(EVP_PKEY *pkey, int type) in EVP_PKEY_set_type() [all …]
|
D | pmeth_gn.c | 174 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_check() local 197 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_public_check() local 220 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_param_check() local
|
D | m_sigver.c | 25 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey, in do_sigver_init() 89 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) in EVP_DigestSignInit() 95 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) in EVP_DigestVerifyInit()
|
D | pmeth_lib.c | 103 static EVP_PKEY_CTX *int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) in int_ctx_new() 243 EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e) in EVP_PKEY_CTX_new() 522 EVP_PKEY *pkey)) in EVP_PKEY_meth_set_paramgen() 531 EVP_PKEY *pkey)) in EVP_PKEY_meth_set_keygen() 660 void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_check() 666 void EVP_PKEY_meth_set_public_check(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_public_check() 672 void EVP_PKEY_meth_set_param_check(EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_set_param_check() 707 EVP_PKEY *pkey)) in EVP_PKEY_meth_get_paramgen() 718 EVP_PKEY *pkey)) in EVP_PKEY_meth_get_keygen() 869 void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth, in EVP_PKEY_meth_get_check() [all …]
|
/third_party/openssl/crypto/dsa/ |
D | dsa_ameth.c | 20 static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dsa_pub_decode() 77 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dsa_pub_encode() 137 static int dsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dsa_priv_decode() 203 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dsa_priv_encode() 255 static int int_dsa_size(const EVP_PKEY *pkey) in int_dsa_size() 260 static int dsa_bits(const EVP_PKEY *pkey) in dsa_bits() 265 static int dsa_security_bits(const EVP_PKEY *pkey) in dsa_security_bits() 270 static int dsa_missing_parameters(const EVP_PKEY *pkey) in dsa_missing_parameters() 324 static void int_dsa_free(EVP_PKEY *pkey) in int_dsa_free() 375 static int dsa_param_decode(EVP_PKEY *pkey, in dsa_param_decode() [all …]
|
/third_party/openssl/crypto/siphash/ |
D | siphash_ameth.c | 23 static int siphash_size(const EVP_PKEY *pkey) in siphash_size() 28 static void siphash_key_free(EVP_PKEY *pkey) in siphash_key_free() 39 static int siphash_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) in siphash_pkey_ctrl() 50 static int siphash_set_priv_key(EVP_PKEY *pkey, const unsigned char *priv, in siphash_set_priv_key() 71 static int siphash_get_priv_key(const EVP_PKEY *pkey, unsigned char *priv, in siphash_get_priv_key()
|
/third_party/openssl/crypto/hmac/ |
D | hm_ameth.c | 21 static int hmac_size(const EVP_PKEY *pkey) in hmac_size() 26 static void hmac_key_free(EVP_PKEY *pkey) in hmac_key_free() 36 static int hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) in hmac_pkey_ctrl() 54 static int hmac_set_priv_key(EVP_PKEY *pkey, const unsigned char *priv, in hmac_set_priv_key() 76 static int hmac_get_priv_key(const EVP_PKEY *pkey, unsigned char *priv, in hmac_get_priv_key()
|
/third_party/openssl/crypto/poly1305/ |
D | poly1305_ameth.c | 23 static int poly1305_size(const EVP_PKEY *pkey) in poly1305_size() 28 static void poly1305_key_free(EVP_PKEY *pkey) in poly1305_key_free() 38 static int poly1305_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) in poly1305_pkey_ctrl() 49 static int poly1305_set_priv_key(EVP_PKEY *pkey, const unsigned char *priv, in poly1305_set_priv_key() 70 static int poly1305_get_priv_key(const EVP_PKEY *pkey, unsigned char *priv, in poly1305_get_priv_key()
|
/third_party/openssl/crypto/dh/ |
D | dh_ameth.c | 25 static DH *d2i_dhp(const EVP_PKEY *pkey, const unsigned char **pp, in d2i_dhp() 33 static int i2d_dhp(const EVP_PKEY *pkey, const DH *a, unsigned char **pp) in i2d_dhp() 40 static void int_dh_free(EVP_PKEY *pkey) in int_dh_free() 45 static int dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dh_pub_decode() 97 static int dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dh_pub_encode() 150 static int dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dh_priv_decode() 202 static int dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dh_priv_encode() 249 static int dh_param_decode(EVP_PKEY *pkey, in dh_param_decode() 262 static int dh_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in dh_param_encode() 347 static int int_dh_size(const EVP_PKEY *pkey) in int_dh_size() [all …]
|
/third_party/openssl/crypto/ec/ |
D | ecx_meth.c | 46 static int ecx_key_op(EVP_PKEY *pkey, int id, const X509_ALGOR *palg, in ecx_key_op() 125 static int ecx_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in ecx_pub_encode() 150 static int ecx_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in ecx_pub_decode() 173 static int ecx_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in ecx_priv_decode() 198 static int ecx_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in ecx_priv_encode() 230 static int ecx_size(const EVP_PKEY *pkey) in ecx_size() 235 static int ecx_bits(const EVP_PKEY *pkey) in ecx_bits() 246 static int ecx_security_bits(const EVP_PKEY *pkey) in ecx_security_bits() 255 static void ecx_free(EVP_PKEY *pkey) in ecx_free() 268 static int ecx_key_print(BIO *bp, const EVP_PKEY *pkey, int indent, in ecx_key_print() [all …]
|
D | ec_ameth.c | 75 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in eckey_pub_encode() 153 static int eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in eckey_pub_decode() 202 static int eckey_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in eckey_priv_decode() 235 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in eckey_priv_encode() 283 static int int_ec_size(const EVP_PKEY *pkey) in int_ec_size() 288 static int ec_bits(const EVP_PKEY *pkey) in ec_bits() 293 static int ec_security_bits(const EVP_PKEY *pkey) in ec_security_bits() 309 static int ec_missing_parameters(const EVP_PKEY *pkey) in ec_missing_parameters() 348 static void int_ec_free(EVP_PKEY *pkey) in int_ec_free() 422 static int eckey_param_decode(EVP_PKEY *pkey, in eckey_param_decode() [all …]
|
/third_party/openssl/crypto/rsa/ |
D | rsa_ameth.c | 30 static int rsa_param_encode(const EVP_PKEY *pkey, in rsa_param_encode() 75 static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in rsa_pub_encode() 95 static int rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in rsa_pub_decode() 136 static int old_rsa_priv_decode(EVP_PKEY *pkey, in old_rsa_priv_decode() 149 static int old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_rsa_priv_encode() 154 static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in rsa_priv_encode() 181 static int rsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in rsa_priv_decode() 203 static int int_rsa_size(const EVP_PKEY *pkey) in int_rsa_size() 208 static int rsa_bits(const EVP_PKEY *pkey) in rsa_bits() 213 static int rsa_security_bits(const EVP_PKEY *pkey) in rsa_security_bits() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/pkeys/ |
D | pkey.h | 20 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/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
D | ssl_pkey.c | 28 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/openssl/crypto/pkcs12/ |
D | p12_kiss.c | 32 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse() 132 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_pk12() 166 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bags() 178 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bag()
|
/third_party/openssl/crypto/cmac/ |
D | cm_ameth.c | 21 static int cmac_size(const EVP_PKEY *pkey) in cmac_size() 26 static void cmac_key_free(EVP_PKEY *pkey) in cmac_key_free()
|
/third_party/openssl/crypto/asn1/ |
D | ameth_lib.c | 212 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) in EVP_PKEY_get0_asn1() 304 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_public() 324 const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_private() 333 void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_param() 337 int (*param_encode) (const EVP_PKEY *pkey, in EVP_PKEY_asn1_set_param() 356 void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_free() 362 void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, in EVP_PKEY_asn1_set_ctrl() 382 EVP_PKEY *pkey), in EVP_PKEY_asn1_set_item()
|
D | a_sign.c | 27 ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey, in ASN1_sign() 119 EVP_PKEY *pkey, const EVP_MD *type) in ASN1_item_sign() 144 EVP_PKEY *pkey; in ASN1_item_sign_ctx() local
|
D | a_verify.c | 27 char *data, EVP_PKEY *pkey) in ASN1_verify() 89 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey) in ASN1_item_verify()
|
/third_party/openssl/crypto/x509/ |
D | x_pubkey.c | 23 EVP_PKEY *pkey; member 106 EVP_PKEY *pkey = EVP_PKEY_new(); in x509_pubkey_decode() local 225 EVP_PKEY *pkey; in d2i_RSA_PUBKEY() local 265 EVP_PKEY *pkey; in d2i_DSA_PUBKEY() local 305 EVP_PKEY *pkey; in d2i_EC_PUBKEY() local
|
D | x509type.c | 16 int X509_certificate_type(const X509 *x, const EVP_PKEY *pkey) in X509_certificate_type()
|
/third_party/openssl/ssl/ |
D | ssl_rsa.c | 103 EVP_PKEY *pkey; in SSL_use_RSAPrivateKey() local 128 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) in ssl_set_pkey() 223 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey() 239 EVP_PKEY *pkey = NULL; in SSL_use_PrivateKey_file() local 279 EVP_PKEY *pkey; in SSL_use_PrivateKey_ASN1() local 309 EVP_PKEY *pkey; in ssl_set_cert() local 418 EVP_PKEY *pkey; in SSL_CTX_use_RSAPrivateKey() local 499 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey() 512 EVP_PKEY *pkey = NULL; in SSL_CTX_use_PrivateKey_file() local 552 EVP_PKEY *pkey; in SSL_CTX_use_PrivateKey_ASN1() local
|
/third_party/openssl/crypto/engine/ |
D | eng_pkey.c | 56 EVP_PKEY *pkey; in ENGINE_load_private_key() local 87 EVP_PKEY *pkey; in ENGINE_load_public_key() local
|
/third_party/openssl/test/ |
D | evp_extra_test.c | 937 EVP_PKEY *pkey = NULL; in load_example_rsa_key() local 1004 EVP_PKEY *pkey = NULL; in test_EVP_DigestSignInit() local 1049 EVP_PKEY *pkey = NULL; in test_EVP_DigestVerifyInit() local 1073 EVP_PKEY *pkey = NULL; in test_d2i_AutoPrivateKey() local 1159 EVP_PKEY *pkey = NULL; in test_EVP_PKCS82PKEY() local 1217 EVP_PKEY *pkey = NULL; in test_EVP_SM2_verify() local 1265 EVP_PKEY *pkey = NULL; in test_EVP_SM2() local 1435 EVP_PKEY *pkey; in test_set_get_raw_keys_int() local 1485 static int pkey_custom_check(EVP_PKEY *pkey) in pkey_custom_check() 1490 static int pkey_custom_pub_check(EVP_PKEY *pkey) in pkey_custom_pub_check() [all …]
|
/third_party/openssl/demos/pkcs12/ |
D | pkwrite.c | 21 EVP_PKEY *pkey; in main() local
|