summaryrefslogtreecommitdiff
path: root/poly1305.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-11-28 10:37:28 -0500
committerJeffrey Walton <noloader@gmail.com>2016-11-28 10:37:28 -0500
commit8af39377289feba1876b3252b6d233e5f6ae0229 (patch)
tree2185d6dd66adfe4a631e5de0da65368df21a2fcd /poly1305.h
parent4ee9fe3acc445960375a2f29b739bc3b461be228 (diff)
downloadcryptopp-git-8af39377289feba1876b3252b6d233e5f6ae0229.tar.gz
Updated documentation
Diffstat (limited to 'poly1305.h')
-rw-r--r--poly1305.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/poly1305.h b/poly1305.h
index 297e792a..9fb8b90d 100644
--- a/poly1305.h
+++ b/poly1305.h
@@ -102,6 +102,7 @@ protected:
};
//! \class Poly1305
+//! \brief Poly1305 message authentication code
//! \details Poly1305-AES is a state-of-the-art message-authentication code suitable for a wide
//! variety of applications. Poly1305-AES computes a 16-byte authenticator of a variable-length
//! message, using a 16-byte AES key, a 16-byte additional key, and a 16-byte nonce.
@@ -135,8 +136,8 @@ protected:
//! poly1305.Update(...);
//! poly1305.Final(...);
//! ...</pre>
-//! \warn The Poly1305 class does not enforce a fresh nonce for each message. The source code
-//! will assert in debug builds to alert of nonce reuse. No action is taken in releas builds.
+//! \warning The Poly1305 class does not enforce a fresh nonce for each message. The source code
+//! will assert in debug builds to alert of nonce reuse. No action is taken in release builds.
//! \sa Daniel J. Bernstein <A HREF="http://cr.yp.to/mac/poly1305-20050329.pdf">The Poly1305-AES
//! Message-Authentication Code (20050329)</A> and Andy Polyakov <A
//! HREF="http://www.openssl.org/blog/blog/2016/02/15/poly1305-revised/">Poly1305 Revised</A>