diff options
author | lloyd <[email protected]> | 2013-08-22 20:16:00 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-08-22 20:16:00 +0000 |
commit | 6ea24778e8e676a10d195c82b29c0474a9928ba5 (patch) | |
tree | a4eaf356c74b8101812bdc82367d1fbea4dc7a48 /src/modes/aead/gcm/gcm.h | |
parent | 010ef001d56011078f629cd03e59809068cb3be4 (diff) |
Expose AEAD_Mode::tag_size
Diffstat (limited to 'src/modes/aead/gcm/gcm.h')
-rw-r--r-- | src/modes/aead/gcm/gcm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/aead/gcm/gcm.h b/src/modes/aead/gcm/gcm.h index e1479c27f..e0789f960 100644 --- a/src/modes/aead/gcm/gcm.h +++ b/src/modes/aead/gcm/gcm.h @@ -34,14 +34,14 @@ class BOTAN_DLL GCM_Mode : public AEAD_Mode // GCM 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; GCM_Mode(BlockCipher* cipher, size_t tag_size); - size_t tag_size() const { return m_tag_size; } - static const size_t BS = 16; const size_t m_tag_size; |