fixed the comment about both message and signed message being padded

This commit is contained in:
GraxRabble 2014-09-25 13:21:44 -04:00
parent e99748b1c0
commit 44fed3dd0e

View File

@ -18,8 +18,9 @@
* Everybody else can use the public key to ensure that the message is both * Everybody else can use the public key to ensure that the message is both
* valid and untampered. * valid and untampered.
* *
* Note that both message and signed message must be padded for signature. * Note that the signed message will have 16 bytes of signature prepended.
* The padding does not have to be set to zero. * Ensure that the signed buffer is at least crypto_sign_BYTES longer then
* the actual message.
*/ */
static int static int
sign(void) sign(void)