]> git.codecow.com Git - nano25519.git/log
nano25519.git
7 weeks agoRefactor to remove array index access and reduce load calls.
Chris Duncan [Fri, 9 Oct 2026 16:15:44 +0000 (09:15 -0700)]
Refactor to remove array index access and reduce load calls.

7 weeks agoMove up scratch buffers and develop initial naming conventions.
Chris Duncan [Fri, 9 Oct 2026 06:23:42 +0000 (23:23 -0700)]
Move up scratch buffers and develop initial naming conventions.

7 weeks agoMove up scratch buffers.
Chris Duncan [Fri, 9 Oct 2026 06:16:11 +0000 (23:16 -0700)]
Move up scratch buffers.

7 weeks agoMove up scratch buffers.
Chris Duncan [Fri, 9 Oct 2026 06:07:40 +0000 (23:07 -0700)]
Move up scratch buffers.

7 weeks agoReorder methods.
Chris Duncan [Thu, 8 Oct 2026 15:51:13 +0000 (08:51 -0700)]
Reorder methods.

7 weeks agoReorder variables.
Chris Duncan [Thu, 8 Oct 2026 15:44:42 +0000 (08:44 -0700)]
Reorder variables.

7 weeks agoOnly toggle test size when switching to or from bulk. Fix typo.
Chris Duncan [Tue, 6 Oct 2026 21:23:33 +0000 (14:23 -0700)]
Only toggle test size when switching to or from bulk. Fix typo.

7 weeks agoClear scratch buffers after point multiplication.
Chris Duncan [Tue, 6 Oct 2026 07:22:55 +0000 (00:22 -0700)]
Clear scratch buffers after point multiplication.

7 weeks agoMove final remaining scratch buffers out of p.
Chris Duncan [Tue, 6 Oct 2026 07:17:22 +0000 (00:17 -0700)]
Move final remaining scratch buffers out of p.

7 weeks agoReduce logging from tests by consolidating successes and failures.
Chris Duncan [Tue, 6 Oct 2026 06:53:24 +0000 (23:53 -0700)]
Reduce logging from tests by consolidating successes and failures.

7 weeks agoOverhaul testing modules.
Chris Duncan [Tue, 6 Oct 2026 06:45:56 +0000 (23:45 -0700)]
Overhaul testing modules.

7 weeks agoUpdate README.
Chris Duncan [Tue, 6 Oct 2026 06:14:09 +0000 (23:14 -0700)]
Update README.

7 weeks agoUpdate licensing info.
Chris Duncan [Tue, 6 Oct 2026 06:08:12 +0000 (23:08 -0700)]
Update licensing info.

7 weeks agoIgnore node profling results from commits.
Chris Duncan [Tue, 6 Oct 2026 06:06:59 +0000 (23:06 -0700)]
Ignore node profling results from commits.

7 weeks agoUpdate canonical group element tests.
Chris Duncan [Tue, 6 Oct 2026 05:59:16 +0000 (22:59 -0700)]
Update canonical group element tests.

7 weeks agoDocument canonical group element encoding check.
Chris Duncan [Tue, 6 Oct 2026 04:58:02 +0000 (21:58 -0700)]
Document canonical group element encoding check.

7 weeks agoUpdate canonical group tests.
Chris Duncan [Tue, 6 Oct 2026 03:36:02 +0000 (20:36 -0700)]
Update canonical group tests.

8 weeks agoStage draft canonicity check test.
Chris Duncan [Sun, 4 Oct 2026 18:17:23 +0000 (11:17 -0700)]
Stage draft canonicity check test.

8 weeks agoDocumentation.
Chris Duncan [Sun, 4 Oct 2026 18:17:08 +0000 (11:17 -0700)]
Documentation.

8 weeks agoAdd missing license for REUSE compliance.
Chris Duncan [Sun, 4 Oct 2026 07:14:23 +0000 (00:14 -0700)]
Add missing license for REUSE compliance.

8 weeks agoRevert to scalar carry for multiplication.
Chris Duncan [Sun, 4 Oct 2026 06:40:07 +0000 (23:40 -0700)]
Revert to scalar carry for multiplication.

