]>
git.codecow.com Git - nano25519.git/log
Chris Duncan [Fri, 9 Oct 2026 18:46:29 +0000 (11:46 -0700)]
Bump version in README and test webpage to prep for next major release.
Chris Duncan [Fri, 9 Oct 2026 18:44:45 +0000 (11:44 -0700)]
Fix documentation of byte normalization.
Chris Duncan [Fri, 9 Oct 2026 18:09:54 +0000 (11:09 -0700)]
Merge branch 'next/rc'
Chris Duncan [Fri, 9 Oct 2026 18:07:11 +0000 (11:07 -0700)]
Update README.
Chris Duncan [Fri, 9 Oct 2026 17:56:06 +0000 (10:56 -0700)]
Update agent file.
Chris Duncan [Fri, 9 Oct 2026 17:55:47 +0000 (10:55 -0700)]
Add fe_iszero guard start function. Clear temporary buffers after use.
Chris Duncan [Fri, 9 Oct 2026 16:37:41 +0000 (09:37 -0700)]
Reduce module size by sharing temp buffers among all three crypto_ functions.
Chris Duncan [Fri, 9 Oct 2026 16:15:44 +0000 (09:15 -0700)]
Refactor to remove array index access and reduce load calls.
Chris Duncan [Fri, 9 Oct 2026 06:23:42 +0000 (23:23 -0700)]
Move up scratch buffers and develop initial naming conventions.
Chris Duncan [Fri, 9 Oct 2026 06:16:11 +0000 (23:16 -0700)]
Move up scratch buffers.
Chris Duncan [Fri, 9 Oct 2026 06:07:40 +0000 (23:07 -0700)]
Move up scratch buffers.
Chris Duncan [Thu, 8 Oct 2026 15:51:13 +0000 (08:51 -0700)]
Reorder methods.
Chris Duncan [Thu, 8 Oct 2026 15:44:42 +0000 (08:44 -0700)]
Reorder variables.
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.
Chris Duncan [Tue, 6 Oct 2026 07:22:55 +0000 (00:22 -0700)]
Clear scratch buffers after point multiplication.
Chris Duncan [Tue, 6 Oct 2026 07:17:22 +0000 (00:17 -0700)]
Move final remaining scratch buffers out of p.
Chris Duncan [Tue, 6 Oct 2026 06:53:24 +0000 (23:53 -0700)]
Reduce logging from tests by consolidating successes and failures.
Chris Duncan [Tue, 6 Oct 2026 06:45:56 +0000 (23:45 -0700)]
Overhaul testing modules.
Chris Duncan [Tue, 6 Oct 2026 06:14:09 +0000 (23:14 -0700)]
Update README.
Chris Duncan [Tue, 6 Oct 2026 06:08:12 +0000 (23:08 -0700)]
Update licensing info.
Chris Duncan [Tue, 6 Oct 2026 06:06:59 +0000 (23:06 -0700)]
Ignore node profling results from commits.
Chris Duncan [Tue, 6 Oct 2026 05:59:16 +0000 (22:59 -0700)]
Update canonical group element tests.
Chris Duncan [Tue, 6 Oct 2026 04:58:02 +0000 (21:58 -0700)]
Document canonical group element encoding check.
Chris Duncan [Tue, 6 Oct 2026 03:36:02 +0000 (20:36 -0700)]
Update canonical group tests.
Chris Duncan [Sun, 4 Oct 2026 18:17:23 +0000 (11:17 -0700)]
Stage draft canonicity check test.
Chris Duncan [Sun, 4 Oct 2026 18:17:08 +0000 (11:17 -0700)]
Documentation.
Chris Duncan [Sun, 4 Oct 2026 07:14:23 +0000 (00:14 -0700)]
Add missing license for REUSE compliance.
Chris Duncan [Sun, 4 Oct 2026 06:40:07 +0000 (23:40 -0700)]
Revert to scalar carry for multiplication.
Chris Duncan [Sun, 4 Oct 2026 03:49:46 +0000 (20:49 -0700)]
Fix doc comment.
Chris Duncan [Sun, 4 Oct 2026 01:13:27 +0000 (18:13 -0700)]
Fix canonical check.
Chris Duncan [Sat, 3 Oct 2026 07:16:49 +0000 (00:16 -0700)]
Check signature R canonicity in strict verification.
Chris Duncan [Fri, 2 Oct 2026 10:48:08 +0000 (03:48 -0700)]
Doc formatting.
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.
Chris Duncan [Fri, 2 Oct 2026 10:04:10 +0000 (03:04 -0700)]
Enforce function-specific names for module-scoped variable.
Chris Duncan [Fri, 2 Oct 2026 09:57:51 +0000 (02:57 -0700)]
Move remaining p scratch buffers except for tobytes.
Chris Duncan [Fri, 2 Oct 2026 09:53:24 +0000 (02:53 -0700)]
Move pointer math scratch buffers.
Chris Duncan [Fri, 2 Oct 2026 09:43:29 +0000 (02:43 -0700)]
Move final field element scratch buffer.
Chris Duncan [Fri, 2 Oct 2026 09:40:18 +0000 (02:40 -0700)]
More scratch buffers.
Chris Duncan [Fri, 2 Oct 2026 09:27:59 +0000 (02:27 -0700)]
Adjust how scratch args are sorted.
Chris Duncan [Fri, 2 Oct 2026 08:47:34 +0000 (01:47 -0700)]
Move buffers and adjust naming convention.
Chris Duncan [Fri, 2 Oct 2026 08:36:13 +0000 (01:36 -0700)]
Move scratch buffer from fe_isnegative.
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.
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.
Chris Duncan [Fri, 2 Oct 2026 06:51:16 +0000 (23:51 -0700)]
Merge single-use function into caller.
Chris Duncan [Fri, 2 Oct 2026 06:37:39 +0000 (23:37 -0700)]
Rename variables.
Chris Duncan [Fri, 2 Oct 2026 05:33:50 +0000 (22:33 -0700)]
Eliminate another scratch buffer.
Chris Duncan [Fri, 2 Oct 2026 05:28:45 +0000 (22:28 -0700)]
Reorganize exports, no functional change.
Chris Duncan [Fri, 2 Oct 2026 05:20:38 +0000 (22:20 -0700)]
Eliminate another scratch buffer.
Chris Duncan [Fri, 2 Oct 2026 05:16:26 +0000 (22:16 -0700)]
Eliminate a scratch buffer by reusing parameter.
Chris Duncan [Thu, 1 Oct 2026 21:40:00 +0000 (14:40 -0700)]
Straighten out cneg.
Chris Duncan [Thu, 1 Oct 2026 21:37:31 +0000 (14:37 -0700)]
Extract signature check for multiple verification call sites.
Chris Duncan [Thu, 1 Oct 2026 21:24:04 +0000 (14:24 -0700)]
Simplify some arithmetic. Fix documentation.
Chris Duncan [Thu, 1 Oct 2026 21:02:09 +0000 (14:02 -0700)]
Revert function name for accuracy.
Chris Duncan [Thu, 1 Oct 2026 20:59:54 +0000 (13:59 -0700)]
Ensure extra newlines are stripped from generated code.
Chris Duncan [Thu, 1 Oct 2026 20:57:51 +0000 (13:57 -0700)]
Reduce load calls and eliminate loop in blake gen. Formatting.
Chris Duncan [Thu, 1 Oct 2026 20:51:02 +0000 (13:51 -0700)]
Interleave carry assignments to improve cpu scheduling.
Chris Duncan [Thu, 1 Oct 2026 20:30:59 +0000 (13:30 -0700)]
Bias carry shifts to reduce instruction count and improve performance.
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.
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.
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.
Chris Duncan [Thu, 1 Oct 2026 01:15:38 +0000 (18:15 -0700)]
Narrow point types.
Chris Duncan [Thu, 1 Oct 2026 01:09:27 +0000 (18:09 -0700)]
Rename variable.
Chris Duncan [Thu, 1 Oct 2026 00:23:48 +0000 (17:23 -0700)]
Combine load and splat.
Chris Duncan [Thu, 1 Oct 2026 00:23:36 +0000 (17:23 -0700)]
Add asc compilation scripts and profiling script.
Chris Duncan [Thu, 1 Oct 2026 00:23:01 +0000 (17:23 -0700)]
Move mutex release into Mutex object for clarity of intent.
Chris Duncan [Mon, 28 Sep 2026 15:24:51 +0000 (08:24 -0700)]
Merge branch 'test/optimize-copy'
Chris Duncan [Mon, 28 Sep 2026 15:20:39 +0000 (08:20 -0700)]
Merge branch 'next/primordials'
Chris Duncan [Mon, 28 Sep 2026 15:18:37 +0000 (08:18 -0700)]
Eliminate more dead code.
Chris Duncan [Mon, 28 Sep 2026 15:14:15 +0000 (08:14 -0700)]
Eliminate dead code.
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.
Chris Duncan [Mon, 28 Sep 2026 05:11:07 +0000 (22:11 -0700)]
Simplify bitwise selection with AssemblyScript shift rules.
Chris Duncan [Mon, 28 Sep 2026 04:24:39 +0000 (21:24 -0700)]
Inline another single-use utility function.
Chris Duncan [Mon, 28 Sep 2026 04:17:08 +0000 (21:17 -0700)]
Inline some base point conditional move ops.
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.
Chris Duncan [Sun, 27 Sep 2026 08:02:25 +0000 (01:02 -0700)]
Patch endianness flag to test big-endian function paths.
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.
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.
Chris Duncan [Sun, 27 Sep 2026 02:03:44 +0000 (19:03 -0700)]
Bind to call on declaration instead of recalling call.
Chris Duncan [Sun, 27 Sep 2026 00:17:57 +0000 (17:17 -0700)]
Update node tests.
Chris Duncan [Sat, 26 Sep 2026 16:18:53 +0000 (09:18 -0700)]
Use primordials to create and set bytes.
Chris Duncan [Sat, 26 Sep 2026 16:14:04 +0000 (09:14 -0700)]
Use primordial byteLength instead of prototype method.
Chris Duncan [Sat, 26 Sep 2026 09:14:02 +0000 (02:14 -0700)]
Fix imports.
Chris Duncan [Sat, 26 Sep 2026 09:12:27 +0000 (02:12 -0700)]
Abandon conditional word copy function selection in favor of reliability.
Chris Duncan [Sat, 26 Sep 2026 08:57:55 +0000 (01:57 -0700)]
Fix buffer handling.
Chris Duncan [Sat, 26 Sep 2026 08:55:54 +0000 (01:55 -0700)]
Fix byte offsets in big-endian path.
Chris Duncan [Sat, 26 Sep 2026 08:50:00 +0000 (01:50 -0700)]
Fix endianness of inputs on big-endian path.
Chris Duncan [Sat, 26 Sep 2026 08:48:46 +0000 (01:48 -0700)]
Use captured buffer accessor instead of prototype property.
Chris Duncan [Sat, 26 Sep 2026 08:37:19 +0000 (01:37 -0700)]
Fix Uint32Array length.
Chris Duncan [Sat, 26 Sep 2026 08:32:49 +0000 (01:32 -0700)]
Fix endian check.
Chris Duncan [Sat, 26 Sep 2026 08:16:21 +0000 (01:16 -0700)]
save copy optimization.
Chris Duncan [Sat, 26 Sep 2026 00:35:27 +0000 (17:35 -0700)]
Set custom error names in a way that esbuild will recognize.
Chris Duncan [Sat, 26 Sep 2026 00:32:03 +0000 (17:32 -0700)]
Retain custom error names when bundling.
Chris Duncan [Sat, 26 Sep 2026 00:24:34 +0000 (17:24 -0700)]
Fix failing test due to outdated error message.
Chris Duncan [Sat, 26 Sep 2026 00:19:26 +0000 (17:19 -0700)]
Fix test page signature buffer aliasing.
Chris Duncan [Fri, 25 Sep 2026 17:19:32 +0000 (10:19 -0700)]
Compute offset instead of relying on magic number.
Chris Duncan [Fri, 25 Sep 2026 16:48:13 +0000 (09:48 -0700)]
Add custom message byte length to speed test page.
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.
Chris Duncan [Thu, 24 Sep 2026 21:04:28 +0000 (14:04 -0700)]
Fix blakegen compression step.
Chris Duncan [Thu, 24 Sep 2026 19:57:08 +0000 (12:57 -0700)]
Generate blake hashing to unroll long loops.
Chris Duncan [Thu, 24 Sep 2026 13:49:08 +0000 (06:49 -0700)]
Fix test page content.