]>
git.codecow.com Git - nano25519.git/log
Chris Duncan [Wed, 23 Sep 2026 20:19:45 +0000 (13:19 -0700)]
Use custom abort handler.
Chris Duncan [Wed, 23 Sep 2026 19:41:27 +0000 (12:41 -0700)]
Clear WASM I/O buffers with host-side call to export instead of using setters and getters.
Chris Duncan [Wed, 23 Sep 2026 18:17:21 +0000 (11:17 -0700)]
Switch from direct memory access to get/set exports.
Chris Duncan [Sat, 19 Sep 2026 06:27:29 +0000 (23:27 -0700)]
Update agent file.
Chris Duncan [Sat, 19 Sep 2026 06:17:27 +0000 (23:17 -0700)]
Update agent file.
Chris Duncan [Sat, 19 Sep 2026 06:17:21 +0000 (23:17 -0700)]
Clear static buffer after use to avoid leaveing the negated copy of the last base table entry selected by the scalar since matching it against the 8 public entries recovers `|e[62]|`, the final radix-16 digit of the secret scalar.
Chris Duncan [Sat, 19 Sep 2026 06:09:24 +0000 (23:09 -0700)]
Stage constant instead of literal.
Chris Duncan [Sat, 19 Sep 2026 05:50:20 +0000 (22:50 -0700)]
Fix agent file.
Chris Duncan [Sat, 19 Sep 2026 05:49:00 +0000 (22:49 -0700)]
Reset buffers after [s]B.
Chris Duncan [Sat, 19 Sep 2026 05:47:46 +0000 (22:47 -0700)]
Add branded point zeroing.
Chris Duncan [Sat, 19 Sep 2026 05:45:15 +0000 (22:45 -0700)]
Fix staged verify byte comparison.
Chris Duncan [Fri, 18 Sep 2026 09:57:52 +0000 (02:57 -0700)]
Implement primordials to capture built-ins before they can be patched or overridden by subsequent malicious code.
Chris Duncan [Thu, 17 Sep 2026 06:57:41 +0000 (23:57 -0700)]
Remove convergence since it does not reduce by much and the .wat will differ from the .wasm if suboptimal.
Chris Duncan [Wed, 16 Sep 2026 07:18:27 +0000 (00:18 -0700)]
Fix test string modification.
Chris Duncan [Mon, 7 Sep 2026 07:24:41 +0000 (00:24 -0700)]
Add Bytes type alias for legibility.
Chris Duncan [Mon, 7 Sep 2026 06:27:27 +0000 (23:27 -0700)]
Merge branch 'next/batch-buffers'
Chris Duncan [Sun, 6 Sep 2026 09:33:02 +0000 (02:33 -0700)]
Fix README examples.
Chris Duncan [Sun, 6 Sep 2026 09:31:16 +0000 (02:31 -0700)]
Update README.
Chris Duncan [Sun, 6 Sep 2026 09:18:12 +0000 (02:18 -0700)]
Fix byte clearing after flipping verify bit meaning.
Chris Duncan [Sun, 6 Sep 2026 09:17:29 +0000 (02:17 -0700)]
Fix blake message byte counter in digest.
Chris Duncan [Sun, 6 Sep 2026 08:49:47 +0000 (01:49 -0700)]
Fix blake message byte counter carry.
Chris Duncan [Sun, 6 Sep 2026 08:25:50 +0000 (01:25 -0700)]
Fix output buffers in speed test page.
Chris Duncan [Sun, 6 Sep 2026 08:25:27 +0000 (01:25 -0700)]
Save markdownlint settings for changelog and readme content.
Chris Duncan [Sun, 6 Sep 2026 07:57:29 +0000 (00:57 -0700)]
Split up test vector sources and bundle them to resolve import issues.
Chris Duncan [Sun, 6 Sep 2026 07:31:48 +0000 (00:31 -0700)]
Require output buffer arg in order to receive output in bytes, else return string regardless of input type.
Chris Duncan [Sat, 5 Sep 2026 17:51:15 +0000 (10:51 -0700)]
Remove noop cast.
Chris Duncan [Sat, 5 Sep 2026 07:54:20 +0000 (00:54 -0700)]
Fix test vector fallback URL.
Chris Duncan [Sat, 5 Sep 2026 07:23:27 +0000 (00:23 -0700)]
Remove irrelevant build config parameter.
Chris Duncan [Sat, 5 Sep 2026 07:23:00 +0000 (00:23 -0700)]
Remove seed no longer needed by unit test.
Chris Duncan [Sat, 5 Sep 2026 03:36:36 +0000 (20:36 -0700)]
Fix positive test.
Chris Duncan [Fri, 4 Sep 2026 22:09:02 +0000 (15:09 -0700)]
Update agent file.
Chris Duncan [Fri, 4 Sep 2026 22:08:55 +0000 (15:08 -0700)]
Remove deprecated label drops.
Chris Duncan [Fri, 4 Sep 2026 21:35:46 +0000 (14:35 -0700)]
Use constant instead of hardcoded value.
Chris Duncan [Fri, 4 Sep 2026 21:35:08 +0000 (14:35 -0700)]
Add positive test for identity signature verification. Fix failed verify rejection output.
Chris Duncan [Fri, 4 Sep 2026 20:52:03 +0000 (13:52 -0700)]
Add canary for equalbytes. Add fabricated valid signature for identity public key.
Chris Duncan [Fri, 4 Sep 2026 20:21:44 +0000 (13:21 -0700)]
Move large test vector set to its own file to avoid crashing IDE. Add byte values for malleable signature vector.
Chris Duncan [Fri, 4 Sep 2026 19:37:20 +0000 (12:37 -0700)]
Extract identity public key for use in tests dedicated to its unique behavior.
Chris Duncan [Fri, 4 Sep 2026 19:05:59 +0000 (12:05 -0700)]
Import constant instead of hardcoding. Improve spread vector. Fix pairwise checks.
Chris Duncan [Fri, 4 Sep 2026 18:18:36 +0000 (11:18 -0700)]
Move constants out of main WASM file to eliminate possible import loops.
Chris Duncan [Fri, 4 Sep 2026 18:18:11 +0000 (11:18 -0700)]
Add comprehensive equalbytes unit tests to check byte pairs that would cancel each other out if the |= accumulator was accidentally replaced with a different, and wrong, operator.
Chris Duncan [Thu, 3 Sep 2026 05:44:01 +0000 (22:44 -0700)]
Fix unit test ranges.
Chris Duncan [Thu, 3 Sep 2026 05:17:45 +0000 (22:17 -0700)]
Expand unit tests for equalbytes.
Chris Duncan [Thu, 3 Sep 2026 05:13:31 +0000 (22:13 -0700)]
Rename verify algorithms.
Chris Duncan [Tue, 1 Sep 2026 06:11:12 +0000 (23:11 -0700)]
Migrate build tests to their own file.
Chris Duncan [Tue, 1 Sep 2026 06:02:16 +0000 (23:02 -0700)]
Import initial memory instead of exporting so that build tests can run and throw helpful messages instead of just crashing exported memory.
Chris Duncan [Tue, 1 Sep 2026 05:53:28 +0000 (22:53 -0700)]
Fix terminology.
Chris Duncan [Sun, 30 Aug 2026 02:02:30 +0000 (19:02 -0700)]
Retract unsupported verify_blocks correctness claim in agent file.
Chris Duncan [Sat, 29 Aug 2026 22:11:28 +0000 (15:11 -0700)]
Update agent file.
Chris Duncan [Sat, 29 Aug 2026 21:53:03 +0000 (14:53 -0700)]
Fix error string type.
Chris Duncan [Sat, 29 Aug 2026 21:43:54 +0000 (14:43 -0700)]
Encode errors for passing among WASM functions and out to host.
Chris Duncan [Sat, 29 Aug 2026 21:30:36 +0000 (14:30 -0700)]
Avoid logging long message string vectors too.
Chris Duncan [Sat, 29 Aug 2026 21:28:07 +0000 (14:28 -0700)]
Avoid logging entire long message when testing.
Chris Duncan [Sat, 29 Aug 2026 21:24:56 +0000 (14:24 -0700)]
Return exit code from crypto_sign to allow buffer cleanup.
Chris Duncan [Sat, 29 Aug 2026 09:17:20 +0000 (02:17 -0700)]
Move mutex lock out of try block so it does not clear buffers from underneath the currently executing function.
Chris Duncan [Sat, 29 Aug 2026 08:53:51 +0000 (01:53 -0700)]
Throw if memory grows instead of just rewrapping it.
Chris Duncan [Sat, 29 Aug 2026 08:46:09 +0000 (01:46 -0700)]
Implement mutex pattern to prevent async wrappers or similar from breaking shared buffer layout.
Chris Duncan [Sat, 29 Aug 2026 07:29:04 +0000 (00:29 -0700)]
Update doc comment.
Chris Duncan [Sat, 29 Aug 2026 07:25:22 +0000 (00:25 -0700)]
Pass ge object instead of pointer for A.
Chris Duncan [Sat, 29 Aug 2026 07:04:43 +0000 (00:04 -0700)]
Fill verify buffer to fail closed at instantiation.
Chris Duncan [Sat, 29 Aug 2026 06:47:19 +0000 (23:47 -0700)]
Fix documentation of constants.
Chris Duncan [Sat, 29 Aug 2026 06:37:01 +0000 (23:37 -0700)]
Fix bulk block count passed to WASM.
Chris Duncan [Sat, 29 Aug 2026 06:33:32 +0000 (23:33 -0700)]
Fix buffer slicing when normalizing.
Chris Duncan [Sat, 29 Aug 2026 05:53:43 +0000 (22:53 -0700)]
Return pointer to A and pass it into relaxed verify.
Chris Duncan [Sat, 29 Aug 2026 05:30:03 +0000 (22:30 -0700)]
Document return value.
Chris Duncan [Sat, 29 Aug 2026 04:56:18 +0000 (21:56 -0700)]
Set verify output to fail closed on host-side clearing.
Chris Duncan [Sat, 29 Aug 2026 04:54:00 +0000 (21:54 -0700)]
Reset buffer view after calling WASM function.
Chris Duncan [Sat, 29 Aug 2026 04:51:34 +0000 (21:51 -0700)]
Fix unit test for equalbytes.
Chris Duncan [Sat, 29 Aug 2026 04:51:16 +0000 (21:51 -0700)]
Fix truncated data type.
Chris Duncan [Fri, 28 Aug 2026 21:56:45 +0000 (14:56 -0700)]
Update agent file.
Chris Duncan [Fri, 28 Aug 2026 19:52:59 +0000 (12:52 -0700)]
Bump max bulk block verification per speed test results.
Chris Duncan [Fri, 28 Aug 2026 19:50:21 +0000 (12:50 -0700)]
Update speed test page to force test size of 1 which still processes MAX_VERIFY_BLOCKS messages.
Chris Duncan [Fri, 28 Aug 2026 19:19:05 +0000 (12:19 -0700)]
Update speed test page to use byte arguments by default.
Chris Duncan [Fri, 28 Aug 2026 18:45:12 +0000 (11:45 -0700)]
Update agent file.
Chris Duncan [Fri, 28 Aug 2026 17:54:58 +0000 (10:54 -0700)]
Export constants for consumer use. Increase minimum message buffer allocation to a full page of 64 KiB. Increase initial memory accordingly.
Chris Duncan [Fri, 28 Aug 2026 13:00:53 +0000 (06:00 -0700)]
Update agent file.
Chris Duncan [Fri, 28 Aug 2026 01:55:19 +0000 (18:55 -0700)]
Fix staged byte comparison.
Chris Duncan [Fri, 28 Aug 2026 01:44:27 +0000 (18:44 -0700)]
Fix byte comparison.
Chris Duncan [Fri, 28 Aug 2026 01:24:44 +0000 (18:24 -0700)]
Fix test result.
Chris Duncan [Fri, 28 Aug 2026 00:26:30 +0000 (17:26 -0700)]
Update problem vector test.
Chris Duncan [Fri, 28 Aug 2026 00:21:40 +0000 (17:21 -0700)]
Fix relaxed verify.
Chris Duncan [Thu, 27 Aug 2026 23:53:29 +0000 (16:53 -0700)]
Stage cofactorless strict verification for later when test vectors are available.
Chris Duncan [Thu, 27 Aug 2026 23:50:57 +0000 (16:50 -0700)]
Relax verify for donna.
Chris Duncan [Thu, 27 Aug 2026 17:06:12 +0000 (10:06 -0700)]
Fix shadowed loop counter.
Chris Duncan [Thu, 27 Aug 2026 17:02:06 +0000 (10:02 -0700)]
Fix max sign/verify message bytelength.
Chris Duncan [Thu, 27 Aug 2026 16:04:41 +0000 (09:04 -0700)]
Refactor I/O buffers to separate per primitive. Reduce bulk block verification size, see src/assembly/index.ts > verify_blocks for more info.
Chris Duncan [Thu, 27 Aug 2026 14:44:15 +0000 (07:44 -0700)]
Test bulk speed improvement with random inputs instead of repeated.
Chris Duncan [Thu, 27 Aug 2026 14:25:14 +0000 (07:25 -0700)]
Reverse hash and signature order to match libsodium convention for combined mode.
Chris Duncan [Thu, 27 Aug 2026 14:15:28 +0000 (07:15 -0700)]
Adjust names and sort order.
Chris Duncan [Thu, 27 Aug 2026 13:53:50 +0000 (06:53 -0700)]
Merge local buffers since execution is all synchronous.
Chris Duncan [Thu, 27 Aug 2026 13:47:47 +0000 (06:47 -0700)]
Clear output buffer and locals prior to execution.
Chris Duncan [Thu, 27 Aug 2026 07:21:31 +0000 (00:21 -0700)]
Delete unused local buffer.
Chris Duncan [Thu, 27 Aug 2026 07:05:15 +0000 (00:05 -0700)]
Compute output buffer size instead of defining.
Chris Duncan [Thu, 27 Aug 2026 07:01:08 +0000 (00:01 -0700)]
Fix exit code treated as Boolean.
Chris Duncan [Thu, 27 Aug 2026 06:53:44 +0000 (23:53 -0700)]
Fix missing cast.
Chris Duncan [Thu, 27 Aug 2026 06:52:10 +0000 (23:52 -0700)]
Fix object that is not a pointer.
Chris Duncan [Thu, 27 Aug 2026 06:48:54 +0000 (23:48 -0700)]
Write verification results directly to output buffer.
Chris Duncan [Thu, 27 Aug 2026 06:44:06 +0000 (23:44 -0700)]
Fix missing parenthesis.
Chris Duncan [Thu, 27 Aug 2026 06:42:27 +0000 (23:42 -0700)]
Skip bulk block verification entirely if public key is invalid.
Chris Duncan [Thu, 27 Aug 2026 04:56:13 +0000 (21:56 -0700)]
Max out message buffer by allowing 341 blocks instead of 256.
Chris Duncan [Thu, 27 Aug 2026 04:53:41 +0000 (21:53 -0700)]
Extract verification speed test so that blocks can be constructed prior to timing.