Home
last modified time | relevance | path

Searched refs:EVPKeyCtxPointer (Results 1 – 17 of 17) sorted by relevance

/third_party/node/src/crypto/
Dcrypto_dsa.cc40 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()
Dcrypto_keygen.cc46 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()
Dcrypto_rsa.cc32 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()
Dcrypto_dh.cc547 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()
Dcrypto_hkdf.cc107 EVPKeyCtxPointer ctx = in DeriveBits()
108 EVPKeyCtxPointer(EVP_PKEY_CTX_new_id(EVP_PKEY_HKDF, nullptr)); in DeriveBits()
Dcrypto_keygen.h167 EVPKeyCtxPointer ctx = KeyPairAlgorithmTraits::Setup(params); in DoKeyGen()
282 static EVPKeyCtxPointer Setup(NidKeyPairGenConfig* params);
Dcrypto_dsa.h29 static EVPKeyCtxPointer Setup(DsaKeyPairGenConfig* params);
Dcrypto_ec.cc496 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()
Dcrypto_rsa.h44 static EVPKeyCtxPointer Setup(RsaKeyPairGenConfig* params);
Dcrypto_dh.h79 static EVPKeyCtxPointer Setup(DhKeyPairGenConfig* params);
Dcrypto_ec.h108 static EVPKeyCtxPointer Setup(EcKeyPairGenConfig* params);
Dcrypto_util.h64 using EVPKeyCtxPointer = DeleteFnPtr<EVP_PKEY_CTX, EVP_PKEY_CTX_free>; variable
794 bool SetRsaOaepLabel(const EVPKeyCtxPointer& rsa, const ByteSource& label);
Dcrypto_sig.cc94 EVPKeyCtxPointer pkctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in ValidateDSAParameters()
523 EVPKeyCtxPointer pkctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in VerifyFinal()
Dcrypto_cipher.cc990 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in Init()
1061 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(pkey.get(), nullptr)); in Init()
Dcrypto_util.cc680 bool SetRsaOaepLabel(const EVPKeyCtxPointer& ctx, const ByteSource& label) { in SetFipsCrypto()
DREADME.md81 using EVPKeyCtxPointer = DeleteFnPtr<EVP_PKEY_CTX, EVP_PKEY_CTX_free>;
Dcrypto_keys.cc1250 EVPKeyCtxPointer ctx(EVP_PKEY_CTX_new(key.get(), nullptr)); in CheckEcKeyData()