aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/shake_cipher/shake_cipher.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-08-08 13:05:13 -0400
committerJack Lloyd <[email protected]>2018-08-08 13:05:13 -0400
commit9eb10b06036840822c03aec900a1e64f90e77181 (patch)
tree3f0eb3ec3739d8779d08ac51894a2e714390d038 /src/lib/stream/shake_cipher/shake_cipher.h
parentdfbc940e4dbc032b925e4ff54429a18e4923bbd2 (diff)
Add StreamCipher::default_iv_length
Diffstat (limited to 'src/lib/stream/shake_cipher/shake_cipher.h')
-rw-r--r--src/lib/stream/shake_cipher/shake_cipher.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/stream/shake_cipher/shake_cipher.h b/src/lib/stream/shake_cipher/shake_cipher.h
index 12f2e780b..344ac965b 100644
--- a/src/lib/stream/shake_cipher/shake_cipher.h
+++ b/src/lib/stream/shake_cipher/shake_cipher.h
@@ -36,8 +36,6 @@ class BOTAN_PUBLIC_API(2,0) SHAKE_128_Cipher final : public StreamCipher
*/
void set_iv(const uint8_t iv[], size_t iv_len) override;
- bool valid_iv_length(size_t iv_len) const override { return (iv_len == 0); }
-
/**
* In principle SHAKE can accept arbitrary length inputs, but this
* does not seem required for a stream cipher.