fixed the comment about both message and signed message being padded
This commit is contained in:
parent
e99748b1c0
commit
44fed3dd0e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user