diff --git a/test/default/ed25519_convert.c b/test/default/ed25519_convert.c index da0f2666..9266619f 100644 --- a/test/default/ed25519_convert.c +++ b/test/default/ed25519_convert.c @@ -14,8 +14,7 @@ static const unsigned char keypair_seed[crypto_sign_ed25519_SEEDBYTES] = { int main(void) { unsigned char ed25519_pk[crypto_sign_ed25519_PUBLICKEYBYTES]; - unsigned char ed25519_skpk[crypto_sign_ed25519_SECRETKEYBYTES + - crypto_sign_ed25519_PUBLICKEYBYTES]; + unsigned char ed25519_skpk[crypto_sign_ed25519_SECRETKEYBYTES]; unsigned char curve25519_pk[crypto_scalarmult_curve25519_BYTES]; unsigned char curve25519_pk2[crypto_scalarmult_curve25519_BYTES]; unsigned char curve25519_sk[crypto_scalarmult_curve25519_BYTES]; diff --git a/test/default/sign.c b/test/default/sign.c index 2cf108a9..ac4ba23e 100644 --- a/test/default/sign.c +++ b/test/default/sign.c @@ -1055,8 +1055,7 @@ int main(void) unsigned char sig[crypto_sign_BYTES]; unsigned char sm[1024 + crypto_sign_BYTES]; unsigned char m[1024]; - unsigned char skpk[crypto_sign_SECRETKEYBYTES + - crypto_sign_PUBLICKEYBYTES]; + unsigned char skpk[crypto_sign_SECRETKEYBYTES]; unsigned char pk[crypto_sign_PUBLICKEYBYTES]; unsigned char sk[crypto_sign_SECRETKEYBYTES]; char pk_hex[crypto_sign_PUBLICKEYBYTES * 2 + 1];