8 weeks agoFix doc comment.
Chris Duncan [Sun, 4 Oct 2026 03:49:46 +0000 (20:49 -0700)]
Fix doc comment.

8 weeks agoFix canonical check.
Chris Duncan [Sun, 4 Oct 2026 01:13:27 +0000 (18:13 -0700)]
Fix canonical check.

8 weeks agoCheck signature R canonicity in strict verification.
Chris Duncan [Sat, 3 Oct 2026 07:16:49 +0000 (00:16 -0700)]
Check signature R canonicity in strict verification.

8 weeks agoDoc formatting.
Chris Duncan [Fri, 2 Oct 2026 10:48:08 +0000 (03:48 -0700)]
Doc formatting.

8 weeks agoReorganize coordinates to bytes as the only p function with scratch buffers.
Chris Duncan [Fri, 2 Oct 2026 10:28:20 +0000 (03:28 -0700)]
Reorganize coordinates to bytes as the only p function with scratch buffers.

8 weeks agoEnforce function-specific names for module-scoped variable.
Chris Duncan [Fri, 2 Oct 2026 10:04:10 +0000 (03:04 -0700)]
Enforce function-specific names for module-scoped variable.

8 weeks agoMove remaining p scratch buffers except for tobytes.
Chris Duncan [Fri, 2 Oct 2026 09:57:51 +0000 (02:57 -0700)]
Move remaining p scratch buffers except for tobytes.

8 weeks agoMove pointer math scratch buffers.
Chris Duncan [Fri, 2 Oct 2026 09:53:24 +0000 (02:53 -0700)]
Move pointer math scratch buffers.

8 weeks agoMove final field element scratch buffer.
Chris Duncan [Fri, 2 Oct 2026 09:43:29 +0000 (02:43 -0700)]
Move final field element scratch buffer.

8 weeks agoMore scratch buffers.
Chris Duncan [Fri, 2 Oct 2026 09:40:18 +0000 (02:40 -0700)]
More scratch buffers.

8 weeks agoAdjust how scratch args are sorted.
Chris Duncan [Fri, 2 Oct 2026 09:27:59 +0000 (02:27 -0700)]
Adjust how scratch args are sorted.

8 weeks agoMove buffers and adjust naming convention.
Chris Duncan [Fri, 2 Oct 2026 08:47:34 +0000 (01:47 -0700)]
Move buffers and adjust naming convention.

8 weeks agoMove scratch buffer from fe_isnegative.
Chris Duncan [Fri, 2 Oct 2026 08:36:13 +0000 (01:36 -0700)]
Move scratch buffer from fe_isnegative.

8 weeks agoStart combining scratch buffers to migrate them to highest level possible and reduce...
Chris Duncan [Fri, 2 Oct 2026 08:32:06 +0000 (01:32 -0700)]
Start combining scratch buffers to migrate them to highest level possible and reduce instances.

8 weeks agoCut module size by 10% by letting compiler decide which hot paths to inline.
Chris Duncan [Fri, 2 Oct 2026 08:16:07 +0000 (01:16 -0700)]
Cut module size by 10% by letting compiler decide which hot paths to inline.

8 weeks agoMerge single-use function into caller.
Chris Duncan [Fri, 2 Oct 2026 06:51:16 +0000 (23:51 -0700)]
Merge single-use function into caller.

8 weeks agoRename variables.
Chris Duncan [Fri, 2 Oct 2026 06:37:39 +0000 (23:37 -0700)]
Rename variables.

8 weeks agoEliminate another scratch buffer.
Chris Duncan [Fri, 2 Oct 2026 05:33:50 +0000 (22:33 -0700)]
Eliminate another scratch buffer.

8 weeks agoReorganize exports, no functional change.
Chris Duncan [Fri, 2 Oct 2026 05:28:45 +0000 (22:28 -0700)]
Reorganize exports, no functional change.

8 weeks agoEliminate another scratch buffer.
Chris Duncan [Fri, 2 Oct 2026 05:20:38 +0000 (22:20 -0700)]
Eliminate another scratch buffer.

