Home
last modified time | relevance | path

Searched refs:ManagedEVPPKey (Results 1 – 14 of 14) sorted by relevance

/third_party/node/src/crypto/
Dcrypto_keys.h76 class ManagedEVPPKey : public MemoryRetainer {
78 ManagedEVPPKey() : mutex_(std::make_shared<Mutex>()) {} in ManagedEVPPKey() function
79 explicit ManagedEVPPKey(EVPKeyPointer&& pkey);
80 ManagedEVPPKey(const ManagedEVPPKey& that);
81 ManagedEVPPKey& operator=(const ManagedEVPPKey& that);
88 SET_MEMORY_INFO_NAME(ManagedEVPPKey)
89 SET_SELF_SIZE(ManagedEVPPKey)
101 static ManagedEVPPKey GetParsedKey(Environment* env,
106 static ManagedEVPPKey GetPublicOrPrivateKeyFromJs(
110 static ManagedEVPPKey GetPrivateKeyFromJs(
[all …]
Dcrypto_keys.cc558 ManagedEVPPKey::ManagedEVPPKey(EVPKeyPointer&& pkey) : pkey_(std::move(pkey)), in ManagedEVPPKey() function in node::crypto::ManagedEVPPKey
561 ManagedEVPPKey::ManagedEVPPKey(const ManagedEVPPKey& that) { in ManagedEVPPKey() function in node::crypto::ManagedEVPPKey
565 ManagedEVPPKey& ManagedEVPPKey::operator=(const ManagedEVPPKey& that) { in operator =()
578 ManagedEVPPKey::operator bool() const { in operator bool()
582 EVP_PKEY* ManagedEVPPKey::get() const { in get()
586 Mutex* ManagedEVPPKey::mutex() const { in mutex()
590 void ManagedEVPPKey::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
597 size_t ManagedEVPPKey::size_of_private_key() const { in size_of_private_key()
603 size_t ManagedEVPPKey::size_of_public_key() const { in size_of_public_key()
631 Maybe<bool> ManagedEVPPKey::ToEncodedPublicKey( in ToEncodedPublicKey()
[all …]
Dcrypto_sig.cc57 bool ApplyRSAOptions(const ManagedEVPPKey& pkey, in ValidateDSAParameters()
77 const ManagedEVPPKey& pkey, in ValidateDSAParameters()
112 int GetDefaultSignPadding(const ManagedEVPPKey& m_pkey) { in ValidateDSAParameters()
117 unsigned int GetBytesOfRS(const ManagedEVPPKey& pkey) { in ValidateDSAParameters()
152 const ManagedEVPPKey& pkey, std::unique_ptr<BackingStore>&& signature) { in ValidateDSAParameters()
173 const ManagedEVPPKey& pkey, in ValidateDSAParameters()
191 const ManagedEVPPKey& pkey, in ValidateDSAParameters()
267 bool IsOneShot(const ManagedEVPPKey& key) { in ValidateDSAParameters()
277 bool UseP1363Encoding(const ManagedEVPPKey& key, in ValidateDSAParameters()
389 const ManagedEVPPKey& pkey, in SignFinal()
[all …]
Dcrypto_sig.h64 const ManagedEVPPKey& pkey,
85 Error VerifyFinal(const ManagedEVPPKey& key,
115 ManagedEVPPKey key;
Dcrypto_keygen.h147 params->public_key_encoding = ManagedEVPPKey::GetPublicKeyEncodingFromJs( in AdditionalConfig()
153 ManagedEVPPKey::GetPrivateKeyEncodingFromJs( in AdditionalConfig()
177 params->key = ManagedEVPPKey(EVPKeyPointer(pkey)); in DoKeyGen()
234 ManagedEVPPKey key;
Dcrypto_ec.cc489 ManagedEVPPKey m_privkey = params.private_->GetAsymmetricKey(); in DeriveBits()
490 ManagedEVPPKey m_pubkey = params.public_->GetAsymmetricKey(); in DeriveBits()
631 ManagedEVPPKey m_pkey = key_data->GetAsymmetricKey(); in EC_Raw_Export()
710 ManagedEVPPKey m_pkey = key_data->GetAsymmetricKey(); in DoExport()
760 ManagedEVPPKey m_pkey = key->GetAsymmetricKey(); in ExportJWKEcKey()
850 ManagedEVPPKey pkey = key->GetAsymmetricKey(); in ExportJWKEdKey()
981 return KeyObjectData::CreateAsymmetric(type, ManagedEVPPKey(std::move(pkey))); in ImportJWKEcKey()
988 ManagedEVPPKey m_pkey = key->GetAsymmetricKey(); in GetEcKeyDetail()
1009 size_t GroupOrderSize(const ManagedEVPPKey& key) { in GroupOrderSize()
Dcrypto_dh.cc625 const ManagedEVPPKey& our_key, in StatelessDiffieHellmanThreadsafe()
626 const ManagedEVPPKey& their_key) { in StatelessDiffieHellmanThreadsafe()
657 ManagedEVPPKey our_key = our_key_object->Data()->GetAsymmetricKey(); in Stateless()
658 ManagedEVPPKey their_key = their_key_object->Data()->GetAsymmetricKey(); in Stateless()
722 ManagedEVPPKey pkey = key->GetAsymmetricKey(); in GetDhKeyDetail()
Dcrypto_rsa.cc206 ManagedEVPPKey m_pkey = key_data->GetAsymmetricKey(); in RSA_Cipher()
366 ManagedEVPPKey m_pkey = key->GetAsymmetricKey(); in ExportJWKRsaKey()
505 return KeyObjectData::CreateAsymmetric(type, ManagedEVPPKey(std::move(pkey))); in ImportJWKRsaKey()
515 ManagedEVPPKey m_pkey = key->GetAsymmetricKey(); in GetRsaKeyDetail()
Dcrypto_dsa.cc136 ManagedEVPPKey m_pkey = key->GetAsymmetricKey(); in GetDsaKeyDetail()
Dcrypto_cipher.cc983 const ManagedEVPPKey& pkey, in Init()
1045 ManagedEVPPKey pkey = in Init()
1046 ManagedEVPPKey::GetPublicOrPrivateKeyFromJs(args, &offset); in Init()
DREADME.md152 #### `ManagedEVPPKey`
154 The `ManagedEVPPKey` class is a smart pointer for OpenSSL `EVP_PKEY`
160 a `ManagedEVPPKey` (for Public or Private keys) or a `ByteSource` containing
Dcrypto_cipher.h113 const ManagedEVPPKey& pkey,
Dcrypto_x509.cc275 ManagedEVPPKey epkey(std::move(pkey)); in PublicKey()
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md575 …//github.com/nodejs/node/commit/42cc33cc48)] - **src**: add mutex to ManagedEVPPKey class (Daniel …