mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 19:27:12 +09:00
fixed the comment about both message and signed message being padded
This commit is contained in:
+3
-2
@@ -18,8 +18,9 @@
|
||||
* Everybody else can use the public key to ensure that the message is both
|
||||
* valid and untampered.
|
||||
*
|
||||
* Note that both message and signed message must be padded for signature.
|
||||
* The padding does not have to be set to zero.
|
||||
* Note that the signed message will have 16 bytes of signature prepended.
|
||||
* Ensure that the signed buffer is at least crypto_sign_BYTES longer then
|
||||
* the actual message.
|
||||
*/
|
||||
static int
|
||||
sign(void)
|
||||
|
||||
Reference in New Issue
Block a user