8 weeks agoEliminate a scratch buffer by reusing parameter.
Chris Duncan [Fri, 2 Oct 2026 05:16:26 +0000 (22:16 -0700)]
Eliminate a scratch buffer by reusing parameter.

8 weeks agoStraighten out cneg.
Chris Duncan [Thu, 1 Oct 2026 21:40:00 +0000 (14:40 -0700)]
Straighten out cneg.

8 weeks agoExtract signature check for multiple verification call sites.
Chris Duncan [Thu, 1 Oct 2026 21:37:31 +0000 (14:37 -0700)]
Extract signature check for multiple verification call sites.

8 weeks agoSimplify some arithmetic. Fix documentation.
Chris Duncan [Thu, 1 Oct 2026 21:24:04 +0000 (14:24 -0700)]
Simplify some arithmetic. Fix documentation.

8 weeks agoRevert function name for accuracy.
Chris Duncan [Thu, 1 Oct 2026 21:02:09 +0000 (14:02 -0700)]
Revert function name for accuracy.

8 weeks agoEnsure extra newlines are stripped from generated code.
Chris Duncan [Thu, 1 Oct 2026 20:59:54 +0000 (13:59 -0700)]
Ensure extra newlines are stripped from generated code.

8 weeks agoReduce load calls and eliminate loop in blake gen. Formatting.
Chris Duncan [Thu, 1 Oct 2026 20:57:51 +0000 (13:57 -0700)]
Reduce load calls and eliminate loop in blake gen. Formatting.

8 weeks agoInterleave carry assignments to improve cpu scheduling.
Chris Duncan [Thu, 1 Oct 2026 20:51:02 +0000 (13:51 -0700)]
Interleave carry assignments to improve cpu scheduling.

8 weeks agoBias carry shifts to reduce instruction count and improve performance.
Chris Duncan [Thu, 1 Oct 2026 20:30:59 +0000 (13:30 -0700)]
Bias carry shifts to reduce instruction count and improve performance.

8 weeks agoMigrate multiply carry chain from scalar extraction and carry to direct vector manipu...
Chris Duncan [Thu, 1 Oct 2026 19:53:43 +0000 (12:53 -0700)]
Migrate multiply carry chain from scalar extraction and carry to direct vector manipulation and storage.

8 weeks agoParallel vector squaring did not perform any better than sequential scalar squaring...
Chris Duncan [Thu, 1 Oct 2026 14:48:52 +0000 (07:48 -0700)]
Parallel vector squaring did not perform any better than sequential scalar squaring, so deprecate it to simplify and reduce module size.

8 weeks agoMerge single-use vartime verify function into caller. Swap vector squaring parameter...
Chris Duncan [Thu, 1 Oct 2026 02:11:05 +0000 (19:11 -0700)]
Merge single-use vartime verify function into caller. Swap vector squaring parameter order. Copy point doubling algorithm instead of calling to define a fe instead of a p2. Fix identity functions based on new branded point types.

8 weeks agoNarrow point types.
Chris Duncan [Thu, 1 Oct 2026 01:15:38 +0000 (18:15 -0700)]
Narrow point types.

8 weeks agoRename variable.
Chris Duncan [Thu, 1 Oct 2026 01:09:27 +0000 (18:09 -0700)]
Rename variable.

8 weeks agoCombine load and splat.
Chris Duncan [Thu, 1 Oct 2026 00:23:48 +0000 (17:23 -0700)]
Combine load and splat.

8 weeks agoAdd asc compilation scripts and profiling script.
Chris Duncan [Thu, 1 Oct 2026 00:23:36 +0000 (17:23 -0700)]
Add asc compilation scripts and profiling script.

8 weeks agoMove mutex release into Mutex object for clarity of intent.
Chris Duncan [Thu, 1 Oct 2026 00:23:01 +0000 (17:23 -0700)]
Move mutex release into Mutex object for clarity of intent.

2 months agoMerge branch 'test/optimize-copy'
Chris Duncan [Mon, 28 Sep 2026 15:24:51 +0000 (08:24 -0700)]
Merge branch 'test/optimize-copy'

