/third_party/node/src/crypto/ |
H A D | crypto_keys.h | 132 class KeyObjectData : public MemoryRetainer { class 134 static std::shared_ptr<KeyObjectData> CreateSecret(ByteSource key); 136 static std::shared_ptr<KeyObjectData> CreateAsymmetric( 149 SET_MEMORY_INFO_NAME(KeyObjectData) 150 SET_SELF_SIZE(KeyObjectData) 153 explicit KeyObjectData(ByteSource symmetric_key); 155 KeyObjectData( 171 std::shared_ptr<KeyObjectData> data); 178 const std::shared_ptr<KeyObjectData>& Data(); 214 std::shared_ptr<KeyObjectData> data [all...] |
H A D | crypto_keys.cc | 437 std::shared_ptr<KeyObjectData> key, in ExportJWKSecretKey() 472 std::shared_ptr<KeyObjectData> ImportJWKSecretKey( in ImportJWKSecretKey() 479 return std::shared_ptr<KeyObjectData>(); in ImportJWKSecretKey() 484 return KeyObjectData::CreateSecret(std::move(key_data)); in ImportJWKSecretKey() 489 std::shared_ptr<KeyObjectData> key, in ExportJWKAsymmetricKey() 512 std::shared_ptr<KeyObjectData> ImportJWKAsymmetricKey( in ImportJWKAsymmetricKey() 525 return std::shared_ptr<KeyObjectData>(); in ImportJWKAsymmetricKey() 530 std::shared_ptr<KeyObjectData> key, in GetSecretKeyDetail() 543 std::shared_ptr<KeyObjectData> key, in GetAsymmetricKeyDetail() 615 std::shared_ptr<KeyObjectData> ke in ExportJWKInner() 839 KeyObjectData::KeyObjectData(ByteSource symmetric_key) KeyObjectData() function in node::KeyObjectData 844 KeyObjectData::KeyObjectData(KeyType type, const ManagedEVPPKey& pkey) KeyObjectData() function in node::KeyObjectData [all...] |
H A D | crypto_ec.h | 60 std::shared_ptr<KeyObjectData> private_; 61 std::shared_ptr<KeyObjectData> public_; 138 std::shared_ptr<KeyObjectData> key_data, 148 std::shared_ptr<KeyObjectData> key, 153 std::shared_ptr<KeyObjectData> key, 156 std::shared_ptr<KeyObjectData> ImportJWKEcKey( 164 std::shared_ptr<KeyObjectData> key,
|
H A D | crypto_rsa.h | 72 std::shared_ptr<KeyObjectData> key_data, 108 std::shared_ptr<KeyObjectData> key_data, 119 std::shared_ptr<KeyObjectData> key, 122 std::shared_ptr<KeyObjectData> ImportJWKRsaKey( 130 std::shared_ptr<KeyObjectData> key,
|
H A D | crypto_rsa.cc | 191 KeyObjectData* key_data, in RSA_JWK_Export() 201 KeyObjectData* key_data, in RSA_Cipher() 262 std::shared_ptr<KeyObjectData> key_data, in DoExport() 344 std::shared_ptr<KeyObjectData> key_data, in DoCipher() 364 std::shared_ptr<KeyObjectData> key, in ExportJWKRsaKey() 419 std::shared_ptr<KeyObjectData> ImportJWKRsaKey( in ImportJWKRsaKey() 434 return std::shared_ptr<KeyObjectData>(); in ImportJWKRsaKey() 439 return std::shared_ptr<KeyObjectData>(); in ImportJWKRsaKey() 455 return std::shared_ptr<KeyObjectData>(); in ImportJWKRsaKey() 471 return std::shared_ptr<KeyObjectData>(); in ImportJWKRsaKey() [all...] |
H A D | crypto_dh.h | 106 std::shared_ptr<KeyObjectData> key_data, 115 std::shared_ptr<KeyObjectData> private_key; 116 std::shared_ptr<KeyObjectData> public_key; 150 std::shared_ptr<KeyObjectData> key,
|
H A D | crypto_ec.cc | 628 KeyObjectData* key_data, in EC_Raw_Export() 693 std::shared_ptr<KeyObjectData> key_data, in DoExport() 758 std::shared_ptr<KeyObjectData> key, in ExportJWKEcKey() 848 std::shared_ptr<KeyObjectData> key, in ExportJWKEdKey() 920 std::shared_ptr<KeyObjectData> ImportJWKEcKey( in ImportJWKEcKey() 931 return std::shared_ptr<KeyObjectData>(); in ImportJWKEcKey() 941 return std::shared_ptr<KeyObjectData>(); in ImportJWKEcKey() 948 return std::shared_ptr<KeyObjectData>(); in ImportJWKEcKey() 956 return std::shared_ptr<KeyObjectData>(); in ImportJWKEcKey() 967 return std::shared_ptr<KeyObjectData>(); in ImportJWKEcKey() [all...] |
H A D | crypto_dsa.h | 56 std::shared_ptr<KeyObjectData> key_data, 66 std::shared_ptr<KeyObjectData> key,
|
H A D | crypto_keygen.cc | 94 std::shared_ptr<KeyObjectData> data = in EncodeKey() 95 KeyObjectData::CreateSecret(std::move(out)); in EncodeKey()
|
H A D | crypto_dsa.cc | 106 std::shared_ptr<KeyObjectData> key_data, in DoExport() 131 std::shared_ptr<KeyObjectData> key, in GetDsaKeyDetail()
|
H A D | crypto_aes.cc | 36 KeyObjectData* key_data, in AES_Cipher() 224 KeyObjectData* key_data, in AES_CTR_Cipher2() 267 KeyObjectData* key_data, in AES_CTR_Cipher() 575 std::shared_ptr<KeyObjectData> key_data, in DoCipher()
|
H A D | crypto_hkdf.h | 18 std::shared_ptr<KeyObjectData> key;
|
H A D | crypto_aes.h | 72 std::shared_ptr<KeyObjectData> key_data,
|
H A D | crypto_cipher.h | 218 std::shared_ptr<KeyObjectData> key() const { return key_; } in key() 281 std::shared_ptr<KeyObjectData> key_;
|
H A D | crypto_hmac.h | 45 std::shared_ptr<KeyObjectData> key;
|
H A D | crypto_context.h | 63 v8::Maybe<bool> UseKey(Environment* env, std::shared_ptr<KeyObjectData> key);
|
H A D | crypto_x509.cc | 276 std::shared_ptr<KeyObjectData> key_data = in PublicKey() 277 KeyObjectData::CreateAsymmetric(kKeyTypePublic, epkey); in PublicKey()
|
H A D | crypto_dh.cc | 603 std::shared_ptr<KeyObjectData> key_data, in DoExport() 720 std::shared_ptr<KeyObjectData> key, in GetDhKeyDetail()
|
H A D | crypto_context.cc | 580 std::shared_ptr<KeyObjectData> key) { in UseKey()
|
/third_party/node/src/quic/ |
H A D | tlscontext.cc | 281 if constexpr (std::is_same<T, std::shared_ptr<crypto::KeyObjectData>>:: in SetOption() 302 std::shared_ptr<crypto::KeyObjectData>>::value) { in SetOption() 577 !SET_VECTOR(std::shared_ptr<crypto::KeyObjectData>, keys) || in From()
|
H A D | tlscontext.h | 77 std::vector<std::shared_ptr<crypto::KeyObjectData>> keys;
|