]> git.codecow.com Git - nano25519.git/log
nano25519.git
2 months agoUse captured buffer accessor instead of prototype property.
Chris Duncan [Sat, 26 Sep 2026 08:48:46 +0000 (01:48 -0700)]
Use captured buffer accessor instead of prototype property.

2 months agoFix Uint32Array length.
Chris Duncan [Sat, 26 Sep 2026 08:37:19 +0000 (01:37 -0700)]
Fix Uint32Array length.

2 months agoFix endian check.
Chris Duncan [Sat, 26 Sep 2026 08:32:49 +0000 (01:32 -0700)]
Fix endian check.

2 months agosave copy optimization.
Chris Duncan [Sat, 26 Sep 2026 08:16:21 +0000 (01:16 -0700)]
save copy optimization.

2 months agoSet custom error names in a way that esbuild will recognize.
Chris Duncan [Sat, 26 Sep 2026 00:35:27 +0000 (17:35 -0700)]
Set custom error names in a way that esbuild will recognize.

2 months agoRetain custom error names when bundling.
Chris Duncan [Sat, 26 Sep 2026 00:32:03 +0000 (17:32 -0700)]
Retain custom error names when bundling.

2 months agoFix failing test due to outdated error message.
Chris Duncan [Sat, 26 Sep 2026 00:24:34 +0000 (17:24 -0700)]
Fix failing test due to outdated error message.

2 months agoFix test page signature buffer aliasing.
Chris Duncan [Sat, 26 Sep 2026 00:19:26 +0000 (17:19 -0700)]
Fix test page signature buffer aliasing.

2 months agoCompute offset instead of relying on magic number.
Chris Duncan [Fri, 25 Sep 2026 17:19:32 +0000 (10:19 -0700)]
Compute offset instead of relying on magic number.

2 months agoAdd custom message byte length to speed test page.
Chris Duncan [Fri, 25 Sep 2026 16:48:13 +0000 (09:48 -0700)]
Add custom message byte length to speed test page.

2 months agoRefactor input copying from host to WASM to batch bytes and vastly improve performanc...
Chris Duncan [Fri, 25 Sep 2026 16:33:43 +0000 (09:33 -0700)]
Refactor input copying from host to WASM to batch bytes and vastly improve performance for large message values at the boundary crossing.

2 months agoFix blakegen compression step.
Chris Duncan [Thu, 24 Sep 2026 21:04:28 +0000 (14:04 -0700)]
Fix blakegen compression step.

2 months agoGenerate blake hashing to unroll long loops.
Chris Duncan [Thu, 24 Sep 2026 19:57:08 +0000 (12:57 -0700)]
Generate blake hashing to unroll long loops.

2 months agoFix test page content.
Chris Duncan [Thu, 24 Sep 2026 13:49:08 +0000 (06:49 -0700)]
Fix test page content.

2 months agoComment doc.
Chris Duncan [Thu, 24 Sep 2026 06:53:46 +0000 (23:53 -0700)]
Comment doc.

2 months agoMove curve arithmetic into subdirectory.
Chris Duncan [Thu, 24 Sep 2026 06:50:51 +0000 (23:50 -0700)]
Move curve arithmetic into subdirectory.

2 months agoInclude assembly subdirectories in asc checking.
Chris Duncan [Thu, 24 Sep 2026 06:44:07 +0000 (23:44 -0700)]
Include assembly subdirectories in asc checking.

2 months agoRefactor error code handling, eliminate dead code, and remove redundant currying.
Chris Duncan [Thu, 24 Sep 2026 06:42:39 +0000 (23:42 -0700)]
Refactor error code handling, eliminate dead code, and remove redundant currying.

2 months agoRename env import overrides.
Chris Duncan [Wed, 23 Sep 2026 21:26:06 +0000 (14:26 -0700)]
Rename env import overrides.

2 months agoUse custom abort handler.
Chris Duncan [Wed, 23 Sep 2026 20:19:45 +0000 (13:19 -0700)]
Use custom abort handler.

2 months agoClear WASM I/O buffers with host-side call to export instead of using setters and...
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.

2 months agoSwitch from direct memory access to get/set exports.
Chris Duncan [Wed, 23 Sep 2026 18:17:21 +0000 (11:17 -0700)]
Switch from direct memory access to get/set exports.

