aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/salsa20/salsa20.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-05-16 11:43:52 -0400
committerJack Lloyd <[email protected]>2018-05-16 11:43:52 -0400
commitcd6576af354ffd35613a098d364d97e77c35f298 (patch)
treec782355b2dcaeab480c4456efca562c59598d012 /src/lib/stream/salsa20/salsa20.h
parentdc026ac105f3e240d963486013d255424534d52e (diff)
parent556aac9cd7362d959ada085222f1e0e940f94cdd (diff)
Merge GH #1570 Add Scrypt
Diffstat (limited to 'src/lib/stream/salsa20/salsa20.h')
-rw-r--r--src/lib/stream/salsa20/salsa20.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/stream/salsa20/salsa20.h b/src/lib/stream/salsa20/salsa20.h
index a9a68c537..d21ee318e 100644
--- a/src/lib/stream/salsa20/salsa20.h
+++ b/src/lib/stream/salsa20/salsa20.h
@@ -34,6 +34,8 @@ class BOTAN_PUBLIC_API(2,0) Salsa20 final : public StreamCipher
std::string name() const override;
StreamCipher* clone() const override { return new Salsa20; }
+ static void salsa_core(uint8_t output[64], const uint32_t input[16], size_t rounds);
+
void seek(uint64_t offset) override;
private:
void key_schedule(const uint8_t key[], size_t key_len) override;