all repos — TinyCrypT @ 87dd2822c67a2cdbcd1f802dccb6d4da447cab35

Short and sweet classical cryptographic primitives

Fixed buffer overflow in portable Ed25519, oopsies
Juniper Beatitudes [email protected]
Mon, 04 May 2026 07:34:37 -0500
commit

87dd2822c67a2cdbcd1f802dccb6d4da447cab35

parent

c8b139650863d70d18fb01979f0868465f0057b1

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M tinycrypt/portable/ed25519.ctinycrypt/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; }