8 #ifndef BOTAN_SALSA20_H__
9 #define BOTAN_SALSA20_H__
11 #include <botan/stream_cipher.h>
21 void cipher(
const byte in[],
byte out[],
size_t length);
23 void set_iv(
const byte iv[],
size_t iv_len);
26 {
return (iv_len == 8 || iv_len == 24); }
34 std::string name()
const;
39 void key_schedule(
const byte key[],
size_t key_len);
Key_Length_Specification key_spec() const
bool valid_iv_length(size_t iv_len) const
StreamCipher * clone() const