]> git.codecow.com Git - nano25519.git/log
nano25519.git
4 weeks agoEliminate an unnecessary zeroing.
Chris Duncan [Mon, 26 Oct 2026 18:24:29 +0000 (11:24 -0700)]
Eliminate an unnecessary zeroing.

4 weeks agoShare temp buffers for paired point arithmetic.
Chris Duncan [Mon, 26 Oct 2026 18:12:31 +0000 (11:12 -0700)]
Share temp buffers for paired point arithmetic.

4 weeks agoFix lanewise doubling.
Chris Duncan [Mon, 26 Oct 2026 18:11:31 +0000 (11:11 -0700)]
Fix lanewise doubling.

4 weeks agoSimplify lanewise doubling.
Chris Duncan [Mon, 26 Oct 2026 18:01:23 +0000 (11:01 -0700)]
Simplify lanewise doubling.

4 weeks agoImplement full single-lane multiplication of paired points.
Chris Duncan [Mon, 26 Oct 2026 17:57:20 +0000 (10:57 -0700)]
Implement full single-lane multiplication of paired points.

4 weeks agoUpdate doc comments.
Chris Duncan [Mon, 26 Oct 2026 17:22:21 +0000 (10:22 -0700)]
Update doc comments.

4 weeks agoFix cached point subtraction.
Chris Duncan [Mon, 26 Oct 2026 17:19:59 +0000 (10:19 -0700)]
Fix cached point subtraction.

4 weeks agoAlign add-sum implementation of FieldElement with pairwise version.
Chris Duncan [Mon, 26 Oct 2026 17:17:07 +0000 (10:17 -0700)]
Align add-sum implementation of FieldElement with pairwise version.

4 weeks agoUnroll lanewise pair zeroing.
Chris Duncan [Mon, 26 Oct 2026 17:07:53 +0000 (10:07 -0700)]
Unroll lanewise pair zeroing.

4 weeks agoFix pairwise packing and unpacking.
Chris Duncan [Mon, 26 Oct 2026 16:32:45 +0000 (09:32 -0700)]
Fix pairwise packing and unpacking.

4 weeks agoFix paired p1p1 to p3 conversion.
Chris Duncan [Mon, 26 Oct 2026 16:21:22 +0000 (09:21 -0700)]
Fix paired p1p1 to p3 conversion.

4 weeks agoRefactor paired p2 doubling.
Chris Duncan [Mon, 26 Oct 2026 16:08:00 +0000 (09:08 -0700)]
Refactor paired p2 doubling.

4 weeks agoRefactor paired precomputed point subtraction.
Chris Duncan [Mon, 26 Oct 2026 15:14:24 +0000 (08:14 -0700)]
Refactor paired precomputed point subtraction.

4 weeks agoRefactor paired cached point subtraction.
Chris Duncan [Mon, 26 Oct 2026 15:08:01 +0000 (08:08 -0700)]
Refactor paired cached point subtraction.

4 weeks agoRefactor paired precomputed point addition.
Chris Duncan [Mon, 26 Oct 2026 14:50:25 +0000 (07:50 -0700)]
Refactor paired precomputed point addition.

4 weeks agoRefactor paired addition of cached point. Deprecate unused fep functions and ensure...
Chris Duncan [Mon, 26 Oct 2026 14:35:40 +0000 (07:35 -0700)]
Refactor paired addition of cached point. Deprecate unused fep functions and ensure consistency on special lane-specific ops.

4 weeks agoDeprecate unused fe pair classes. Deprecate paired p3 doubling. Fix paired function...
Chris Duncan [Mon, 26 Oct 2026 13:45:22 +0000 (06:45 -0700)]
Deprecate unused fe pair classes. Deprecate paired p3 doubling. Fix paired function parameters.

4 weeks agoRemove unused pair functions.
Chris Duncan [Mon, 26 Oct 2026 13:41:18 +0000 (06:41 -0700)]
Remove unused pair functions.

4 weeks agoContinue migrating to eliminate packing and unpacking.
Chris Duncan [Mon, 26 Oct 2026 06:30:49 +0000 (23:30 -0700)]
Continue migrating to eliminate packing and unpacking.

