diff options
Diffstat (limited to 'src/lib/stream/chacha/chacha.cpp')
-rw-r--r-- | src/lib/stream/chacha/chacha.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/stream/chacha/chacha.cpp b/src/lib/stream/chacha/chacha.cpp index 419f8f67a..f404b3933 100644 --- a/src/lib/stream/chacha/chacha.cpp +++ b/src/lib/stream/chacha/chacha.cpp @@ -124,9 +124,6 @@ void ChaCha::key_schedule(const byte key[], size_t length) set_iv(ZERO, sizeof(ZERO)); } -/* -* Return the name of this type -*/ void ChaCha::set_iv(const byte iv[], size_t length) { if(!valid_iv_length(length)) @@ -154,17 +151,6 @@ void ChaCha::set_iv(const byte iv[], size_t length) m_position = 0; } -/* -* Return the name of this type -*/ -std::string ChaCha::name() const - { - return "ChaCha"; - } - -/* -* Clear memory of sensitive data -*/ void ChaCha::clear() { zap(m_state); |