#include <openssl/aes.h>
#include <openssl/evp.h>
-//#include <openssl/crypto.h> // for OPENSSL_cleanse()
#include <vector>
#include <string>
-#ifdef WIN32
-#include <windows.h>
-#endif
#include "crypter.h"
#include "scrypt.h"
+#ifdef WIN32
+#include <windows.h>
+#endif
+
bool CCrypter::SetKeyFromPassphrase(const SecureString& strKeyData, const std::vector<unsigned char>& chSalt, const unsigned int nRounds, const unsigned int nDerivationMethod)
{
if (nRounds < 1 || chSalt.size() != WALLET_CRYPTO_SALT_SIZE)