From 9eb10b06036840822c03aec900a1e64f90e77181 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 8 Aug 2018 13:05:13 -0400 Subject: Add StreamCipher::default_iv_length --- src/lib/stream/shake_cipher/shake_cipher.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib/stream/shake_cipher/shake_cipher.h') 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. -- cgit v1.2.3