4 weeks agoGet set up to migrate remaining doubling loop functions.
Chris Duncan [Mon, 26 Oct 2026 00:48:56 +0000 (17:48 -0700)]
Get set up to migrate remaining doubling loop functions.

4 weeks agoStart moving toward packing outside of doubling loop.
Chris Duncan [Mon, 26 Oct 2026 00:39:55 +0000 (17:39 -0700)]
Start moving toward packing outside of doubling loop.

4 weeks agoFix buffer writing bug.
Chris Duncan [Mon, 26 Oct 2026 00:25:03 +0000 (17:25 -0700)]
Fix buffer writing bug.

4 weeks agoFix doc comments.
Chris Duncan [Mon, 26 Oct 2026 00:23:15 +0000 (17:23 -0700)]
Fix doc comments.

4 weeks agoImplement precomp addition.
Chris Duncan [Mon, 26 Oct 2026 00:18:16 +0000 (17:18 -0700)]
Implement precomp addition.

4 weeks agoRemove commented code and use merged arithmetic in regular p file.
Chris Duncan [Mon, 26 Oct 2026 00:05:47 +0000 (17:05 -0700)]
Remove commented code and use merged arithmetic in regular p file.

4 weeks agoComplete precomp migration.
Chris Duncan [Mon, 26 Oct 2026 00:03:31 +0000 (17:03 -0700)]
Complete precomp migration.

5 weeks agoStart on precomp migration.
Chris Duncan [Sun, 25 Oct 2026 11:13:46 +0000 (04:13 -0700)]
Start on precomp migration.

5 weeks agoSimplify precomp arithmetic.
Chris Duncan [Sun, 25 Oct 2026 10:48:32 +0000 (03:48 -0700)]
Simplify precomp arithmetic.

5 weeks agoImplement paired subtraction of cached point.
Chris Duncan [Sun, 25 Oct 2026 10:35:25 +0000 (03:35 -0700)]
Implement paired subtraction of cached point.

5 weeks agoSimplify cached point subtraction.
Chris Duncan [Sun, 25 Oct 2026 09:42:58 +0000 (02:42 -0700)]
Simplify cached point subtraction.

5 weeks agoImplement paired addition of cached point.
Chris Duncan [Sun, 25 Oct 2026 09:38:56 +0000 (02:38 -0700)]
Implement paired addition of cached point.

5 weeks agoEliminate some temps by rearranging arithmetic.
Chris Duncan [Sun, 25 Oct 2026 07:59:49 +0000 (00:59 -0700)]
Eliminate some temps by rearranging arithmetic.

5 weeks agoAdd some field element helpers.
Chris Duncan [Sun, 25 Oct 2026 07:40:35 +0000 (00:40 -0700)]
Add some field element helpers.

5 weeks agoTransition more fe pair functions.
Chris Duncan [Sat, 24 Oct 2026 08:01:13 +0000 (01:01 -0700)]
Transition more fe pair functions.

5 weeks agoFix paired squaring and p2 doubling.
Chris Duncan [Fri, 23 Oct 2026 22:36:01 +0000 (15:36 -0700)]
Fix paired squaring and p2 doubling.

5 weeks agoSwap in paired function for converting complete point to extended projective point.
Chris Duncan [Fri, 23 Oct 2026 20:52:02 +0000 (13:52 -0700)]
Swap in paired function for converting complete point to extended projective point.

5 weeks agoStart migrating point arithmetic in paired form.
Chris Duncan [Fri, 23 Oct 2026 20:51:12 +0000 (13:51 -0700)]
Start migrating point arithmetic in paired form.

5 weeks agoAdd field element pair blending.
Chris Duncan [Fri, 23 Oct 2026 20:50:31 +0000 (13:50 -0700)]
Add field element pair blending.

5 weeks agoUpdate square doubling.
Chris Duncan [Fri, 23 Oct 2026 20:01:12 +0000 (13:01 -0700)]
Update square doubling.

5 weeks agoFix lane doubling for odd-on-odd.
Chris Duncan [Fri, 23 Oct 2026 19:42:27 +0000 (12:42 -0700)]
Fix lane doubling for odd-on-odd.

