aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes/cipher_mode.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-02-11 23:16:51 +0000
committerlloyd <[email protected]>2015-02-11 23:16:51 +0000
commit85caef829c9eeb7c224ad3b2e3ffbcfe981c2428 (patch)
tree130b3913b5e82de89042a74c2a8046f103deff1b /src/lib/modes/cipher_mode.h
parent92bc6eac5addf77d610fad21378bc4434ef98119 (diff)
Add version_cstr (returns const char*) and move tag_size from AEAD to
Cipher_Mode. Add missing includes in entropy sources, noticed by clang.
Diffstat (limited to 'src/lib/modes/cipher_mode.h')
-rw-r--r--src/lib/modes/cipher_mode.h5
1 files changed, 5 insertions, 0 deletions
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; }
};
/**