aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes/cipher_mode.h
diff options
context:
space:
mode:
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; }
};
/**