5 weeks agoFix bias offset variable names.
Chris Duncan [Fri, 23 Oct 2026 19:40:03 +0000 (12:40 -0700)]
Fix bias offset variable names.

5 weeks agoAdd paired lane swap.
Chris Duncan [Fri, 23 Oct 2026 19:36:43 +0000 (12:36 -0700)]
Add paired lane swap.

5 weeks agoConvert between FieldElement singles and pairs.
Chris Duncan [Fri, 23 Oct 2026 18:43:58 +0000 (11:43 -0700)]
Convert between FieldElement singles and pairs.

5 weeks agoUpdate doc comment parameter types.
Chris Duncan [Fri, 23 Oct 2026 18:37:27 +0000 (11:37 -0700)]
Update doc comment parameter types.

5 weeks agoFix function name.
Chris Duncan [Fri, 23 Oct 2026 18:36:00 +0000 (11:36 -0700)]
Fix function name.

5 weeks agoReconfigure fe pair negation. Comment out some paired functions for later.
Chris Duncan [Fri, 23 Oct 2026 18:35:53 +0000 (11:35 -0700)]
Reconfigure fe pair negation. Comment out some paired functions for later.

5 weeks agoUpdate paired squaring function. Rename "dual" functions since they are dual processo...
Chris Duncan [Fri, 23 Oct 2026 17:56:12 +0000 (10:56 -0700)]
Update paired squaring function. Rename "dual" functions since they are dual processors by definition.

5 weeks agoFix test that looks for specific code strings.
Chris Duncan [Fri, 23 Oct 2026 17:54:10 +0000 (10:54 -0700)]
Fix test that looks for specific code strings.

5 weeks agoRewrite dual squaring to take better advantage of all vector lanes.
Chris Duncan [Fri, 23 Oct 2026 17:50:59 +0000 (10:50 -0700)]
Rewrite dual squaring to take better advantage of all vector lanes.

5 weeks agoUpdate doc comments.
Chris Duncan [Fri, 23 Oct 2026 17:47:31 +0000 (10:47 -0700)]
Update doc comments.

5 weeks agoFix variable name.
Chris Duncan [Fri, 23 Oct 2026 17:20:26 +0000 (10:20 -0700)]
Fix variable name.

5 weeks agoTypo.
Chris Duncan [Fri, 23 Oct 2026 15:31:21 +0000 (08:31 -0700)]
Typo.

5 weeks agoInitial FieldElementPair draft.
Chris Duncan [Thu, 22 Oct 2026 22:33:06 +0000 (15:33 -0700)]
Initial FieldElementPair draft.

5 weeks agoMerge branch 'test/fe_mul_vec'
Chris Duncan [Thu, 22 Oct 2026 05:21:20 +0000 (22:21 -0700)]
Merge branch 'test/fe_mul_vec'

5 weeks agoReorganize declarations.
Chris Duncan [Thu, 22 Oct 2026 05:20:14 +0000 (22:20 -0700)]
Reorganize declarations.

5 weeks agoUse shifted constants for legibility.
Chris Duncan [Thu, 22 Oct 2026 05:16:50 +0000 (22:16 -0700)]
Use shifted constants for legibility.

5 weeks agoEnforce zeroing extra lanes when loading field element static arrays.
Chris Duncan [Thu, 22 Oct 2026 04:57:42 +0000 (21:57 -0700)]
Enforce zeroing extra lanes when loading field element static arrays.

5 weeks agoEliminate some redundant computations.
Chris Duncan [Thu, 22 Oct 2026 04:50:34 +0000 (21:50 -0700)]
Eliminate some redundant computations.

5 weeks agoRevert scalar multiplication for fewer instructions.
Chris Duncan [Thu, 22 Oct 2026 04:40:07 +0000 (21:40 -0700)]
Revert scalar multiplication for fewer instructions.

5 weeks agoReplace multiplication with addition.
Chris Duncan [Wed, 21 Oct 2026 18:54:54 +0000 (11:54 -0700)]
Replace multiplication with addition.

