]> git.codecow.com Git - nano25519.git/log
nano25519.git
3 weeks agoRearrange functions, remove export keyword from internal function, and adjust doc...
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.

3 weeks agoRename and condense p1p1 doubling function.
Chris Duncan [Fri, 6 Nov 2026 18:22:05 +0000 (10:22 -0800)]
Rename and condense p1p1 doubling function.

3 weeks agoRearrange functions and document tempvar.
Chris Duncan [Fri, 6 Nov 2026 18:13:57 +0000 (10:13 -0800)]
Rearrange functions and document tempvar.

3 weeks agoChange function name to remove implied input type and to align with other functions...
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.

3 weeks agoChange parameter type to offer union while restricting complete points which require...
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.

3 weeks agoCreate additional base class that distinguishes complete points from projective points.
Chris Duncan [Fri, 6 Nov 2026 18:04:38 +0000 (10:04 -0800)]
Create additional base class that distinguishes complete points from projective points.

3 weeks agoChange parameter to parent class so either p2 or p3 can be passed.
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.

3 weeks agoUse Z component from temporary for consistency.
Chris Duncan [Fri, 6 Nov 2026 17:42:21 +0000 (09:42 -0800)]
Use Z component from temporary for consistency.

3 weeks agoFirst doubling just doubles the identity to the identity, so delay doubling until...
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.

3 weeks agoAdd p1p1 doubling helper to deprecate another temporary in double scalarmult and...
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.

3 weeks agoExplain p3 doubling. Condense doc comment.
Chris Duncan [Thu, 5 Nov 2026 23:28:03 +0000 (15:28 -0800)]
Explain p3 doubling. Condense doc comment.

3 weeks agoCreate more point doubling helpers.
Chris Duncan [Thu, 5 Nov 2026 16:13:40 +0000 (08:13 -0800)]
Create more point doubling helpers.

3 weeks agoUpdate test and agent file.
Chris Duncan [Thu, 5 Nov 2026 08:14:45 +0000 (00:14 -0800)]
Update test and agent file.

3 weeks agoFix incorrect variable name.
Chris Duncan [Thu, 5 Nov 2026 08:14:11 +0000 (00:14 -0800)]
Fix incorrect variable name.

3 weeks agoFix p1p1 identity.
Chris Duncan [Thu, 5 Nov 2026 08:12:56 +0000 (00:12 -0800)]
Fix p1p1 identity.

3 weeks agoReduce boilerplate code by building and calling point arithmetic functions internally.
Chris Duncan [Thu, 5 Nov 2026 08:08:21 +0000 (00:08 -0800)]
Reduce boilerplate code by building and calling point arithmetic functions internally.

3 weeks agoMove other constants into relevant directory.
Chris Duncan [Thu, 5 Nov 2026 06:10:17 +0000 (22:10 -0800)]
Move other constants into relevant directory.

3 weeks agoMove precomputed base point multiples to dedicated directory.
Chris Duncan [Thu, 5 Nov 2026 05:54:31 +0000 (21:54 -0800)]
Move precomputed base point multiples to dedicated directory.

3 weeks agoFix test by adding import patching.
Chris Duncan [Thu, 5 Nov 2026 05:53:36 +0000 (21:53 -0800)]
Fix test by adding import patching.

3 weeks agoRemove unused imports.
Chris Duncan [Thu, 5 Nov 2026 05:39:39 +0000 (21:39 -0800)]
Remove unused imports.

3 weeks agoUse pointer to avoid array accessor with bounds checking.
Chris Duncan [Thu, 5 Nov 2026 05:37:57 +0000 (21:37 -0800)]
Use pointer to avoid array accessor with bounds checking.

3 weeks agoMerge functios for p3 doubling to p2 output.
Chris Duncan [Wed, 4 Nov 2026 14:33:13 +0000 (06:33 -0800)]
Merge functios for p3 doubling to p2 output.

3 weeks agoDelete unused function.
Chris Duncan [Wed, 4 Nov 2026 14:19:17 +0000 (06:19 -0800)]
Delete unused function.

3 weeks agoFix import path in test.
Chris Duncan [Wed, 4 Nov 2026 14:18:51 +0000 (06:18 -0800)]
Fix import path in test.

3 weeks agoReorganize ge further.
Chris Duncan [Wed, 4 Nov 2026 14:10:32 +0000 (06:10 -0800)]
Reorganize ge further.

3 weeks agoFix import path in tests.
Chris Duncan [Wed, 4 Nov 2026 14:07:43 +0000 (06:07 -0800)]
Fix import path in tests.

3 weeks agoReorganize group op modules.
Chris Duncan [Wed, 4 Nov 2026 14:01:31 +0000 (06:01 -0800)]
Reorganize group op modules.

