/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | tls_openssl.c | 450 pub_rsa = cert->cert_info->key->pkey->pkey.rsa; 1944 EVP_PKEY *pkey; local 1950 pkey = NULL; 1953 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) { 1976 if (pkey) { 1979 if (SSL_use_PrivateKey(ssl, pkey) != 1) 1982 if (SSL_CTX_use_PrivateKey(ssl_ctx, pkey) != 1) 1985 EVP_PKEY_free(pkey);
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
H A D | x509.h | 125 EVP_PKEY *pkey; member in struct:X509_pubkey_st 546 ASN1_TYPE *pkey; /* Should be OCTET STRING but some are broken */ member in struct:pkcs8_priv_key_info_st 615 OPENSSL_EXPORT int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey); 622 OPENSSL_EXPORT int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); 625 OPENSSL_EXPORT int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md); 627 OPENSSL_EXPORT int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md); 630 OPENSSL_EXPORT int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md); 673 OPENSSL_EXPORT int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey); 675 OPENSSL_EXPORT int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey); 708 OPENSSL_EXPORT int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey); [all...] |
/external/openssl/crypto/evp/ |
H A D | evp.h | 149 } pkey; member in struct:evp_pkey_st 451 #define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\ 456 #define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\ 461 #define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,\ 466 #define EVP_PKEY_assign_EC_KEY(pkey,eckey) EVP_PKEY_assign((pkey),EVP_PKEY_EC,\ 610 EVP_PKEY *pkey); [all...] |
/external/openssl/include/openssl/ |
H A D | evp.h | 149 } pkey; member in struct:evp_pkey_st 451 #define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\ 456 #define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\ 461 #define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,\ 466 #define EVP_PKEY_assign_EC_KEY(pkey,eckey) EVP_PKEY_assign((pkey),EVP_PKEY_EC,\ 610 EVP_PKEY *pkey); [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | NativeCrypto.java | 98 public static native int EVP_PKEY_size(long pkey); argument 100 public static native int EVP_PKEY_type(long pkey); argument 106 public static native void EVP_PKEY_free(long pkey); argument 110 public static native byte[] i2d_PKCS8_PRIV_KEY_INFO(long pkey); argument 114 public static native byte[] i2d_PUBKEY(long pkey); argument 126 public static native int RSA_size(long pkey); argument 128 public static native int RSA_private_encrypt(int flen, byte[] from, byte[] to, long pkey, argument 131 public static native int RSA_public_decrypt(int flen, byte[] from, byte[] to, long pkey, argument 134 public static native int RSA_public_encrypt(int flen, byte[] from, byte[] to, long pkey, argument 137 public static native int RSA_private_decrypt(int flen, byte[] from, byte[] to, long pkey, argument 892 SSL_set1_tls_channel_id(long ssl, long pkey) argument 896 SSL_use_PrivateKey(long ssl, long pkey) argument [all...] |
/external/conscrypt/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 1959 Unique_EVP_PKEY pkey(ENGINE_load_private_key(e, id.c_str(), NULL, NULL)); 1960 if (pkey.get() == NULL) { 1965 JNI_TRACE("ENGINE_load_private_key(%p, %p) => %p", e, idJava, pkey.get()); 1966 return reinterpret_cast<uintptr_t>(pkey.release()); 2073 Unique_EVP_PKEY pkey(EVP_PKEY_new()); 2074 if (pkey.get() == NULL) { 2078 if (EVP_PKEY_assign_DH(pkey.get(), dh.get()) != 1) { 2084 p, g, pub_key, priv_key, pkey.get()); 2085 return reinterpret_cast<jlong>(pkey.release()); 2130 Unique_EVP_PKEY pkey(EVP_PKEY_ne 2344 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2361 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2375 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2405 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2435 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2467 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2520 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2695 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2718 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2780 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2818 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 2985 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 3049 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 3106 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 3127 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 3762 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 3785 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 3813 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 3842 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 4108 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 4228 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 4299 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 5078 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 5509 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 7387 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 7423 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); local 8181 EVP_PKEY* pkey = X509_PUBKEY_get(peer->cert_info->key); local [all...] |