5 weeks agoApply masking carry to decompression.
Chris Duncan [Wed, 21 Oct 2026 18:45:33 +0000 (11:45 -0700)]
Apply masking carry to decompression.

5 weeks agoCarry scalars in mul and sq with mask instead of shift.
Chris Duncan [Wed, 21 Oct 2026 18:35:09 +0000 (11:35 -0700)]
Carry scalars in mul and sq with mask instead of shift.

5 weeks agoRemove deprecated function.
Chris Duncan [Wed, 21 Oct 2026 16:01:33 +0000 (09:01 -0700)]
Remove deprecated function.

5 weeks agoReplace shift doublings with addition doublings.
Chris Duncan [Wed, 21 Oct 2026 15:55:55 +0000 (08:55 -0700)]
Replace shift doublings with addition doublings.

5 weeks agoEliminate a few extra ops.
Chris Duncan [Wed, 21 Oct 2026 14:07:59 +0000 (07:07 -0700)]
Eliminate a few extra ops.

5 weeks agoRearrange dual square loading.
Chris Duncan [Wed, 21 Oct 2026 14:01:52 +0000 (07:01 -0700)]
Rearrange dual square loading.

5 weeks agoAdders are more available than shifters.
Chris Duncan [Wed, 21 Oct 2026 13:46:19 +0000 (06:46 -0700)]
Adders are more available than shifters.

5 weeks agoReduce multiplicand loading and use shuffles to select lanes so that doubling can...
Chris Duncan [Wed, 21 Oct 2026 13:42:53 +0000 (06:42 -0700)]
Reduce multiplicand loading and use shuffles to select lanes so that doubling can take place up front.

5 weeks agoSimplify dual mult init.
Chris Duncan [Wed, 21 Oct 2026 08:39:36 +0000 (01:39 -0700)]
Simplify dual mult init.

5 weeks agoFix doc comments.
Chris Duncan [Wed, 21 Oct 2026 07:44:28 +0000 (00:44 -0700)]
Fix doc comments.

5 weeks agoEliminate extra accumulators in single multiplication.
Chris Duncan [Wed, 21 Oct 2026 06:24:06 +0000 (23:24 -0700)]
Eliminate extra accumulators in single multiplication.

5 weeks agoinitial move of fe_mul
Chris Duncan [Wed, 21 Oct 2026 04:29:44 +0000 (21:29 -0700)]
initial move of fe_mul

5 weeks agoShift and add instead of multiply.
Chris Duncan [Wed, 21 Oct 2026 04:13:44 +0000 (21:13 -0700)]
Shift and add instead of multiply.

5 weeks agoEnforce prevention of loading garbage data into unused lanes.
Chris Duncan [Wed, 21 Oct 2026 04:10:20 +0000 (21:10 -0700)]
Enforce prevention of loading garbage data into unused lanes.

5 weeks agoApply unsigned biasing to dual multiplication.
Chris Duncan [Tue, 20 Oct 2026 19:58:16 +0000 (12:58 -0700)]
Apply unsigned biasing to dual multiplication.

5 weeks agoSwitch parallel squaring to use low lanes only for legibility and clarity.
Chris Duncan [Tue, 20 Oct 2026 15:34:04 +0000 (08:34 -0700)]
Switch parallel squaring to use low lanes only for legibility and clarity.

5 weeks agoPair up doubled squarings.
Chris Duncan [Tue, 20 Oct 2026 15:11:02 +0000 (08:11 -0700)]
Pair up doubled squarings.

5 weeks agoFix bias right shift type.
Chris Duncan [Tue, 20 Oct 2026 15:05:02 +0000 (08:05 -0700)]
Fix bias right shift type.

5 weeks agoApply unsigned bias in carry for better instructions.
Chris Duncan [Tue, 20 Oct 2026 14:03:42 +0000 (07:03 -0700)]
Apply unsigned bias in carry for better instructions.

5 weeks agoAdjust dual squaring packing and unpacking.
Chris Duncan [Tue, 20 Oct 2026 06:45:02 +0000 (23:45 -0700)]
Adjust dual squaring packing and unpacking.

5 weeks agonot done
Chris Duncan [Mon, 19 Oct 2026 21:37:15 +0000 (14:37 -0700)]
not done

