diff options
author | lloyd <[email protected]> | 2008-11-09 15:57:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-09 15:57:31 +0000 |
commit | a02b8a6dcebfa285e42a6a7010735dfdf7b47ac0 (patch) | |
tree | 57899ab98328aea62d6d665a38638e112697ff5a /src/stream/salsa20 | |
parent | c604f94ec71cb520580c6fcf9257560bb7c053c5 (diff) |
Rename SymmetricAlgorithm::key to key_schedule to avoid many name
conflicts/collisions
Diffstat (limited to 'src/stream/salsa20')
-rw-r--r-- | src/stream/salsa20/salsa20.cpp | 2 | ||||
-rw-r--r-- | src/stream/salsa20/salsa20.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/salsa20/salsa20.cpp b/src/stream/salsa20/salsa20.cpp index c2c8f289f..e6a190fc3 100644 --- a/src/stream/salsa20/salsa20.cpp +++ b/src/stream/salsa20/salsa20.cpp @@ -120,7 +120,7 @@ void Salsa20::cipher(const byte in[], byte out[], u32bit length) /************************************************* * Salsa20 Key Schedule * *************************************************/ -void Salsa20::key(const byte key[], u32bit length) +void Salsa20::key_schedule(const byte key[], u32bit length) { static const u32bit TAU[] = { 0x61707865, 0x3120646e, 0x79622d36, 0x6b206574 }; diff --git a/src/stream/salsa20/salsa20.h b/src/stream/salsa20/salsa20.h index 345a8dbbd..d40b84cfc 100644 --- a/src/stream/salsa20/salsa20.h +++ b/src/stream/salsa20/salsa20.h @@ -26,7 +26,7 @@ class BOTAN_DLL Salsa20 : public StreamCipher ~Salsa20() { clear(); } private: void cipher(const byte[], byte[], u32bit); - void key(const byte[], u32bit); + void key_schedule(const byte[], u32bit); SecureBuffer<u32bit, 16> state; |