Fixed buffer overflow in portable Ed25519, oopsies
Juniper Beatitudes [email protected]
Mon, 04 May 2026 07:34:37 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
tinycrypt/portable/ed25519.c
→
tinycrypt/portable/ed25519.c
@@ -705,7 +705,7 @@ {
uint32_t ONE[8] = { 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, }; - for (unsigned int i = 0; i < 32; ++i) + for (unsigned int i = 0; i < 8; ++i) { x[i] = y[i] = z[i] = t[i] = 0x0; }