/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(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 | p_ed25519_asn1.c | 26 static void ed25519_free(EVP_PKEY *pkey) { in ed25519_free() 35 static int set_pubkey(EVP_PKEY *pkey, const uint8_t pubkey[32]) { in set_pubkey() 49 static int set_privkey(EVP_PKEY *pkey, const uint8_t privkey[64]) { in set_privkey() 76 static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_pub_encode() 123 static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { in ed25519_priv_encode() 150 static int ed25519_size(const EVP_PKEY *pkey) { return 64; } in ed25519_size() 152 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 | 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
|
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() 228 static void int_ec_free(EVP_PKEY *pkey) { EC_KEY_free(pkey->pkey.ec); } in int_ec_free() 230 static int eckey_opaque(const EVP_PKEY *pkey) { in eckey_opaque()
|
D | p_rsa_asn1.c | 176 static int rsa_opaque(const EVP_PKEY *pkey) { in rsa_opaque() 180 static int int_rsa_size(const EVP_PKEY *pkey) { in int_rsa_size() 184 static int rsa_bits(const EVP_PKEY *pkey) { in rsa_bits() 188 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()
|
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 | 415 u32 pkey_get(int pkey, unsigned long flags) in pkey_get() 437 int pkey_set(int pkey, unsigned long rights, unsigned long flags) in pkey_set() 460 void pkey_disable_set(int pkey, int flags) in pkey_disable_set() 498 void pkey_disable_clear(int pkey, int flags) in pkey_disable_clear() 527 void pkey_write_allow(int pkey) in pkey_write_allow() 531 void pkey_write_deny(int pkey) in pkey_write_deny() 535 void pkey_access_allow(int pkey) in pkey_access_allow() 539 void pkey_access_deny(int pkey) in pkey_access_deny() 545 unsigned long pkey) in sys_mprotect_pkey() 607 int sys_pkey_free(unsigned long pkey) in sys_pkey_free() [all …]
|
/external/google-tv-pairing-protocol/cpp/tests/polo/util/ |
D | certificateutiltest.cc | 54 EVP_PKEY* pkey = EVP_PKEY_new(); in TEST() local 135 EVP_PKEY* pkey = CertificateUtil::PKEYFromPEM(pem, "testing"); in TEST() local 147 EVP_PKEY* pkey = EVP_PKEY_new(); in TEST() local 166 EVP_PKEY* pkey = CertificateUtil::GeneratePrivateKey(); in TEST() local 173 EVP_PKEY* pkey = CertificateUtil::GeneratePrivateKey(); in TEST() local
|
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
D | certificateutil.cc | 57 EVP_PKEY* pkey = PEM_read_bio_PrivateKey(bio, NULL, 0, &passphrase[0]); in PKEYFromPEM() local 63 std::string CertificateUtil::PKEYToPEM(EVP_PKEY* pkey, in PKEYToPEM() 80 EVP_PKEY* pkey = EVP_PKEY_new(); in GeneratePrivateKey() local 86 X509* CertificateUtil::GenerateSelfSignedCert(EVP_PKEY* pkey, in GenerateSelfSignedCert()
|
/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/ssl/ |
D | ssl_privkey.cc | 77 static int ssl_set_pkey(CERT *cert, EVP_PKEY *pkey) { in ssl_set_pkey() 98 EVP_PKEY *pkey; in SSL_use_RSAPrivateKey() local 131 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) { in SSL_use_PrivateKey() 148 EVP_PKEY *pkey = d2i_PrivateKey(type, NULL, &p, (long)der_len); in SSL_use_PrivateKey_ASN1() local 162 EVP_PKEY *pkey; in SSL_CTX_use_RSAPrivateKey() local 196 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) { in SSL_CTX_use_PrivateKey() 213 EVP_PKEY *pkey = d2i_PrivateKey(type, NULL, &p, (long)der_len); in SSL_CTX_use_PrivateKey_ASN1() local 361 static int pkey_supports_algorithm(const SSL *ssl, EVP_PKEY *pkey, in pkey_supports_algorithm() 387 static int setup_ctx(SSL *ssl, EVP_MD_CTX *ctx, EVP_PKEY *pkey, uint16_t sigalg, in setup_ctx() 469 size_t signature_len, uint16_t sigalg, EVP_PKEY *pkey, in ssl_public_key_verify()
|
/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 | 80 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign() 95 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign() 108 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign() 123 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) in NETSCAPE_SPKI_sign() 129 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *x, EVP_PKEY *pkey) in NETSCAPE_SPKI_verify() 437 int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PrivateKey_fp() 447 int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PUBKEY_fp() 483 int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PrivateKey_bio() 493 int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PUBKEY_bio()
|
D | x509_r2x.c | 66 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509()
|
D | x509rset.c | 76 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) in X509_REQ_set_pubkey()
|
D | a_verify.c | 74 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey) in ASN1_item_verify()
|
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
|
D | x509_test.cc | 664 bssl::UniquePtr<EVP_PKEY> pkey(X509_get_pubkey(cert.get())); in TEST() local 674 bssl::UniquePtr<EVP_PKEY> pkey(X509_get_pubkey(cert.get())); in TEST() local 685 bssl::UniquePtr<EVP_PKEY> pkey(X509_get_pubkey(cert.get())); in TEST() local 695 bssl::UniquePtr<EVP_PKEY> pkey(X509_get_pubkey(cert.get())); in TEST() local 706 static bool SignatureRoundTrips(EVP_MD_CTX *md_ctx, EVP_PKEY *pkey) { in SignatureRoundTrips() 719 bssl::UniquePtr<EVP_PKEY> pkey(PrivateKeyFromPEM(kRSAKey)); in TEST() local
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLX509Certificate.java | 360 private void verifyOpenSSL(OpenSSLKey pkey) throws CertificateException, in verifyOpenSSL() 393 OpenSSLKey pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey(); in verify() local 414 OpenSSLKey pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey(); in verify() local 449 OpenSSLKey pkey = new OpenSSLKey(NativeCrypto.X509_get_pubkey(mContext)); in getPublicKey() local
|
/external/vboot_reference/tests/ |
D | vb21_host_key_tests.c | 38 struct vb2_packed_private_key *pkey; in private_key_tests() local 172 struct vb2_packed_key *pkey; in public_key_tests() local
|