Searched refs:ManagedEVPPKey (Results 1 – 14 of 14) sorted by relevance
/third_party/node/src/crypto/ |
D | crypto_keys.h | 76 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 …]
|
D | crypto_keys.cc | 558 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 …]
|
D | crypto_sig.cc | 57 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 …]
|
D | crypto_sig.h | 64 const ManagedEVPPKey& pkey, 85 Error VerifyFinal(const ManagedEVPPKey& key, 115 ManagedEVPPKey key;
|
D | crypto_keygen.h | 147 params->public_key_encoding = ManagedEVPPKey::GetPublicKeyEncodingFromJs( in AdditionalConfig() 153 ManagedEVPPKey::GetPrivateKeyEncodingFromJs( in AdditionalConfig() 177 params->key = ManagedEVPPKey(EVPKeyPointer(pkey)); in DoKeyGen() 234 ManagedEVPPKey key;
|
D | crypto_ec.cc | 489 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()
|
D | crypto_dh.cc | 625 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()
|
D | crypto_rsa.cc | 206 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()
|
D | crypto_dsa.cc | 136 ManagedEVPPKey m_pkey = key->GetAsymmetricKey(); in GetDsaKeyDetail()
|
D | crypto_cipher.cc | 983 const ManagedEVPPKey& pkey, in Init() 1045 ManagedEVPPKey pkey = in Init() 1046 ManagedEVPPKey::GetPublicOrPrivateKeyFromJs(args, &offset); in Init()
|
D | README.md | 152 #### `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
|
D | crypto_cipher.h | 113 const ManagedEVPPKey& pkey,
|
D | crypto_x509.cc | 275 ManagedEVPPKey epkey(std::move(pkey)); in PublicKey()
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V15.md | 575 …//github.com/nodejs/node/commit/42cc33cc48)] - **src**: add mutex to ManagedEVPPKey class (Daniel …
|