diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-01-19 08:06:06 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-01-19 08:06:06 -0500 |
commit | 24a9466e54f113fc4a114051e8276987e0493dc8 (patch) | |
tree | 0ab5b5124acf2b9d934d4fda2b6ab38a4fc605da | |
parent | a1deaf73c112084d3d39b299506d6476e8e32921 (diff) | |
download | cryptopp-git-24a9466e54f113fc4a114051e8276987e0493dc8.tar.gz |
Update documentation
-rw-r--r-- | nacl.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -361,7 +361,7 @@ int crypto_sign(uint8_t *sm,uint64_t *smlen,const uint8_t *m,uint64_t n,const ui /// \param m output byte buffer
/// \param mlen size of the output byte buffer
/// \param sm input byte buffer
-/// \param smlen size of the input byte buffer
+/// \param n size of the input byte buffer
/// \param pk public key
/// \returns 0 on success, non-0 otherwise
/// \sa <A HREF="https://nacl.cr.yp.to/sign.html">NaCl crypto_sign documentation</A>
@@ -369,8 +369,8 @@ int crypto_sign(uint8_t *sm,uint64_t *smlen,const uint8_t *m,uint64_t n,const ui int crypto_sign_open(uint8_t *m,uint64_t *mlen,const uint8_t *sm,uint64_t n,const uint8_t *pk);
/// \brief Generate a keypair for signing
-/// \param y public key byte buffer
-/// \param x private key byte buffer
+/// \param pk public key byte buffer
+/// \param sk private key byte buffer
/// \details crypto_sign_keypair() creates an ed25519 keypair.
/// \returns 0 on success, non-0 otherwise
/// \sa <A HREF="https://nacl.cr.yp.to/sign.html">NaCl crypto_sign documentation</A>
|