/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | backend.py | 380 evp_pkey = self._rsa_cdata_to_evp_pkey(rsa_cdata) 382 return _RSAPrivateKey(self, rsa_cdata, evp_pkey) 418 evp_pkey = self._rsa_cdata_to_evp_pkey(rsa_cdata) 420 return _RSAPrivateKey(self, rsa_cdata, evp_pkey) 431 evp_pkey = self._rsa_cdata_to_evp_pkey(rsa_cdata) 433 return _RSAPublicKey(self, rsa_cdata, evp_pkey) 436 evp_pkey = self._lib.EVP_PKEY_new() 437 self.openssl_assert(evp_pkey != self._ffi.NULL) 438 evp_pkey = self._ffi.gc(evp_pkey, self._lib.EVP_PKEY_free) 439 return evp_pkey [all …]
|
D | x25519.py | 22 def __init__(self, backend, evp_pkey): argument 24 self._evp_pkey = evp_pkey 81 def __init__(self, backend, evp_pkey): argument 83 self._evp_pkey = evp_pkey 89 evp_pkey = self._backend._lib.d2i_PUBKEY_bio( 92 self._backend.openssl_assert(evp_pkey != self._backend._ffi.NULL) 93 evp_pkey = self._backend._ffi.gc( 94 evp_pkey, self._backend._lib.EVP_PKEY_free 96 return _X25519PublicKey(self._backend, evp_pkey)
|
D | x448.py | 19 def __init__(self, backend, evp_pkey): argument 21 self._evp_pkey = evp_pkey 64 def __init__(self, backend, evp_pkey): argument 66 self._evp_pkey = evp_pkey
|
D | ec.py | 128 def __init__(self, backend, ec_key_cdata, evp_pkey): argument 132 self._evp_pkey = evp_pkey 199 evp_pkey = self._backend._ec_cdata_to_evp_pkey(public_ec_key) 201 return _EllipticCurvePublicKey(self._backend, public_ec_key, evp_pkey) 230 def __init__(self, backend, ec_key_cdata, evp_pkey): argument 234 self._evp_pkey = evp_pkey
|
D | dh.py | 108 def __init__(self, backend, dh_cdata, evp_pkey): argument 111 self._evp_pkey = evp_pkey 186 evp_pkey = self._backend._dh_cdata_to_evp_pkey(dh_cdata) 187 return _DHPublicKey(self._backend, dh_cdata, evp_pkey) 219 def __init__(self, backend, dh_cdata, evp_pkey): argument 222 self._evp_pkey = evp_pkey
|
D | dsa.py | 110 def __init__(self, backend, dsa_cdata, evp_pkey): argument 113 self._evp_pkey = evp_pkey 170 evp_pkey = self._backend._dsa_cdata_to_evp_pkey(dsa_cdata) 171 return _DSAPublicKey(self._backend, dsa_cdata, evp_pkey) 199 def __init__(self, backend, dsa_cdata, evp_pkey): argument 202 self._evp_pkey = evp_pkey
|
D | utils.py | 14 def _evp_pkey_derive(backend, evp_pkey, peer_public_key): argument 15 ctx = backend._lib.EVP_PKEY_CTX_new(evp_pkey, backend._ffi.NULL)
|
D | rsa.py | 334 def __init__(self, backend, rsa_cdata, evp_pkey): argument 337 self._evp_pkey = evp_pkey 367 evp_pkey = self._backend._rsa_cdata_to_evp_pkey(ctx) 368 return _RSAPublicKey(self._backend, ctx, evp_pkey) 423 def __init__(self, backend, rsa_cdata, evp_pkey): argument 426 self._evp_pkey = evp_pkey
|
/external/rust/crates/quiche/deps/boringssl/src/tool/ |
D | server.cc | 114 bssl::UniquePtr<EVP_PKEY> evp_pkey(EVP_PKEY_new()); in MakeKeyPairForSelfSignedCert() local 115 if (!evp_pkey || !EVP_PKEY_assign_EC_KEY(evp_pkey.get(), ec_key.release())) { in MakeKeyPairForSelfSignedCert() 119 return evp_pkey; in MakeKeyPairForSelfSignedCert() 122 static bssl::UniquePtr<X509> MakeSelfSignedCert(EVP_PKEY *evp_pkey, in MakeSelfSignedCert() argument 140 if (!X509_set_pubkey(x509.get(), evp_pkey)) { in MakeSelfSignedCert() 144 if (!X509_sign(x509.get(), evp_pkey, EVP_sha256())) { in MakeSelfSignedCert() 245 bssl::UniquePtr<EVP_PKEY> evp_pkey = MakeKeyPairForSelfSignedCert(); in Server() local 246 if (!evp_pkey) { in Server() 250 MakeSelfSignedCert(evp_pkey.get(), 365 /* valid_days */); in Server() 254 if (!SSL_CTX_use_PrivateKey(ctx.get(), evp_pkey.get())) { in Server()
|
/external/boringssl/src/tool/ |
D | server.cc | 114 bssl::UniquePtr<EVP_PKEY> evp_pkey(EVP_PKEY_new()); in MakeKeyPairForSelfSignedCert() local 115 if (!evp_pkey || !EVP_PKEY_assign_EC_KEY(evp_pkey.get(), ec_key.release())) { in MakeKeyPairForSelfSignedCert() 119 return evp_pkey; in MakeKeyPairForSelfSignedCert() 122 static bssl::UniquePtr<X509> MakeSelfSignedCert(EVP_PKEY *evp_pkey, in MakeSelfSignedCert() argument 140 if (!X509_set_pubkey(x509.get(), evp_pkey)) { in MakeSelfSignedCert() 144 if (!X509_sign(x509.get(), evp_pkey, EVP_sha256())) { in MakeSelfSignedCert() 245 bssl::UniquePtr<EVP_PKEY> evp_pkey = MakeKeyPairForSelfSignedCert(); in Server() local 246 if (!evp_pkey) { in Server() 250 MakeSelfSignedCert(evp_pkey.get(), 365 /* valid_days */); in Server() 254 if (!SSL_CTX_use_PrivateKey(ctx.get(), evp_pkey.get())) { in Server()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs12_test.cc | 1837 bssl::UniquePtr<EVP_PKEY> evp_pkey(EVP_PKEY_new()); in MakeTestKey() local 1838 if (!evp_pkey || in MakeTestKey() 1839 !EVP_PKEY_assign_EC_KEY(evp_pkey.get(), ec_key.release())) { in MakeTestKey() 1842 return evp_pkey; in MakeTestKey()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/ |
D | pkcs12_test.cc | 1837 bssl::UniquePtr<EVP_PKEY> evp_pkey(EVP_PKEY_new()); in MakeTestKey() local 1838 if (!evp_pkey || in MakeTestKey() 1839 !EVP_PKEY_assign_EC_KEY(evp_pkey.get(), ec_key.release())) { in MakeTestKey() 1842 return evp_pkey; in MakeTestKey()
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
D | Platform.java | 528 long evp_pkey = 0; in wrapRsaKey() local 530 evp_pkey = ((Number) getPkeyContext.invoke(opensslKey)).longValue(); in wrapRsaKey() 534 if (evp_pkey == 0) { in wrapRsaKey() 539 return new OpenSSLKey(evp_pkey); in wrapRsaKey()
|
/external/python/pyopenssl/src/OpenSSL/ |
D | crypto.py | 2869 evp_pkey = _lib.PEM_read_bio_PUBKEY( 2873 evp_pkey = _lib.d2i_PUBKEY_bio(bio, _ffi.NULL) 2877 if evp_pkey == _ffi.NULL: 2881 pkey._pkey = _ffi.gc(evp_pkey, _lib.EVP_PKEY_free) 2906 evp_pkey = _lib.PEM_read_bio_PrivateKey( 2911 evp_pkey = _lib.d2i_PrivateKey_bio(bio, _ffi.NULL) 2915 if evp_pkey == _ffi.NULL: 2919 pkey._pkey = _ffi.gc(evp_pkey, _lib.EVP_PKEY_free)
|