int
ed25519_donna_pubkey(unsigned char *pk, const unsigned char *sk)
{
- bignum256modm a;
- ge25519 ALIGN(16) A;
+ bignum256modm a = {0};
+ ge25519 ALIGN(16) A = {{0}, {0}, {0}, {0}};
/* A = aB */
expand256_modm(a, sk, 32);
const unsigned char *sk, const unsigned char *pk)
{
ed25519_hash_context ctx;
- bignum256modm r, S, a;
- ge25519 ALIGN(16) R;
+ bignum256modm r = {0}, S, a;
+ ge25519 ALIGN(16) R = {{0}, {0}, {0}, {0}};
hash_512bits hashr, hram;
/* This is equivalent to the removed `ED25519_FN(ed25519_sign)` routine,