summaryrefslogtreecommitdiff
path: root/poly1305.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-11-27 20:09:55 -0500
committerJeffrey Walton <noloader@gmail.com>2016-11-27 20:09:55 -0500
commit6c9deef853019a1fff45391334c0d24cb01f397f (patch)
tree3f9420da8f837ebe11891e7b74da6e544df3da02 /poly1305.h
parent7b36f81dc5181a5580985f85c9379656fda09bd9 (diff)
downloadcryptopp-git-6c9deef853019a1fff45391334c0d24cb01f397f.tar.gz
Updated documentation. Whitespace
Diffstat (limited to 'poly1305.h')
-rw-r--r--poly1305.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/poly1305.h b/poly1305.h
index 5ed29cb2..9d45108a 100644
--- a/poly1305.h
+++ b/poly1305.h
@@ -159,7 +159,8 @@ public:
//! \param nonceLength the size of the byte array, in bytes
//! \details key is the 32-byte key composed of the 16-byte AES key and the 16 additional key
//! bytes used for <tt>r</tt>.
- //! \details Each message requires a unique security context.
+ //! \details Each message requires a unique security context. You can use GetNextIV() and
+ //! Resynchronize() to set a new nonce under a key for a message.
Poly1305(const byte *key, size_t keyLength=DEFAULT_KEYLENGTH, const byte *nonce=NULL, size_t nonceLength=0)
{this->SetKey(key, keyLength, MakeParameters(Name::IV(), ConstByteArrayParameter(nonce, nonceLength)));}
};