X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/d1dace004048e3147d27ccc6cf5f33ada1fa40be..e057fe08fc130c9a84c0d5ae885580286837b2d3:/pub/ed448.c diff --git a/pub/ed448.c b/pub/ed448.c index a3a94214..714987f4 100644 --- a/pub/ed448.c +++ b/pub/ed448.c @@ -317,7 +317,7 @@ void ed448_sign(octet sig[ED448_SIGSZ], const void *m, size_t msz) { shake_ctx h; - scaf_piece a[NPIECE], r[NPIECE], t[NPIECE], scratch[3*NPIECE + 1]; + scaf_piece a[NPIECE], r[NPIECE], t[NPIECE], scratch[3*NPIECE]; scaf_dblpiece tt[2*NPIECE]; fgoldi RX, RY, RZ; octet h1[57], pb[PREFIX_BUFSZ], rb[114]; @@ -376,7 +376,7 @@ int ed448_verify(const octet K[ED448_PUBSZ], const octet sig[ED448_SIGSZ]) { shake_ctx h; - scaf_piece s[NPIECE], t[NPIECE], scratch[3*NPIECE + 1]; + scaf_piece s[NPIECE], t[NPIECE], scratch[3*NPIECE]; scaf_dblpiece tt[2*NPIECE]; fgoldi AX, AY, AZ, RX, RY, RZ; octet b[PREFIX_BUFSZ];