5 weeks agoUse shifts and adds instead of potentially slower multiplication by constant.
Chris Duncan [Mon, 19 Oct 2026 21:10:16 +0000 (14:10 -0700)]
Use shifts and adds instead of potentially slower multiplication by constant.

5 weeks agoAvoid risk of loading beyond 10-limb limit.
Chris Duncan [Mon, 19 Oct 2026 20:44:24 +0000 (13:44 -0700)]
Avoid risk of loading beyond 10-limb limit.

5 weeks agoImprove parallel multiplication store to memory.
Chris Duncan [Mon, 19 Oct 2026 20:27:53 +0000 (13:27 -0700)]
Improve parallel multiplication store to memory.

5 weeks agoAdd parallel multiplication function. Performance is even at this point with main.
Chris Duncan [Mon, 19 Oct 2026 20:06:47 +0000 (13:06 -0700)]
Add parallel multiplication function. Performance is even at this point with main.

6 weeks agov2.0.0 v2.0.0
Chris Duncan [Sun, 18 Oct 2026 10:43:53 +0000 (03:43 -0700)]
v2.0.0

6 weeks agoMerge branch 'next/check'
Chris Duncan [Sun, 18 Oct 2026 07:52:02 +0000 (00:52 -0700)]
Merge branch 'next/check'

6 weeks agoUpdate documentation and agent file.
Chris Duncan [Sat, 17 Oct 2026 23:57:38 +0000 (16:57 -0700)]
Update documentation and agent file.

6 weeks agoAdd and update tests.
Chris Duncan [Sat, 17 Oct 2026 23:56:24 +0000 (16:56 -0700)]
Add and update tests.

6 weeks agoProcess private key bytes individually and pass as 16-bit words instead of 32-bit...
Chris Duncan [Sat, 17 Oct 2026 09:11:00 +0000 (02:11 -0700)]
Process private key bytes individually and pass as 16-bit words instead of 32-bit words in order to work around JS engine heap policies.

6 weeks agoSet private key bytes into WASM input buffer via byte-level copying only.
Chris Duncan [Sat, 17 Oct 2026 08:00:10 +0000 (01:00 -0700)]
Set private key bytes into WASM input buffer via byte-level copying only.

6 weeks agoForce V8 copy of small buffer from the heap at instantiation while buffer is zero...
Chris Duncan [Sat, 17 Oct 2026 07:19:01 +0000 (00:19 -0700)]
Force V8 copy of small buffer from the heap at instantiation while buffer is zero-initialized.

6 weeks agoUpdate tests and agent file.
Chris Duncan [Sat, 17 Oct 2026 06:12:23 +0000 (23:12 -0700)]
Update tests and agent file.

6 weeks agoInvert check results.
Chris Duncan [Sat, 17 Oct 2026 05:52:58 +0000 (22:52 -0700)]
Invert check results.

6 weeks agoFix small order checks.
Chris Duncan [Sat, 17 Oct 2026 05:15:49 +0000 (22:15 -0700)]
Fix small order checks.

6 weeks agoImprove small-order check semantics.
Chris Duncan [Fri, 16 Oct 2026 21:00:29 +0000 (14:00 -0700)]
Improve small-order check semantics.

6 weeks agoUpdate tests, agent file, and README.
Chris Duncan [Fri, 16 Oct 2026 18:52:24 +0000 (11:52 -0700)]
Update tests, agent file, and README.

6 weeks agoAllow zero at first so proper error message is returned.
Chris Duncan [Fri, 16 Oct 2026 18:45:13 +0000 (11:45 -0700)]
Allow zero at first so proper error message is returned.

6 weeks agoAdd more type checking on batch block length. Capture String static method.
Chris Duncan [Fri, 16 Oct 2026 16:23:06 +0000 (09:23 -0700)]
Add more type checking on batch block length. Capture String static method.

6 weeks agoRestore captured byte allocation and object & array accessors. Validate length of...
Chris Duncan [Fri, 16 Oct 2026 14:42:04 +0000 (07:42 -0700)]
Restore captured byte allocation and object & array accessors. Validate length of batch block input.