diff options
Diffstat (limited to 'src/modes/aead/eax/eax.h')
-rw-r--r-- | src/modes/aead/eax/eax.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/aead/eax/eax.h b/src/modes/aead/eax/eax.h index 6815e3ce0..a4673a34f 100644 --- a/src/modes/aead/eax/eax.h +++ b/src/modes/aead/eax/eax.h @@ -35,6 +35,8 @@ class BOTAN_DLL EAX_Mode : public AEAD_Mode // EAX supports arbitrary nonce lengths bool valid_nonce_length(size_t) const override { return true; } + size_t tag_size() const { return m_tag_size; } + void clear(); protected: void key_schedule(const byte key[], size_t length) override; @@ -45,8 +47,6 @@ class BOTAN_DLL EAX_Mode : public AEAD_Mode */ EAX_Mode(BlockCipher* cipher, size_t tag_size); - size_t tag_size() const { return m_tag_size; } - size_t block_size() const { return m_cipher->block_size(); } size_t m_tag_size; |