mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Make it clear that crypto_sign_SECRETKEYBYTES actually stands for 2 * 32
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <stddef.h>
|
||||
#include "export.h"
|
||||
|
||||
#define crypto_sign_ed25519_SECRETKEYBYTES 64U
|
||||
#define crypto_sign_ed25519_SECRETKEYBYTES (32U + 32U)
|
||||
#define crypto_sign_ed25519_PUBLICKEYBYTES 32U
|
||||
#define crypto_sign_ed25519_SEEDBYTES 32U
|
||||
#define crypto_sign_ed25519_BYTES 64U
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <stddef.h>
|
||||
#include "export.h"
|
||||
|
||||
#define crypto_sign_edwards25519sha512batch_SECRETKEYBYTES 64U
|
||||
#define crypto_sign_edwards25519sha512batch_SECRETKEYBYTES (32U + 32U)
|
||||
#define crypto_sign_edwards25519sha512batch_PUBLICKEYBYTES 32U
|
||||
#define crypto_sign_edwards25519sha512batch_BYTES 64U
|
||||
|
||||
|
||||
Reference in New Issue
Block a user