2 months agoMerge branch 'next/primordials'
Chris Duncan [Mon, 28 Sep 2026 15:20:39 +0000 (08:20 -0700)]
Merge branch 'next/primordials'

2 months agoEliminate more dead code.
Chris Duncan [Mon, 28 Sep 2026 15:18:37 +0000 (08:18 -0700)]
Eliminate more dead code.

2 months agoEliminate dead code.
Chris Duncan [Mon, 28 Sep 2026 15:14:15 +0000 (08:14 -0700)]
Eliminate dead code.

2 months agoImprove performance by eliminating extra load/store calls when loading base point...
Chris Duncan [Mon, 28 Sep 2026 15:02:10 +0000 (08:02 -0700)]
Improve performance by eliminating extra load/store calls when loading base point precomputed values.

2 months agoSimplify bitwise selection with AssemblyScript shift rules.
Chris Duncan [Mon, 28 Sep 2026 05:11:07 +0000 (22:11 -0700)]
Simplify bitwise selection with AssemblyScript shift rules.

2 months agoInline another single-use utility function.
Chris Duncan [Mon, 28 Sep 2026 04:24:39 +0000 (21:24 -0700)]
Inline another single-use utility function.

2 months agoInline some base point conditional move ops.
Chris Duncan [Mon, 28 Sep 2026 04:17:08 +0000 (21:17 -0700)]
Inline some base point conditional move ops.

2 months agoRestrict input to bytes only, no array buffers. Fix typings and test.
Chris Duncan [Sun, 27 Sep 2026 08:48:37 +0000 (01:48 -0700)]
Restrict input to bytes only, no array buffers. Fix typings and test.

2 months agoPatch endianness flag to test big-endian function paths.
Chris Duncan [Sun, 27 Sep 2026 08:02:25 +0000 (01:02 -0700)]
Patch endianness flag to test big-endian function paths.

2 months agoUse same endian-aware buffer copy from message for keys and signatures.
Chris Duncan [Sun, 27 Sep 2026 07:53:03 +0000 (00:53 -0700)]
Use same endian-aware buffer copy from message for keys and signatures.

2 months agoRevert to array-based word copy with endianness check since hardened getUint32 is...
Chris Duncan [Sun, 27 Sep 2026 03:00:36 +0000 (20:00 -0700)]
Revert to array-based word copy with endianness check since hardened getUint32 is way to slow getting half speed.

2 months agoBind to call on declaration instead of recalling call.
Chris Duncan [Sun, 27 Sep 2026 02:03:44 +0000 (19:03 -0700)]
Bind to call on declaration instead of recalling call.

2 months agoUpdate node tests.
Chris Duncan [Sun, 27 Sep 2026 00:17:57 +0000 (17:17 -0700)]
Update node tests.

2 months agoUse primordials to create and set bytes.
Chris Duncan [Sat, 26 Sep 2026 16:18:53 +0000 (09:18 -0700)]
Use primordials to create and set bytes.

2 months agoUse primordial byteLength instead of prototype method.
Chris Duncan [Sat, 26 Sep 2026 16:14:04 +0000 (09:14 -0700)]
Use primordial byteLength instead of prototype method.

2 months agoFix imports.
Chris Duncan [Sat, 26 Sep 2026 09:14:02 +0000 (02:14 -0700)]
Fix imports.

2 months agoAbandon conditional word copy function selection in favor of reliability.
Chris Duncan [Sat, 26 Sep 2026 09:12:27 +0000 (02:12 -0700)]
Abandon conditional word copy function selection in favor of reliability.

2 months agoFix buffer handling.
Chris Duncan [Sat, 26 Sep 2026 08:57:55 +0000 (01:57 -0700)]
Fix buffer handling.

2 months agoFix byte offsets in big-endian path.
Chris Duncan [Sat, 26 Sep 2026 08:55:54 +0000 (01:55 -0700)]
Fix byte offsets in big-endian path.

2 months agoFix endianness of inputs on big-endian path.
Chris Duncan [Sat, 26 Sep 2026 08:50:00 +0000 (01:50 -0700)]
Fix endianness of inputs on big-endian path.

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.