/external/boringssl/src/crypto/evp/ |
D | evp.c | 90 static void free_it(EVP_PKEY *pkey) { in free_it() 98 void EVP_PKEY_free(EVP_PKEY *pkey) { in EVP_PKEY_free() 111 int EVP_PKEY_up_ref(EVP_PKEY *pkey) { in EVP_PKEY_up_ref() 116 int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) { in EVP_PKEY_is_opaque() 165 int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) { in EVP_PKEY_missing_parameters() 172 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size() 179 int EVP_PKEY_bits(const EVP_PKEY *pkey) { in EVP_PKEY_bits() 186 int EVP_PKEY_id(const EVP_PKEY *pkey) { in EVP_PKEY_id() 216 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_set1_RSA() 224 int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key) { in EVP_PKEY_assign_RSA() [all …]
|
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 642 static void ExpectECGroupOnly(const EVP_PKEY *pkey, int nid) { in ExpectECGroupOnly() 652 static void ExpectECGroupAndKey(const EVP_PKEY *pkey, int nid) { in ExpectECGroupAndKey() [all …]
|
D | p_ed25519_asn1.c | 26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free() 31 static int set_pubkey(EVP_PKEY *pkey, const uint8_t pubkey[32]) { in set_pubkey() 45 static int set_privkey(EVP_PKEY *pkey, const uint8_t privkey[64]) { in set_privkey() 72 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode() 119 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode() 146 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size() 148 static int ed25519_bits(const EVP_PKEY *pkey) { return 256; } in ed25519_bits()
|
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_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_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_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()
|
D | digestsign.c | 80 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey, in do_sigver_init() 122 ENGINE *e, EVP_PKEY *pkey) { in EVP_DigestSignInit() 127 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) { in EVP_DigestVerifyInit()
|
D | sign.c | 78 unsigned int *out_sig_len, EVP_PKEY *pkey) { in EVP_SignFinal() 124 EVP_PKEY *pkey) { in EVP_VerifyFinal()
|
/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/webrtc/webrtc/base/ |
D | opensslidentity.h | 31 explicit OpenSSLKeyPair(EVP_PKEY* pkey) : pkey_(pkey) { in OpenSSLKeyPair() 41 EVP_PKEY* pkey() const { return pkey_; } in pkey() function
|
D | opensslidentity.cc | 48 EVP_PKEY* pkey = EVP_PKEY_new(); in MakeKey() local 94 static X509* MakeCertificate(EVP_PKEY* pkey, const SSLIdentityParams& params) { in MakeCertificate() 165 EVP_PKEY* pkey = MakeKey(key_params); in Generate() local 448 EVP_PKEY* pkey = in FromPEMStrings() local
|
/external/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()
|
D | a_sign.c | 69 EVP_PKEY *pkey, const EVP_MD *type) in ASN1_item_sign() 84 EVP_PKEY *pkey; in ASN1_item_sign_ctx() local
|
D | x_all.c | 86 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign() 101 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign() 114 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign() 129 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) in NETSCAPE_SPKI_sign() 135 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *x, EVP_PKEY *pkey) in NETSCAPE_SPKI_verify()
|
D | x509rset.c | 76 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) in X509_REQ_set_pubkey()
|
D | x509_r2x.c | 66 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509()
|
D | x_pubkey.c | 224 EVP_PKEY *pkey; in d2i_RSA_PUBKEY() local 263 EVP_PKEY *pkey; in d2i_DSA_PUBKEY() local 302 EVP_PKEY *pkey; in d2i_EC_PUBKEY() local
|
/external/python/cpython3/Modules/ |
D | hashtable.c | 108 _Py_hashtable_hash_ptr(struct _Py_hashtable_t *ht, const void *pkey) in _Py_hashtable_hash_ptr() 118 _Py_hashtable_compare_direct(_Py_hashtable_t *ht, const void *pkey, in _Py_hashtable_compare_direct() 254 size_t key_size, const void *pkey) in _Py_hashtable_get_entry() 275 _Py_hashtable_pop_entry(_Py_hashtable_t *ht, size_t key_size, const void *pkey, in _Py_hashtable_pop_entry() 312 _Py_hashtable_set(_Py_hashtable_t *ht, size_t key_size, const void *pkey, in _Py_hashtable_set() 354 _Py_hashtable_get(_Py_hashtable_t *ht, size_t key_size,const void *pkey, in _Py_hashtable_get() 370 _Py_hashtable_pop(_Py_hashtable_t *ht, size_t key_size, const void *pkey, in _Py_hashtable_pop() 514 const void *pkey = _Py_HASHTABLE_ENTRY_PKEY(entry); in _Py_hashtable_copy() local
|
/external/boringssl/src/ssl/ |
D | ssl_privkey.cc | 79 static bool ssl_set_pkey(CERT *cert, EVP_PKEY *pkey) { in ssl_set_pkey() 146 static bool pkey_supports_algorithm(const SSL *ssl, EVP_PKEY *pkey, in pkey_supports_algorithm() 172 static bool setup_ctx(SSL *ssl, EVP_MD_CTX *ctx, EVP_PKEY *pkey, in setup_ctx() 236 uint16_t sigalg, EVP_PKEY *pkey, in ssl_public_key_verify() 313 UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in SSL_use_RSAPrivateKey() local 333 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) { in SSL_use_PrivateKey() 350 UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, NULL, &p, (long)der_len)); in SSL_use_PrivateKey_ASN1() local 365 UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in SSL_CTX_use_RSAPrivateKey() local 386 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) { in SSL_CTX_use_PrivateKey() 403 UniquePtr<EVP_PKEY> pkey(d2i_PrivateKey(type, NULL, &p, (long)der_len)); in SSL_CTX_use_PrivateKey_ASN1() local
|
/external/nos/host/android/hals/keymaster/ |
D | export_key.cpp | 72 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in export_key_der() local 149 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new()); in export_key_der() local
|
/external/iproute2/ip/ |
D | iplink_ipoib.c | 47 __u16 pkey, mode, umcast; in ipoib_parse_opt() local 94 __u16 pkey = rta_getattr_u16(tb[IFLA_IPOIB_PKEY]); in ipoib_print_opt() local
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_print.c | 16 EVP_PKEY *pkey = EVP_PKEY_new(); in RSA_print() local
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLX509Certificate.java | 377 private void verifyOpenSSL(OpenSSLKey pkey) throws CertificateException, in verifyOpenSSL() 410 OpenSSLKey pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey(); in verify() local 432 OpenSSLKey pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey(); in verify() local 467 OpenSSLKey pkey = new OpenSSLKey(NativeCrypto.X509_get_pubkey(mContext, this)); in getPublicKey() local
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLX509Certificate.java | 373 private void verifyOpenSSL(OpenSSLKey pkey) throws CertificateException, in verifyOpenSSL() 406 OpenSSLKey pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey(); in verify() local 428 OpenSSLKey pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey(); in verify() local 463 OpenSSLKey pkey = new OpenSSLKey(NativeCrypto.X509_get_pubkey(mContext, this)); in getPublicKey() local
|