| /external/boringssl/src/crypto/evp/ |
| D | evp.c | 99 static void free_it(EVP_PKEY *pkey) { in free_it() 107 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free() 120 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref() 125 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque() 174 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters() 181 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size() 188 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits() 195 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id() 227 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA() 235 int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_assign_RSA() [all …]
|
| D | p_x25519_asn1.c | 26 static void x25519_free(EVP_PKEY *pkey) { in x25519_free() 31 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw() 52 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw() 72 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw() 95 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw() 125 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode() 167 static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_priv_encode() 194 static int x25519_size(const EVP_PKEY *pkey) { return 32; } in x25519_size() 196 static int x25519_bits(const EVP_PKEY *pkey) { return 253; } in x25519_bits() 220 int EVP_PKEY_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in EVP_PKEY_set1_tls_encodedpoint() [all …]
|
| D | p_ed25519_asn1.c | 26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free() 31 static int ed25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_priv_raw() 54 static int ed25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_pub_raw() 74 static int ed25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_priv_raw() 98 static int ed25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_pub_raw() 128 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode() 170 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode() 197 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size() 199 static int ed25519_bits(const EVP_PKEY *pkey) { return 253; } in ed25519_bits()
|
| D | evp_extra_test.cc | 369 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in LoadExampleRSAKey() local 377 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local 405 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local 416 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local 455 bssl::UniquePtr<EVP_PKEY> pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey() local 475 bssl::UniquePtr<EVP_PKEY> pkey( in TEST() local 489 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST() local 508 bssl::UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, nullptr, &ptr, len)); in ParsePrivateKey() local 703 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly() 713 static void ExpectECGroupAndKey(const EVP_PKEY *pkey, int nid) { in ExpectECGroupAndKey() [all …]
|
| D | print.c | 204 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print() 209 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_priv_print() 275 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_param_print() 280 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_pub_print() 285 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_priv_print() 399 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_param_print() 404 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_pub_print() 410 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_priv_print() 457 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported() 464 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public() [all …]
|
| D | p_ec_asn1.c | 191 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size() 195 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits() 204 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters() 222 static void int_ec_free(EVP_PKEY *pkey) { EC_KEY_free(pkey->pkey.ec); } in int_ec_free() 224 static int eckey_opaque(const EVP_PKEY *pkey) { in eckey_opaque()
|
| D | p_rsa_asn1.c | 155 static int rsa_opaque(const EVP_PKEY *pkey) { in rsa_opaque() 159 static int int_rsa_size(const EVP_PKEY *pkey) { in int_rsa_size() 163 static int rsa_bits(const EVP_PKEY *pkey) { in rsa_bits() 167 static void int_rsa_free(EVP_PKEY *pkey) { RSA_free(pkey->pkey.rsa); } in int_rsa_free()
|
| D | p_dsa_asn1.c | 198 static int int_dsa_size(const EVP_PKEY *pkey) { in int_dsa_size() 202 static int dsa_bits(const EVP_PKEY *pkey) { in dsa_bits() 206 static int dsa_missing_parameters(const EVP_PKEY *pkey) { in dsa_missing_parameters() 248 static void int_dsa_free(EVP_PKEY *pkey) { DSA_free(pkey->pkey.dsa); } in int_dsa_free()
|
| D | evp_asn1.c | 409 int i2d_PUBKEY(const EVP_PKEY *pkey, uint8_t **outp) { in i2d_PUBKEY() 429 EVP_PKEY *pkey = EVP_parse_public_key(&cbs); in d2i_RSA_PUBKEY() local 452 EVP_PKEY *pkey = EVP_PKEY_new(); in i2d_RSA_PUBKEY() local 471 EVP_PKEY *pkey = EVP_parse_public_key(&cbs); in d2i_DSA_PUBKEY() local 494 EVP_PKEY *pkey = EVP_PKEY_new(); in i2d_DSA_PUBKEY() local 513 EVP_PKEY *pkey = EVP_parse_public_key(&cbs); in d2i_EC_PUBKEY() local 536 EVP_PKEY *pkey = EVP_PKEY_new(); in i2d_EC_PUBKEY() local
|
| /external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
| D | evp.c | 95 static void free_it(EVP_PKEY *pkey) { in free_it() 103 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free() 116 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref() 121 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque() 170 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters() 177 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size() 184 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits() 191 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id() 223 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA() 231 int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_assign_RSA() [all …]
|
| D | p_x25519_asn1.c | 26 static void x25519_free(EVP_PKEY *pkey) { in x25519_free() 31 static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_priv_raw() 52 static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in x25519_set_pub_raw() 72 static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_priv_raw() 95 static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in x25519_get_pub_raw() 125 static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_pub_encode() 167 static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in x25519_priv_encode() 194 static int x25519_size(const EVP_PKEY *pkey) { return 32; } in x25519_size() 196 static int x25519_bits(const EVP_PKEY *pkey) { return 253; } in x25519_bits() 220 int EVP_PKEY_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in, in EVP_PKEY_set1_tls_encodedpoint() [all …]
|
| D | p_ed25519_asn1.c | 26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free() 31 static int ed25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_priv_raw() 54 static int ed25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { in ed25519_set_pub_raw() 74 static int ed25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_priv_raw() 98 static int ed25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, in ed25519_get_pub_raw() 128 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode() 170 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode() 197 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size() 199 static int ed25519_bits(const EVP_PKEY *pkey) { return 253; } in ed25519_bits()
|
| D | evp_extra_test.cc | 369 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in LoadExampleRSAKey() local 377 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local 405 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local 416 bssl::UniquePtr<EVP_PKEY> pkey = LoadExampleRSAKey(); in TEST() local 455 bssl::UniquePtr<EVP_PKEY> pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey() local 475 bssl::UniquePtr<EVP_PKEY> pkey( in TEST() local 489 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST() local 508 bssl::UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, nullptr, &ptr, len)); in ParsePrivateKey() local 703 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly() 713 static void ExpectECGroupAndKey(const EVP_PKEY *pkey, int nid) { in ExpectECGroupAndKey() [all …]
|
| D | print.c | 204 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print() 209 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_priv_print() 275 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_param_print() 280 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_pub_print() 285 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_priv_print() 399 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_param_print() 404 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_pub_print() 410 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_priv_print() 457 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported() 464 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public() [all …]
|
| D | p_ec_asn1.c | 191 static int int_ec_size(const EVP_PKEY *pkey) { in int_ec_size() 195 static int ec_bits(const EVP_PKEY *pkey) { in ec_bits() 204 static int ec_missing_parameters(const EVP_PKEY *pkey) { in ec_missing_parameters() 222 static void int_ec_free(EVP_PKEY *pkey) { EC_KEY_free(pkey->pkey.ec); } in int_ec_free() 224 static int eckey_opaque(const EVP_PKEY *pkey) { in eckey_opaque()
|
| D | p_rsa_asn1.c | 155 static int rsa_opaque(const EVP_PKEY *pkey) { in rsa_opaque() 159 static int int_rsa_size(const EVP_PKEY *pkey) { in int_rsa_size() 163 static int rsa_bits(const EVP_PKEY *pkey) { in rsa_bits() 167 static void int_rsa_free(EVP_PKEY *pkey) { RSA_free(pkey->pkey.rsa); } in int_rsa_free()
|
| D | p_dsa_asn1.c | 194 static int int_dsa_size(const EVP_PKEY *pkey) { in int_dsa_size() 198 static int dsa_bits(const EVP_PKEY *pkey) { in dsa_bits() 202 static int dsa_missing_parameters(const EVP_PKEY *pkey) { in dsa_missing_parameters() 244 static void int_dsa_free(EVP_PKEY *pkey) { DSA_free(pkey->pkey.dsa); } in int_dsa_free()
|
| /external/linux-kselftest/tools/testing/selftests/x86/ |
| D | protection_keys.c | 402 static u32 hw_pkey_get(int pkey, unsigned long flags) in hw_pkey_get() 424 static int hw_pkey_set(int pkey, unsigned long rights, unsigned long flags) in hw_pkey_set() 447 void pkey_disable_set(int pkey, int flags) in pkey_disable_set() 485 void pkey_disable_clear(int pkey, int flags) in pkey_disable_clear() 514 void pkey_write_allow(int pkey) in pkey_write_allow() 518 void pkey_write_deny(int pkey) in pkey_write_deny() 522 void pkey_access_allow(int pkey) in pkey_access_allow() 526 void pkey_access_deny(int pkey) in pkey_access_deny() 532 unsigned long pkey) in sys_mprotect_pkey() 594 int sys_pkey_free(unsigned long pkey) in sys_pkey_free() [all …]
|
| /external/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
| D | ssl_pkey.c | 26 EVP_PKEY *pkey; in __EVP_PKEY_new() local 65 void EVP_PKEY_free(EVP_PKEY *pkey) in EVP_PKEY_free() 85 EVP_PKEY *pkey; in d2i_PrivateKey() local 124 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey() 143 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey()
|
| /external/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
|
| /external/webrtc/rtc_base/ |
| D | openssl_identity.h | 32 explicit OpenSSLKeyPair(EVP_PKEY* pkey) : pkey_(pkey) { in OpenSSLKeyPair() 45 EVP_PKEY* pkey() const { return pkey_; } in pkey() function
|
| /external/boringssl/src/crypto/x509/ |
| D | x_all.c | 69 int X509_verify(X509 *x509, EVP_PKEY *pkey) in X509_verify() 79 int X509_REQ_verify(X509_REQ *req, EVP_PKEY *pkey) in X509_REQ_verify() 85 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign() 100 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign() 113 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign() 128 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) in NETSCAPE_SPKI_sign() 134 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *spki, EVP_PKEY *pkey) in NETSCAPE_SPKI_verify()
|
| D | algorithm.c | 69 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx->pctx); in x509_digest_sign_algorithm() local 114 EVP_PKEY *pkey) { in x509_digest_verify_init()
|
| /external/openscreen/util/crypto/ |
| D | certificate_utils_unittest.cc | 26 bssl::UniquePtr<EVP_PKEY> pkey = GenerateRsaKeyPair(); in TEST() local 38 bssl::UniquePtr<EVP_PKEY> pkey = GenerateRsaKeyPair(); in TEST() local
|
| /external/rust/crates/quiche/deps/boringssl/src/crypto/x509/ |
| D | algorithm.c | 69 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx->pctx); in x509_digest_sign_algorithm() local 114 EVP_PKEY *pkey) { in x509_digest_verify_init()
|