2 months agoUpdate agent file.
Chris Duncan [Sat, 19 Sep 2026 06:27:29 +0000 (23:27 -0700)]
Update agent file.

2 months agoUpdate agent file.
Chris Duncan [Sat, 19 Sep 2026 06:17:27 +0000 (23:17 -0700)]
Update agent file.

2 months agoClear static buffer after use to avoid leaveing the negated copy of the last base...
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.

2 months agoStage constant instead of literal.
Chris Duncan [Sat, 19 Sep 2026 06:09:24 +0000 (23:09 -0700)]
Stage constant instead of literal.

2 months agoFix agent file.
Chris Duncan [Sat, 19 Sep 2026 05:50:20 +0000 (22:50 -0700)]
Fix agent file.

2 months agoReset buffers after [s]B.
Chris Duncan [Sat, 19 Sep 2026 05:49:00 +0000 (22:49 -0700)]
Reset buffers after [s]B.

2 months agoAdd branded point zeroing.
Chris Duncan [Sat, 19 Sep 2026 05:47:46 +0000 (22:47 -0700)]
Add branded point zeroing.

2 months agoFix staged verify byte comparison.
Chris Duncan [Sat, 19 Sep 2026 05:45:15 +0000 (22:45 -0700)]
Fix staged verify byte comparison.

2 months agoImplement primordials to capture built-ins before they can be patched or overridden...
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.

2 months agoRemove convergence since it does not reduce by much and the .wat will differ from...
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.

2 months agoFix test string modification.
Chris Duncan [Wed, 16 Sep 2026 07:18:27 +0000 (00:18 -0700)]
Fix test string modification.

2 months agoAdd Bytes type alias for legibility.
Chris Duncan [Mon, 7 Sep 2026 07:24:41 +0000 (00:24 -0700)]
Add Bytes type alias for legibility.

2 months agoMerge branch 'next/batch-buffers'
Chris Duncan [Mon, 7 Sep 2026 06:27:27 +0000 (23:27 -0700)]
Merge branch 'next/batch-buffers'

2 months agoFix README examples.
Chris Duncan [Sun, 6 Sep 2026 09:33:02 +0000 (02:33 -0700)]
Fix README examples.

2 months agoUpdate README.
Chris Duncan [Sun, 6 Sep 2026 09:31:16 +0000 (02:31 -0700)]
Update README.

2 months agoFix byte clearing after flipping verify bit meaning.
Chris Duncan [Sun, 6 Sep 2026 09:18:12 +0000 (02:18 -0700)]
Fix byte clearing after flipping verify bit meaning.

2 months agoFix blake message byte counter in digest.
Chris Duncan [Sun, 6 Sep 2026 09:17:29 +0000 (02:17 -0700)]
Fix blake message byte counter in digest.

2 months agoFix blake message byte counter carry.
Chris Duncan [Sun, 6 Sep 2026 08:49:47 +0000 (01:49 -0700)]
Fix blake message byte counter carry.

2 months agoFix output buffers in speed test page.
Chris Duncan [Sun, 6 Sep 2026 08:25:50 +0000 (01:25 -0700)]
Fix output buffers in speed test page.

2 months agoSave markdownlint settings for changelog and readme content.
Chris Duncan [Sun, 6 Sep 2026 08:25:27 +0000 (01:25 -0700)]
Save markdownlint settings for changelog and readme content.

2 months agoSplit up test vector sources and bundle them to resolve import issues.
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.

2 months agoRequire output buffer arg in order to receive output in bytes, else return string...
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.

2 months agoRemove noop cast.
Chris Duncan [Sat, 5 Sep 2026 17:51:15 +0000 (10:51 -0700)]
Remove noop cast.

2 months agoFix test vector fallback URL.
Chris Duncan [Sat, 5 Sep 2026 07:54:20 +0000 (00:54 -0700)]
Fix test vector fallback URL.

2 months agoRemove irrelevant build config parameter.
Chris Duncan [Sat, 5 Sep 2026 07:23:27 +0000 (00:23 -0700)]
Remove irrelevant build config parameter.

2 months agoRemove seed no longer needed by unit test.
Chris Duncan [Sat, 5 Sep 2026 07:23:00 +0000 (00:23 -0700)]
Remove seed no longer needed by unit test.

2 months agoFix positive test.
Chris Duncan [Sat, 5 Sep 2026 03:36:36 +0000 (20:36 -0700)]
Fix positive test.

