From 4d30311218cb20d7cc38dfae886dfb27366e63bf Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 25 Sep 2026 17:19:26 -0700 Subject: [PATCH] Fix test page signature buffer aliasing. --- test/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.html b/test/index.html index 3ab659e..a95eb6e 100644 --- a/test/index.html +++ b/test/index.html @@ -422,7 +422,7 @@ SPDX-License-Identifier: GPL-3.0-or-later const blocks = [] for (let b = 0; b < nano25519.constants.MAX_VERIFY_BLOCKS; b++) { message = rand(32).bytes - signature = sign(message, privateKey, publicKey, 'nano25519') + signature = sign(message, privateKey, publicKey, 'nano25519').slice() blocks[b] = { hash: message, signature } } start = performance.now() -- 2.52.0