aboutsummaryrefslogtreecommitdiff
path: root/include/signer/noscrypt_signer.hpp
diff options
context:
space:
mode:
authorLibravatar Vaughn Nugent <public@vaughnnugent.com>2024-09-10 15:48:04 +0000
committerLibravatar GitHub <noreply@github.com>2024-09-10 10:48:04 -0500
commit267d6823579b960d2993a380825831b6787a3680 (patch)
tree6f9336624fc28888828a0e5902c3743638530e12 /include/signer/noscrypt_signer.hpp
parentf26162c2eaa5e60ce76c67d8c7510b266fed0bba (diff)
refactor: update libs, quick error fixes, rng (#14)note-signing
Co-authored-by: Michael J <37635304+buttercat1791@users.noreply.github.com>
Diffstat (limited to 'include/signer/noscrypt_signer.hpp')
-rw-r--r--include/signer/noscrypt_signer.hpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/signer/noscrypt_signer.hpp b/include/signer/noscrypt_signer.hpp
index 85188fa..0a7d0fd 100644
--- a/include/signer/noscrypt_signer.hpp
+++ b/include/signer/noscrypt_signer.hpp
@@ -146,12 +146,6 @@ private:
#pragma region Cryptography
/**
- * @brief Reseeds OpenSSL's pseudo-random number generator, using `/dev/random` as the seed, if
- * possible.
- */
- void _reseedRandomNumberGenerator(uint32_t bufferSize = 32);
-
- /**
* @brief Encrypts a string according to the standard specified in NIP-04.
* @param input The string to be encrypted.
* @return The resulting encrypted string, or an empty string if the input could not be
@@ -182,16 +176,6 @@ private:
std::string _decryptNip44(const std::string input);
#pragma endregion
-
- #pragma region Logging
-
- inline void _logNoscryptInitResult(NCResult initResult) const;
-
- inline void _logNoscryptSecretValidationResult(NCResult secretValidationResult) const;
-
- inline void _logNoscryptPubkeyGenerationResult(NCResult pubkeyGenerationResult) const;
-
- #pragma endregion
};
} // namespace signer
} // namespace nostr