]>
git.codecow.com Git - nano25519.git/log
Chris Duncan [Mon, 9 Nov 2026 16:10:17 +0000 (08:10 -0800)]
Reorder parameter lists.
Chris Duncan [Mon, 9 Nov 2026 15:51:37 +0000 (07:51 -0800)]
Update tobytes names to to_bytes. Draft paired vartime double scalarmult.
Chris Duncan [Mon, 9 Nov 2026 15:37:36 +0000 (07:37 -0800)]
Integrate bulk block verification into nano25519 API speed test.
Chris Duncan [Mon, 9 Nov 2026 14:49:37 +0000 (06:49 -0800)]
Adjust test page so that named imports do not go unused.
Chris Duncan [Mon, 9 Nov 2026 14:38:34 +0000 (06:38 -0800)]
Merge branch 'next/fe_sq_n'
Chris Duncan [Mon, 9 Nov 2026 14:31:14 +0000 (06:31 -0800)]
Improve doc comments, fix test, and update agent file.
Chris Duncan [Mon, 9 Nov 2026 08:14:38 +0000 (00:14 -0800)]
Remove extra trailing newline.
Chris Duncan [Mon, 9 Nov 2026 08:12:33 +0000 (00:12 -0800)]
Adjust doc comment for accuracy.
Chris Duncan [Mon, 9 Nov 2026 08:09:15 +0000 (00:09 -0800)]
Typo.
Chris Duncan [Mon, 9 Nov 2026 07:39:15 +0000 (23:39 -0800)]
Implement shared encoding for both base point scalar multiplications in signing API.
Chris Duncan [Mon, 9 Nov 2026 07:25:54 +0000 (23:25 -0800)]
Implement shared inversion in scalar multiplication by base point.
Chris Duncan [Mon, 9 Nov 2026 07:00:15 +0000 (23:00 -0800)]
Add extended to affine point conversion using Montogery's trick to compute a shared inversion.
Chris Duncan [Mon, 9 Nov 2026 05:17:54 +0000 (21:17 -0800)]
Merge byte conversion into output and rename to reflect new output type.
Chris Duncan [Mon, 9 Nov 2026 05:14:19 +0000 (21:14 -0800)]
Expand doc comment to clarify end result.
Chris Duncan [Sun, 8 Nov 2026 07:45:16 +0000 (23:45 -0800)]
Remove unused imports and commented code.
Chris Duncan [Sun, 8 Nov 2026 07:44:04 +0000 (23:44 -0800)]
Add precomp addition helper.
Chris Duncan [Sun, 8 Nov 2026 04:19:36 +0000 (20:19 -0800)]
Apply custom error names to instantiated error objects in addition to constructor.
Chris Duncan [Sun, 8 Nov 2026 04:15:55 +0000 (20:15 -0800)]
Add more tests and update agent file.
Chris Duncan [Sat, 7 Nov 2026 22:16:33 +0000 (14:16 -0800)]
Reduce optimization level to avoid chronic reconstruction of vector constants and poor register usage.
Chris Duncan [Sat, 7 Nov 2026 21:32:04 +0000 (13:32 -0800)]
Update dependencies.
Chris Duncan [Sat, 7 Nov 2026 21:28:09 +0000 (13:28 -0800)]
Alphabetize asc config JSON.
Chris Duncan [Sat, 7 Nov 2026 20:35:55 +0000 (12:35 -0800)]
Fix doc comments.
Chris Duncan [Sat, 7 Nov 2026 19:59:14 +0000 (11:59 -0800)]
Add missing clear of t.
Chris Duncan [Sat, 7 Nov 2026 19:50:48 +0000 (11:50 -0800)]
Refactor doubling function to take xyz coordinates directly so that other functions can pass alternate components like p1p1_dbl_to_p1p1 does, which eliminates a tempvar and an extra type-differentiating point class.
Chris Duncan [Sat, 7 Nov 2026 18:28:43 +0000 (10:28 -0800)]
Remove incomplete inline commentary and add inline documentation to doubling which is used throughout p.
Chris Duncan [Sat, 7 Nov 2026 18:22:55 +0000 (10:22 -0800)]
Rename parameter for consistency.
Chris Duncan [Sat, 7 Nov 2026 18:22:31 +0000 (10:22 -0800)]
Rearrange functions.
Chris Duncan [Fri, 6 Nov 2026 22:38:57 +0000 (14:38 -0800)]
Update tests and agent file.
Chris Duncan [Fri, 6 Nov 2026 19:44:01 +0000 (11:44 -0800)]
Fix unsupported union type.
Chris Duncan [Fri, 6 Nov 2026 19:38:10 +0000 (11:38 -0800)]
Document point to bytes conversion function.
Chris Duncan [Fri, 6 Nov 2026 18:26:42 +0000 (10:26 -0800)]
Rearrange functions, remove export keyword from internal function, and adjust doc comments.
Chris Duncan [Fri, 6 Nov 2026 18:22:05 +0000 (10:22 -0800)]
Rename and condense p1p1 doubling function.
Chris Duncan [Fri, 6 Nov 2026 18:13:57 +0000 (10:13 -0800)]
Rearrange functions and document tempvar.
Chris Duncan [Fri, 6 Nov 2026 18:10:26 +0000 (10:10 -0800)]
Change function name to remove implied input type and to align with other functions that specify output types.
Chris Duncan [Fri, 6 Nov 2026 18:09:07 +0000 (10:09 -0800)]
Change parameter type to offer union while restricting complete points which require conversion to projective space first.
Chris Duncan [Fri, 6 Nov 2026 18:04:38 +0000 (10:04 -0800)]
Create additional base class that distinguishes complete points from projective points.
Chris Duncan [Fri, 6 Nov 2026 17:53:24 +0000 (09:53 -0800)]
Change parameter to parent class so either p2 or p3 can be passed.
Chris Duncan [Fri, 6 Nov 2026 17:42:21 +0000 (09:42 -0800)]
Use Z component from temporary for consistency.
Chris Duncan [Fri, 6 Nov 2026 17:37:10 +0000 (09:37 -0800)]
First doubling just doubles the identity to the identity, so delay doubling until after addition, and skip final doubling as before.
Chris Duncan [Fri, 6 Nov 2026 17:32:08 +0000 (09:32 -0800)]
Add p1p1 doubling helper to deprecate another temporary in double scalarmult and simply its loop.
Chris Duncan [Thu, 5 Nov 2026 23:28:03 +0000 (15:28 -0800)]
Explain p3 doubling. Condense doc comment.
Chris Duncan [Thu, 5 Nov 2026 16:13:40 +0000 (08:13 -0800)]
Create more point doubling helpers.
Chris Duncan [Thu, 5 Nov 2026 08:14:45 +0000 (00:14 -0800)]
Update test and agent file.
Chris Duncan [Thu, 5 Nov 2026 08:14:11 +0000 (00:14 -0800)]
Fix incorrect variable name.
Chris Duncan [Thu, 5 Nov 2026 08:12:56 +0000 (00:12 -0800)]
Fix p1p1 identity.
Chris Duncan [Thu, 5 Nov 2026 08:08:21 +0000 (00:08 -0800)]
Reduce boilerplate code by building and calling point arithmetic functions internally.
Chris Duncan [Thu, 5 Nov 2026 06:10:17 +0000 (22:10 -0800)]
Move other constants into relevant directory.
Chris Duncan [Thu, 5 Nov 2026 05:54:31 +0000 (21:54 -0800)]
Move precomputed base point multiples to dedicated directory.
Chris Duncan [Thu, 5 Nov 2026 05:53:36 +0000 (21:53 -0800)]
Fix test by adding import patching.
Chris Duncan [Thu, 5 Nov 2026 05:39:39 +0000 (21:39 -0800)]
Remove unused imports.
Chris Duncan [Thu, 5 Nov 2026 05:37:57 +0000 (21:37 -0800)]
Use pointer to avoid array accessor with bounds checking.
Chris Duncan [Wed, 4 Nov 2026 14:33:13 +0000 (06:33 -0800)]
Merge functios for p3 doubling to p2 output.
Chris Duncan [Wed, 4 Nov 2026 14:19:17 +0000 (06:19 -0800)]
Delete unused function.
Chris Duncan [Wed, 4 Nov 2026 14:18:51 +0000 (06:18 -0800)]
Fix import path in test.
Chris Duncan [Wed, 4 Nov 2026 14:10:32 +0000 (06:10 -0800)]
Reorganize ge further.
Chris Duncan [Wed, 4 Nov 2026 14:07:43 +0000 (06:07 -0800)]
Fix import path in tests.
Chris Duncan [Wed, 4 Nov 2026 14:01:31 +0000 (06:01 -0800)]
Reorganize group op modules.
Chris Duncan [Tue, 3 Nov 2026 22:03:57 +0000 (14:03 -0800)]
Update tests and agent file.
Chris Duncan [Tue, 3 Nov 2026 21:34:55 +0000 (13:34 -0800)]
Rename clearing function.
Chris Duncan [Tue, 3 Nov 2026 21:19:37 +0000 (13:19 -0800)]
Clear temporary after use.
Chris Duncan [Tue, 3 Nov 2026 21:15:44 +0000 (13:15 -0800)]
Update module filename.
Chris Duncan [Tue, 3 Nov 2026 21:15:10 +0000 (13:15 -0800)]
Clear temporary buffers after inverting or powering.
Chris Duncan [Tue, 3 Nov 2026 19:46:36 +0000 (11:46 -0800)]
Remove unused function.
Chris Duncan [Tue, 3 Nov 2026 19:35:03 +0000 (11:35 -0800)]
Remove last temporary from group ops module.
Chris Duncan [Tue, 3 Nov 2026 15:45:53 +0000 (07:45 -0800)]
Eliminate temporary field element and use temporary point directly to improve aliasing safety.
Chris Duncan [Tue, 3 Nov 2026 14:46:12 +0000 (06:46 -0800)]
Write pow22523 output directly back to input buffer.
Chris Duncan [Tue, 3 Nov 2026 14:39:14 +0000 (06:39 -0800)]
Move field element inversion into pow22523 module for better code reuse.
Chris Duncan [Tue, 3 Nov 2026 07:43:01 +0000 (23:43 -0800)]
Move temporary buffers into module-scoped variables.
Chris Duncan [Tue, 3 Nov 2026 06:40:19 +0000 (22:40 -0800)]
Eliminate extra temp buffers.
Chris Duncan [Tue, 3 Nov 2026 06:39:02 +0000 (22:39 -0800)]
Move power function to its own module so it can have its own temporary buffers.
Chris Duncan [Tue, 3 Nov 2026 05:05:58 +0000 (21:05 -0800)]
Consolidate several shared temporary FieldElement variables into one temporary p3.
Chris Duncan [Tue, 3 Nov 2026 04:21:26 +0000 (20:21 -0800)]
Update tests and agent file.
Chris Duncan [Tue, 3 Nov 2026 04:20:36 +0000 (20:20 -0800)]
Rename function for clarity.
Chris Duncan [Tue, 3 Nov 2026 04:20:05 +0000 (20:20 -0800)]
Use more sensible holding variable.
Chris Duncan [Mon, 2 Nov 2026 22:41:32 +0000 (14:41 -0800)]
Fix doc comments.
Chris Duncan [Mon, 2 Nov 2026 22:19:09 +0000 (14:19 -0800)]
Fix doc comments.
Chris Duncan [Sun, 1 Nov 2026 06:26:47 +0000 (23:26 -0700)]
Eliminate extra tempvar.
Chris Duncan [Sat, 31 Oct 2026 23:24:38 +0000 (16:24 -0700)]
Test reintroducing binaryen optimizations.
Chris Duncan [Sat, 31 Oct 2026 23:05:38 +0000 (16:05 -0700)]
Improve and consolidate doc comments. Whitespace for legibility.
Chris Duncan [Sat, 31 Oct 2026 22:35:50 +0000 (15:35 -0700)]
Implement looped squaring in inversion function.
Chris Duncan [Sat, 31 Oct 2026 22:33:35 +0000 (15:33 -0700)]
Implement looped squaring in power function.
Chris Duncan [Sat, 31 Oct 2026 22:27:17 +0000 (15:27 -0700)]
Fix variable names.
Chris Duncan [Sat, 31 Oct 2026 22:25:31 +0000 (15:25 -0700)]
Formatting.
Chris Duncan [Sat, 31 Oct 2026 20:17:20 +0000 (13:17 -0700)]
Implement squaring loop logic.
Chris Duncan [Sat, 31 Oct 2026 17:32:05 +0000 (10:32 -0700)]
Draft looping square helper.
Chris Duncan [Fri, 30 Oct 2026 21:51:59 +0000 (14:51 -0700)]
Merge branch 'next/optimize-blake2b'
Chris Duncan [Fri, 30 Oct 2026 21:51:07 +0000 (14:51 -0700)]
Fix doc comment.
Chris Duncan [Fri, 30 Oct 2026 21:47:33 +0000 (14:47 -0700)]
Clear A if public key fails verification.
Chris Duncan [Fri, 30 Oct 2026 21:45:13 +0000 (14:45 -0700)]
Fix name and make parameters consistent.
Chris Duncan [Fri, 30 Oct 2026 21:43:33 +0000 (14:43 -0700)]
Call byte decoding instead of implementing twice.
Chris Duncan [Fri, 30 Oct 2026 21:40:31 +0000 (14:40 -0700)]
Rearrange functions.
Chris Duncan [Fri, 30 Oct 2026 21:40:07 +0000 (14:40 -0700)]
Use short form for vartime negated byte decoding to save mul and sq calls while getting the same result.
Chris Duncan [Fri, 30 Oct 2026 21:38:53 +0000 (14:38 -0700)]
Add doc comments.
Chris Duncan [Fri, 30 Oct 2026 20:45:16 +0000 (13:45 -0700)]
Fix doc comments.
Chris Duncan [Fri, 30 Oct 2026 19:56:16 +0000 (12:56 -0700)]
Update variable name.
Chris Duncan [Fri, 30 Oct 2026 19:54:45 +0000 (12:54 -0700)]
Save a multiplication by storing intermediate uv3 instead of just v3.
Chris Duncan [Fri, 30 Oct 2026 19:47:30 +0000 (12:47 -0700)]
Use consistent variable names.
Chris Duncan [Fri, 30 Oct 2026 19:38:24 +0000 (12:38 -0700)]
Share check buffer since they aren't needed in parallel when variable time.
Chris Duncan [Fri, 30 Oct 2026 17:57:07 +0000 (10:57 -0700)]
Extract pairwise multiplication into inlined helper function.
Chris Duncan [Fri, 30 Oct 2026 03:32:12 +0000 (20:32 -0700)]
Preload square root -1 and multiply (not real pair yet, needs work.)