aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/salsa20/salsa20.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-18 20:11:38 -0400
committerJack Lloyd <[email protected]>2016-10-19 14:41:10 -0400
commit1caf3800efd03b222ff066c3bbea41ef44c9f513 (patch)
tree59edd7a1fe6f8d3fb8d2c900b8d5068de6f4a3d0 /src/lib/stream/salsa20/salsa20.cpp
parent3324f00a8b094c86cee1f5a59ec6fc746663bd7e (diff)
Add SHAKE-128 as stream cipher
Updates NewHope to use that instead of the hard-coded SHAKE-128, and adds toggle for BoringSSL compat mode using AES-128/CTR + SHA-256.
Diffstat (limited to 'src/lib/stream/salsa20/salsa20.cpp')
-rw-r--r--src/lib/stream/salsa20/salsa20.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stream/salsa20/salsa20.cpp b/src/lib/stream/salsa20/salsa20.cpp
index f11fe5e59..0d8942789 100644
--- a/src/lib/stream/salsa20/salsa20.cpp
+++ b/src/lib/stream/salsa20/salsa20.cpp
@@ -163,7 +163,7 @@ void Salsa20::key_schedule(const byte key[], size_t length)
}
/*
-* Return the name of this type
+* Set the Salsa IV
*/
void Salsa20::set_iv(const byte iv[], size_t length)
{