3 weeks agoUpdate tests and agent file.
Chris Duncan [Tue, 3 Nov 2026 22:03:57 +0000 (14:03 -0800)]
Update tests and agent file.

3 weeks agoRename clearing function.
Chris Duncan [Tue, 3 Nov 2026 21:34:55 +0000 (13:34 -0800)]
Rename clearing function.

3 weeks agoClear temporary after use.
Chris Duncan [Tue, 3 Nov 2026 21:19:37 +0000 (13:19 -0800)]
Clear temporary after use.

3 weeks agoUpdate module filename.
Chris Duncan [Tue, 3 Nov 2026 21:15:44 +0000 (13:15 -0800)]
Update module filename.

3 weeks agoClear temporary buffers after inverting or powering.
Chris Duncan [Tue, 3 Nov 2026 21:15:10 +0000 (13:15 -0800)]
Clear temporary buffers after inverting or powering.

3 weeks agoRemove unused function.
Chris Duncan [Tue, 3 Nov 2026 19:46:36 +0000 (11:46 -0800)]
Remove unused function.

3 weeks agoRemove last temporary from group ops module.
Chris Duncan [Tue, 3 Nov 2026 19:35:03 +0000 (11:35 -0800)]
Remove last temporary from group ops module.

3 weeks agoEliminate temporary field element and use temporary point directly to improve aliasin...
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.

3 weeks agoWrite pow22523 output directly back to input buffer.
Chris Duncan [Tue, 3 Nov 2026 14:46:12 +0000 (06:46 -0800)]
Write pow22523 output directly back to input buffer.

3 weeks agoMove field element inversion into pow22523 module for better code reuse.
Chris Duncan [Tue, 3 Nov 2026 14:39:14 +0000 (06:39 -0800)]
Move field element inversion into pow22523 module for better code reuse.

3 weeks agoMove temporary buffers into module-scoped variables.
Chris Duncan [Tue, 3 Nov 2026 07:43:01 +0000 (23:43 -0800)]
Move temporary buffers into module-scoped variables.

3 weeks agoEliminate extra temp buffers.
Chris Duncan [Tue, 3 Nov 2026 06:40:19 +0000 (22:40 -0800)]
Eliminate extra temp buffers.

3 weeks agoMove power function to its own module so it can have its own temporary 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.

3 weeks agoConsolidate several shared temporary FieldElement variables into one temporary p3.
Chris Duncan [Tue, 3 Nov 2026 05:05:58 +0000 (21:05 -0800)]
Consolidate several shared temporary FieldElement variables into one temporary p3.

3 weeks agoUpdate tests and agent file.
Chris Duncan [Tue, 3 Nov 2026 04:21:26 +0000 (20:21 -0800)]
Update tests and agent file.

3 weeks agoRename function for clarity.
Chris Duncan [Tue, 3 Nov 2026 04:20:36 +0000 (20:20 -0800)]
Rename function for clarity.

3 weeks agoUse more sensible holding variable.
Chris Duncan [Tue, 3 Nov 2026 04:20:05 +0000 (20:20 -0800)]
Use more sensible holding variable.

3 weeks agoFix doc comments.
Chris Duncan [Mon, 2 Nov 2026 22:41:32 +0000 (14:41 -0800)]
Fix doc comments.

3 weeks agoFix doc comments.
Chris Duncan [Mon, 2 Nov 2026 22:19:09 +0000 (14:19 -0800)]
Fix doc comments.

4 weeks agoEliminate extra tempvar.
Chris Duncan [Sun, 1 Nov 2026 06:26:47 +0000 (23:26 -0700)]
Eliminate extra tempvar.

4 weeks agoTest reintroducing binaryen optimizations.
Chris Duncan [Sat, 31 Oct 2026 23:24:38 +0000 (16:24 -0700)]
Test reintroducing binaryen optimizations.

4 weeks agoImprove and consolidate doc comments. Whitespace for legibility.
Chris Duncan [Sat, 31 Oct 2026 23:05:38 +0000 (16:05 -0700)]
Improve and consolidate doc comments. Whitespace for legibility.

4 weeks agoImplement looped squaring in inversion function.
Chris Duncan [Sat, 31 Oct 2026 22:35:50 +0000 (15:35 -0700)]
Implement looped squaring in inversion function.

4 weeks agoImplement looped squaring in power function.
Chris Duncan [Sat, 31 Oct 2026 22:33:35 +0000 (15:33 -0700)]
Implement looped squaring in power function.

4 weeks agoFix variable names.
Chris Duncan [Sat, 31 Oct 2026 22:27:17 +0000 (15:27 -0700)]
Fix variable names.

4 weeks agoFormatting.
Chris Duncan [Sat, 31 Oct 2026 22:25:31 +0000 (15:25 -0700)]
Formatting.

