summaryrefslogtreecommitdiff
path: root/cbcmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'cbcmac.h')
-rw-r--r--cbcmac.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cbcmac.h b/cbcmac.h
index a8c88d3..4675dcb 100644
--- a/cbcmac.h
+++ b/cbcmac.h
@@ -28,8 +28,7 @@ private:
//! <a href="http://www.weidai.com/scan-mirror/mac.html#CBC-MAC">CBC-MAC</a>
/*! Compatible with FIPS 113. T should be a class derived from BlockCipherDocumentation.
- Secure only for fixed length messages. For variable length
- messages use DMAC.
+ Secure only for fixed length messages. For variable length messages use CMAC or DMAC.
*/
template <class T>
class CBC_MAC : public MessageAuthenticationCodeImpl<CBC_MAC_Base, CBC_MAC<T> >, public SameKeyLengthAs<T>