2 months agoUpdate agent file.
Chris Duncan [Fri, 4 Sep 2026 22:09:02 +0000 (15:09 -0700)]
Update agent file.

2 months agoRemove deprecated label drops.
Chris Duncan [Fri, 4 Sep 2026 22:08:55 +0000 (15:08 -0700)]
Remove deprecated label drops.

2 months agoUse constant instead of hardcoded value.
Chris Duncan [Fri, 4 Sep 2026 21:35:46 +0000 (14:35 -0700)]
Use constant instead of hardcoded value.

2 months agoAdd positive test for identity signature verification. Fix failed verify rejection...
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.

2 months agoAdd canary for equalbytes. Add fabricated valid signature for identity public key.
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.

2 months agoMove large test vector set to its own file to avoid crashing IDE. Add byte values...
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.

2 months agoExtract identity public key for use in tests dedicated to its unique behavior.
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.

2 months agoImport constant instead of hardcoding. Improve spread vector. Fix pairwise checks.
Chris Duncan [Fri, 4 Sep 2026 19:05:59 +0000 (12:05 -0700)]
Import constant instead of hardcoding. Improve spread vector. Fix pairwise checks.

2 months agoMove constants out of main WASM file to eliminate possible import loops.
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.

2 months agoAdd comprehensive equalbytes unit tests to check byte pairs that would cancel each...
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.

2 months agoFix unit test ranges.
Chris Duncan [Thu, 3 Sep 2026 05:44:01 +0000 (22:44 -0700)]
Fix unit test ranges.

2 months agoExpand unit tests for equalbytes.
Chris Duncan [Thu, 3 Sep 2026 05:17:45 +0000 (22:17 -0700)]
Expand unit tests for equalbytes.

2 months agoRename verify algorithms.
Chris Duncan [Thu, 3 Sep 2026 05:13:31 +0000 (22:13 -0700)]
Rename verify algorithms.

2 months agoMigrate build tests to their own file.
Chris Duncan [Tue, 1 Sep 2026 06:11:12 +0000 (23:11 -0700)]
Migrate build tests to their own file.

2 months agoImport initial memory instead of exporting so that build tests can run and throw...
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.

2 months agoFix terminology.
Chris Duncan [Tue, 1 Sep 2026 05:53:28 +0000 (22:53 -0700)]
Fix terminology.

3 months agoRetract unsupported verify_blocks correctness claim in agent file.
Chris Duncan [Sun, 30 Aug 2026 02:02:30 +0000 (19:02 -0700)]
Retract unsupported verify_blocks correctness claim in agent file.

3 months agoUpdate agent file.
Chris Duncan [Sat, 29 Aug 2026 22:11:28 +0000 (15:11 -0700)]
Update agent file.

3 months agoFix error string type.
Chris Duncan [Sat, 29 Aug 2026 21:53:03 +0000 (14:53 -0700)]
Fix error string type.

3 months agoEncode errors for passing among WASM functions and out to host.
Chris Duncan [Sat, 29 Aug 2026 21:43:54 +0000 (14:43 -0700)]
Encode errors for passing among WASM functions and out to host.

3 months agoAvoid logging long message string vectors too.
Chris Duncan [Sat, 29 Aug 2026 21:30:36 +0000 (14:30 -0700)]
Avoid logging long message string vectors too.

3 months agoAvoid logging entire long message when testing.
Chris Duncan [Sat, 29 Aug 2026 21:28:07 +0000 (14:28 -0700)]
Avoid logging entire long message when testing.

3 months agoReturn exit code from crypto_sign to allow buffer cleanup.
Chris Duncan [Sat, 29 Aug 2026 21:24:56 +0000 (14:24 -0700)]
Return exit code from crypto_sign to allow buffer cleanup.

3 months agoMove mutex lock out of try block so it does not clear buffers from underneath the...
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.

3 months agoThrow if memory grows instead of just rewrapping it.
Chris Duncan [Sat, 29 Aug 2026 08:53:51 +0000 (01:53 -0700)]
Throw if memory grows instead of just rewrapping it.

3 months agoImplement mutex pattern to prevent async wrappers or similar from breaking shared...
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.

3 months agoUpdate doc comment.
Chris Duncan [Sat, 29 Aug 2026 07:29:04 +0000 (00:29 -0700)]
Update doc comment.