4 weeks agoImplement squaring loop logic.
Chris Duncan [Sat, 31 Oct 2026 20:17:20 +0000 (13:17 -0700)]
Implement squaring loop logic.

4 weeks agoDraft looping square helper.
Chris Duncan [Sat, 31 Oct 2026 17:32:05 +0000 (10:32 -0700)]
Draft looping square helper.

4 weeks agoMerge branch 'next/optimize-blake2b' next/reduce-statics
Chris Duncan [Fri, 30 Oct 2026 21:51:59 +0000 (14:51 -0700)]
Merge branch 'next/optimize-blake2b'

4 weeks agoFix doc comment.
Chris Duncan [Fri, 30 Oct 2026 21:51:07 +0000 (14:51 -0700)]
Fix doc comment.

4 weeks agoClear A if public key fails verification.
Chris Duncan [Fri, 30 Oct 2026 21:47:33 +0000 (14:47 -0700)]
Clear A if public key fails verification.

4 weeks agoFix name and make parameters consistent.
Chris Duncan [Fri, 30 Oct 2026 21:45:13 +0000 (14:45 -0700)]
Fix name and make parameters consistent.

4 weeks agoCall byte decoding instead of implementing twice.
Chris Duncan [Fri, 30 Oct 2026 21:43:33 +0000 (14:43 -0700)]
Call byte decoding instead of implementing twice.

4 weeks agoRearrange functions.
Chris Duncan [Fri, 30 Oct 2026 21:40:31 +0000 (14:40 -0700)]
Rearrange functions.

4 weeks agoUse short form for vartime negated byte decoding to save mul and sq calls while getti...
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.

4 weeks agoAdd doc comments.
Chris Duncan [Fri, 30 Oct 2026 21:38:53 +0000 (14:38 -0700)]
Add doc comments.

4 weeks agoFix doc comments.
Chris Duncan [Fri, 30 Oct 2026 20:45:16 +0000 (13:45 -0700)]
Fix doc comments.

4 weeks agoUpdate variable name.
Chris Duncan [Fri, 30 Oct 2026 19:56:16 +0000 (12:56 -0700)]
Update variable name.

4 weeks agoSave a multiplication by storing intermediate uv3 instead of just v3.
Chris Duncan [Fri, 30 Oct 2026 19:54:45 +0000 (12:54 -0700)]
Save a multiplication by storing intermediate uv3 instead of just v3.

4 weeks agoUse consistent variable names.
Chris Duncan [Fri, 30 Oct 2026 19:47:30 +0000 (12:47 -0700)]
Use consistent variable names.

4 weeks agoShare check buffer since they aren't needed in parallel when variable time.
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.

4 weeks agoExtract pairwise multiplication into inlined helper function.
Chris Duncan [Fri, 30 Oct 2026 17:57:07 +0000 (10:57 -0700)]
Extract pairwise multiplication into inlined helper function.

4 weeks agoPreload square root -1 and multiply (not real pair yet, needs work.)
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.)

4 weeks agoApply same preloaded vectors of Ed25519 constant d to fe_mul like 2d.
Chris Duncan [Fri, 30 Oct 2026 03:08:45 +0000 (20:08 -0700)]
Apply same preloaded vectors of Ed25519 constant d to fe_mul like 2d.

4 weeks agoShorten names of point ops and retain ge_ prefix for larger operations.
Chris Duncan [Fri, 30 Oct 2026 02:30:03 +0000 (19:30 -0700)]
Shorten names of point ops and retain ge_ prefix for larger operations.

4 weeks agoImplement pairwise ops in frombytes.
Chris Duncan [Fri, 30 Oct 2026 02:20:55 +0000 (19:20 -0700)]
Implement pairwise ops in frombytes.

4 weeks agoAdd paired multiplication against constant 2d.
Chris Duncan [Fri, 30 Oct 2026 02:14:38 +0000 (19:14 -0700)]
Add paired multiplication against constant 2d.

4 weeks agoRemove unused import.
Chris Duncan [Fri, 30 Oct 2026 01:47:06 +0000 (18:47 -0700)]
Remove unused import.

4 weeks agoClean up fe_mul functions.
Chris Duncan [Fri, 30 Oct 2026 01:42:25 +0000 (18:42 -0700)]
Clean up fe_mul functions.

4 weeks agoRemove unused 2d multiply and rename remaining one.
Chris Duncan [Fri, 30 Oct 2026 01:37:16 +0000 (18:37 -0700)]
Remove unused 2d multiply and rename remaining one.

4 weeks agoRemove a negation by flipping addsub targets.
Chris Duncan [Fri, 30 Oct 2026 01:36:19 +0000 (18:36 -0700)]
Remove a negation by flipping addsub targets.

4 weeks agoDeprecate triple operand multiplication since it's not really saving any tempvars.
Chris Duncan [Fri, 30 Oct 2026 01:31:06 +0000 (18:31 -0700)]
Deprecate triple operand multiplication since it's not really saving any tempvars.

