diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2021-11-12 11:13:29 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2022-01-06 22:14:16 -0500 |
commit | f7086fd8ff084ab0dd656d75b7485e59263bdfd8 (patch) | |
tree | 8d61564498f3015224618b9543ae8e608282f9cb /src/wallet/crypter.cpp | |
parent | 90fc8b089d591cabff60ee829a33f96c37fd27ba (diff) | |
download | bitcoin-f7086fd8ff084ab0dd656d75b7485e59263bdfd8.tar.xz |
Add src/wallet/* code to wallet:: namespace
Diffstat (limited to 'src/wallet/crypter.cpp')
-rw-r--r-- | src/wallet/crypter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/crypter.cpp b/src/wallet/crypter.cpp index 683b55a408..cd414b3d44 100644 --- a/src/wallet/crypter.cpp +++ b/src/wallet/crypter.cpp @@ -10,6 +10,7 @@ #include <vector> +namespace wallet { int CCrypter::BytesToKeySHA512AES(const std::vector<unsigned char>& chSalt, const SecureString& strKeyData, int count, unsigned char *key,unsigned char *iv) const { // This mimics the behavior of openssl's EVP_BytesToKey with an aes256cbc @@ -136,3 +137,4 @@ bool DecryptKey(const CKeyingMaterial& vMasterKey, const std::vector<unsigned ch key.Set(vchSecret.begin(), vchSecret.end(), vchPubKey.IsCompressed()); return key.VerifyPubKey(vchPubKey); } +} // namespace wallet |