From 85caef829c9eeb7c224ad3b2e3ffbcfe981c2428 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 11 Feb 2015 23:16:51 +0000 Subject: Add version_cstr (returns const char*) and move tag_size from AEAD to Cipher_Mode. Add missing includes in entropy sources, noticed by clang. --- src/lib/modes/cipher_mode.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/modes/cipher_mode.h') diff --git a/src/lib/modes/cipher_mode.h b/src/lib/modes/cipher_mode.h index 110053489..63821005d 100644 --- a/src/lib/modes/cipher_mode.h +++ b/src/lib/modes/cipher_mode.h @@ -24,6 +24,11 @@ class BOTAN_DLL Cipher_Mode : public Keyed_Transform * confidentiality. */ virtual bool authenticated() const { return false; } + + /** + * Return the size of the authentication tag used (in bytes) + */ + virtual size_t tag_size() const { return 0; } }; /** -- cgit v1.2.3