Searched refs:EVPKeyCtxPointer (Results 1 – 17 of 17) sorted by relevance
/third_party/node/src/crypto/ |
D | crypto_dsa.cc | 40 EVPKeyCtxPointer DsaKeyGenTraits::Setup(DsaKeyPairGenConfig* params) { in Setup() 41 EVPKeyCtxPointer param_ctx(EVP_PKEY_CTX_new_id(EVP_PKEY_DSA, nullptr)); in Setup() 49 return EVPKeyCtxPointer(); in Setup() 55 return EVPKeyCtxPointer(); in Setup() 60 return EVPKeyCtxPointer(); in Setup() 63 EVPKeyCtxPointer key_ctx(EVP_PKEY_CTX_new(key_params.get(), nullptr)); in Setup() 66 return EVPKeyCtxPointer(); in Setup()
|
D | crypto_keygen.cc | 46 EVPKeyCtxPointer NidKeyPairGenTraits::Setup(NidKeyPairGenConfig* params) { in Setup() 47 EVPKeyCtxPointer ctx = in Setup() 48 EVPKeyCtxPointer(EVP_PKEY_CTX_new_id(params->params.id, nullptr)); in Setup() 50 return EVPKeyCtxPointer(); in Setup()
|
D | crypto_rsa.cc | 32 EVPKeyCtxPointer RsaKeyGenTraits::Setup(RsaKeyPairGenConfig* params) { in Setup() 33 EVPKeyCtxPointer ctx( in Setup() 41 return EVPKeyCtxPointer(); in Setup() 46 return EVPKeyCtxPointer(); in Setup() 56 return EVPKeyCtxPointer(); in Setup() 64 return EVPKeyCtxPointer(); in Setup() 80 return EVPKeyCtxPointer(); in Setup() 92 return EVPKeyCtxPointer(); in Setup() 209 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(m_pkey.get(), nullptr)); in RSA_Cipher()
|
D | crypto_dh.cc | 547 EVPKeyCtxPointer DhKeyGenTraits::Setup(DhKeyPairGenConfig* params) { in Setup() 553 return EVPKeyCtxPointer(); in Setup() 559 return EVPKeyCtxPointer(); in Setup() 569 EVPKeyCtxPointer param_ctx(EVP_PKEY_CTX_new_id(EVP_PKEY_DH, nullptr)); in Setup() 580 return EVPKeyCtxPointer(); in Setup() 588 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(key_params.get(), nullptr)); in Setup() 590 return EVPKeyCtxPointer(); in Setup() 629 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(our_key.get(), nullptr)); in StatelessDiffieHellmanThreadsafe()
|
D | crypto_hkdf.cc | 107 EVPKeyCtxPointer ctx = in DeriveBits() 108 EVPKeyCtxPointer(EVP_PKEY_CTX_new_id(EVP_PKEY_HKDF, nullptr)); in DeriveBits()
|
D | crypto_keygen.h | 167 EVPKeyCtxPointer ctx = KeyPairAlgorithmTraits::Setup(params); in DoKeyGen() 282 static EVPKeyCtxPointer Setup(NidKeyPairGenConfig* params);
|
D | crypto_dsa.h | 29 static EVPKeyCtxPointer Setup(DsaKeyPairGenConfig* params);
|
D | crypto_ec.cc | 496 EVPKeyCtxPointer ctx = nullptr; in DeriveBits() 553 EVPKeyCtxPointer EcKeyGenTraits::Setup(EcKeyPairGenConfig* params) { in Setup() 554 EVPKeyCtxPointer key_ctx; in Setup() 566 EVPKeyCtxPointer param_ctx(EVP_PKEY_CTX_new_id(EVP_PKEY_EC, nullptr)); in Setup() 575 return EVPKeyCtxPointer(); in Setup()
|
D | crypto_rsa.h | 44 static EVPKeyCtxPointer Setup(RsaKeyPairGenConfig* params);
|
D | crypto_dh.h | 79 static EVPKeyCtxPointer Setup(DhKeyPairGenConfig* params);
|
D | crypto_ec.h | 108 static EVPKeyCtxPointer Setup(EcKeyPairGenConfig* params);
|
D | crypto_util.h | 64 using EVPKeyCtxPointer = DeleteFnPtr<EVP_PKEY_CTX, EVP_PKEY_CTX_free>; variable 794 bool SetRsaOaepLabel(const EVPKeyCtxPointer& rsa, const ByteSource& label);
|
D | crypto_sig.cc | 94 EVPKeyCtxPointer pkctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in ValidateDSAParameters() 523 EVPKeyCtxPointer pkctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in VerifyFinal()
|
D | crypto_cipher.cc | 990 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in Init() 1061 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in Init()
|
D | crypto_util.cc | 680 bool SetRsaOaepLabel(const EVPKeyCtxPointer& ctx, const ByteSource& label) { in SetFipsCrypto()
|
D | README.md | 81 using EVPKeyCtxPointer = DeleteFnPtr<EVP_PKEY_CTX, EVP_PKEY_CTX_free>;
|
D | crypto_keys.cc | 1250 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(key.get(), nullptr)); in CheckEcKeyData()
|