diff --git a/src/libsodium/include/sodium/crypto_sign_ed25519.h b/src/libsodium/include/sodium/crypto_sign_ed25519.h index f21335e2..ce03d1d9 100644 --- a/src/libsodium/include/sodium/crypto_sign_ed25519.h +++ b/src/libsodium/include/sodium/crypto_sign_ed25519.h @@ -4,7 +4,7 @@ #include #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 diff --git a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h index 825b42d0..7577ebf7 100644 --- a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +++ b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h @@ -4,7 +4,7 @@ #include #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