Skip to content

Commit

Permalink
Switch edwards25519 operations to divstep-based modular inverse
Browse files Browse the repository at this point in the history
This replaces the inlined variant of "bignum_modinv" with code from
"bignum_inv_p25519" in all "edwards25519_scalarmul*" functions.
Again, there are consequential changes related to the slightly
different amount of temporary storage needed by bignum_inv_p25519.

s2n-bignum original commit: awslabs/s2n-bignum@7e7b18e
  • Loading branch information
jargh committed Nov 2, 2023
1 parent 6184cdd commit e618f26
Show file tree
Hide file tree
Showing 8 changed files with 9,956 additions and 3,384 deletions.
1,387 changes: 1,039 additions & 348 deletions arm/curve25519/edwards25519_scalarmulbase.S

Large diffs are not rendered by default.

1,387 changes: 1,039 additions & 348 deletions arm/curve25519/edwards25519_scalarmulbase_alt.S

Large diffs are not rendered by default.

1,401 changes: 1,045 additions & 356 deletions arm/curve25519/edwards25519_scalarmuldouble.S

Large diffs are not rendered by default.

1,401 changes: 1,045 additions & 356 deletions arm/curve25519/edwards25519_scalarmuldouble_alt.S

Large diffs are not rendered by default.

1,877 changes: 1,415 additions & 462 deletions x86_att/curve25519/edwards25519_scalarmulbase.S

Large diffs are not rendered by default.

1,877 changes: 1,415 additions & 462 deletions x86_att/curve25519/edwards25519_scalarmulbase_alt.S

Large diffs are not rendered by default.

2,005 changes: 1,479 additions & 526 deletions x86_att/curve25519/edwards25519_scalarmuldouble.S

Large diffs are not rendered by default.

2,005 changes: 1,479 additions & 526 deletions x86_att/curve25519/edwards25519_scalarmuldouble_alt.S

Large diffs are not rendered by default.

0 comments on commit e618f26

Please sign in to comment.