3 months agoPass ge object instead of pointer for A.
Chris Duncan [Sat, 29 Aug 2026 07:25:22 +0000 (00:25 -0700)]
Pass ge object instead of pointer for A.

3 months agoFill verify buffer to fail closed at instantiation.
Chris Duncan [Sat, 29 Aug 2026 07:04:43 +0000 (00:04 -0700)]
Fill verify buffer to fail closed at instantiation.

3 months agoFix documentation of constants.
Chris Duncan [Sat, 29 Aug 2026 06:47:19 +0000 (23:47 -0700)]
Fix documentation of constants.

3 months agoFix bulk block count passed to WASM.
Chris Duncan [Sat, 29 Aug 2026 06:37:01 +0000 (23:37 -0700)]
Fix bulk block count passed to WASM.

3 months agoFix buffer slicing when normalizing.
Chris Duncan [Sat, 29 Aug 2026 06:33:32 +0000 (23:33 -0700)]
Fix buffer slicing when normalizing.

3 months agoReturn pointer to A and pass it into relaxed verify.
Chris Duncan [Sat, 29 Aug 2026 05:53:43 +0000 (22:53 -0700)]
Return pointer to A and pass it into relaxed verify.

3 months agoDocument return value.
Chris Duncan [Sat, 29 Aug 2026 05:30:03 +0000 (22:30 -0700)]
Document return value.

3 months agoSet verify output to fail closed on host-side clearing.
Chris Duncan [Sat, 29 Aug 2026 04:56:18 +0000 (21:56 -0700)]
Set verify output to fail closed on host-side clearing.

3 months agoReset buffer view after calling WASM function.
Chris Duncan [Sat, 29 Aug 2026 04:54:00 +0000 (21:54 -0700)]
Reset buffer view after calling WASM function.

3 months agoFix unit test for equalbytes.
Chris Duncan [Sat, 29 Aug 2026 04:51:34 +0000 (21:51 -0700)]
Fix unit test for equalbytes.

3 months agoFix truncated data type.
Chris Duncan [Sat, 29 Aug 2026 04:51:16 +0000 (21:51 -0700)]
Fix truncated data type.

3 months agoUpdate agent file.
Chris Duncan [Fri, 28 Aug 2026 21:56:45 +0000 (14:56 -0700)]
Update agent file.

3 months agoBump max bulk block verification per speed test results.
Chris Duncan [Fri, 28 Aug 2026 19:52:59 +0000 (12:52 -0700)]
Bump max bulk block verification per speed test results.

3 months agoUpdate speed test page to force test size of 1 which still processes MAX_VERIFY_BLOCK...
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.

3 months agoUpdate speed test page to use byte arguments by default.
Chris Duncan [Fri, 28 Aug 2026 19:19:05 +0000 (12:19 -0700)]
Update speed test page to use byte arguments by default.

3 months agoUpdate agent file.
Chris Duncan [Fri, 28 Aug 2026 18:45:12 +0000 (11:45 -0700)]
Update agent file.

3 months agoExport constants for consumer use. Increase minimum message buffer allocation to...
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.

3 months agoUpdate agent file.
Chris Duncan [Fri, 28 Aug 2026 13:00:53 +0000 (06:00 -0700)]
Update agent file.

3 months agoFix staged byte comparison.
Chris Duncan [Fri, 28 Aug 2026 01:55:19 +0000 (18:55 -0700)]
Fix staged byte comparison.

3 months agoFix byte comparison.
Chris Duncan [Fri, 28 Aug 2026 01:44:27 +0000 (18:44 -0700)]
Fix byte comparison.

3 months agoFix test result.
Chris Duncan [Fri, 28 Aug 2026 01:24:44 +0000 (18:24 -0700)]
Fix test result.

3 months agoUpdate problem vector test.
Chris Duncan [Fri, 28 Aug 2026 00:26:30 +0000 (17:26 -0700)]
Update problem vector test.

3 months agoFix relaxed verify.
Chris Duncan [Fri, 28 Aug 2026 00:21:40 +0000 (17:21 -0700)]
Fix relaxed verify.

3 months agoStage cofactorless strict verification for later when test vectors are available.
Chris Duncan [Thu, 27 Aug 2026 23:53:29 +0000 (16:53 -0700)]
Stage cofactorless strict verification for later when test vectors are available.