4 weeks agoFix some tests.
Chris Duncan [Fri, 30 Oct 2026 01:25:30 +0000 (18:25 -0700)]
Fix some tests.

4 weeks agoUpdate variable names and apply 3-operand multiplication.
Chris Duncan [Thu, 29 Oct 2026 21:56:06 +0000 (14:56 -0700)]
Update variable names and apply 3-operand multiplication.

4 weeks agoBuild multiplication wrappers to enable simpler call sites for more than 2 operands...
Chris Duncan [Thu, 29 Oct 2026 21:25:32 +0000 (14:25 -0700)]
Build multiplication wrappers to enable simpler call sites for more than 2 operands and for the 2d constant operand.

4 weeks agoSmall grammatical correction.
Chris Duncan [Thu, 29 Oct 2026 21:03:06 +0000 (14:03 -0700)]
Small grammatical correction.

4 weeks agoCreate wrappers for fe_mul to enable clean multiplication of more than two operands.
Chris Duncan [Thu, 29 Oct 2026 19:41:38 +0000 (12:41 -0700)]
Create wrappers for fe_mul to enable clean multiplication of more than two operands.

4 weeks agoUpdate fe_mul function names for clarity on internals.
Chris Duncan [Thu, 29 Oct 2026 19:33:06 +0000 (12:33 -0700)]
Update fe_mul function names for clarity on internals.

4 weeks agoRename again.
Chris Duncan [Thu, 29 Oct 2026 19:13:15 +0000 (12:13 -0700)]
Rename again.

4 weeks agoExtract field product carrying to inlined helper functions.
Chris Duncan [Thu, 29 Oct 2026 19:09:21 +0000 (12:09 -0700)]
Extract field product carrying to inlined helper functions.

4 weeks agoUpdate function names for a little more clarity. This deviates a bit from original...
Chris Duncan [Thu, 29 Oct 2026 17:27:22 +0000 (10:27 -0700)]
Update function names for a little more clarity. This deviates a bit from original naming conventions in that 2 signified doubling, but other functions use the dbl suffix, so this module will use that instead.

4 weeks agoAdjust parameter name.
Chris Duncan [Thu, 29 Oct 2026 17:19:23 +0000 (10:19 -0700)]
Adjust parameter name.

4 weeks agoImplement p3 subtraction directly to eliminate another tempvar.
Chris Duncan [Thu, 29 Oct 2026 16:14:02 +0000 (09:14 -0700)]
Implement p3 subtraction directly to eliminate another tempvar.

4 weeks agoRemove unused temp.
Chris Duncan [Thu, 29 Oct 2026 15:57:10 +0000 (08:57 -0700)]
Remove unused temp.

4 weeks agoExtract extended projective point addition to free up some temporary buffers.
Chris Duncan [Thu, 29 Oct 2026 14:46:10 +0000 (07:46 -0700)]
Extract extended projective point addition to free up some temporary buffers.

4 weeks agoRearrange multiplication to reduce similar dependencies.
Chris Duncan [Thu, 29 Oct 2026 13:57:55 +0000 (06:57 -0700)]
Rearrange multiplication to reduce similar dependencies.

4 weeks agoRearrange to reduce function parameter from full coordinates to field element.
Chris Duncan [Thu, 29 Oct 2026 07:38:20 +0000 (00:38 -0700)]
Rearrange to reduce function parameter from full coordinates to field element.

4 weeks agoApply intermediate step to at least reduce full point storage to a single fe.
Chris Duncan [Wed, 28 Oct 2026 21:45:57 +0000 (14:45 -0700)]
Apply intermediate step to at least reduce full point storage to a single fe.

4 weeks agoCombine addition and subtraction steps.
Chris Duncan [Wed, 28 Oct 2026 21:42:05 +0000 (14:42 -0700)]
Combine addition and subtraction steps.

4 weeks agoFix mistakenly deleted line.
Chris Duncan [Wed, 28 Oct 2026 21:40:21 +0000 (14:40 -0700)]
Fix mistakenly deleted line.

4 weeks agoDocument p3 cached addition steps a little clearer.
Chris Duncan [Wed, 28 Oct 2026 21:34:59 +0000 (14:34 -0700)]
Document p3 cached addition steps a little clearer.

4 weeks agoConsolidate some temp var usage and fix doc comments.
Chris Duncan [Wed, 28 Oct 2026 21:28:42 +0000 (14:28 -0700)]
Consolidate some temp var usage and fix doc comments.

4 weeks agoExtract A multiplication table to decoding step before bulk verification.
Chris Duncan [Wed, 28 Oct 2026 21:22:17 +0000 (14:22 -0700)]
Extract A multiplication table to decoding step before bulk verification.