-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch edwards25519 operations to divstep-based modular inverse
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
Showing
8 changed files
with
9,956 additions
and
3,384 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
1,387 changes: 1,039 additions & 348 deletions
1,387
arm/curve25519/edwards25519_scalarmulbase_alt.S
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1,401 changes: 1,045 additions & 356 deletions
1,401
arm/curve25519/edwards25519_scalarmuldouble_alt.S
Large diffs are not rendered by default.
Oops, something went wrong.
1,877 changes: 1,415 additions & 462 deletions
1,877
x86_att/curve25519/edwards25519_scalarmulbase.S
Large diffs are not rendered by default.
Oops, something went wrong.
1,877 changes: 1,415 additions & 462 deletions
1,877
x86_att/curve25519/edwards25519_scalarmulbase_alt.S
Large diffs are not rendered by default.
Oops, something went wrong.
2,005 changes: 1,479 additions & 526 deletions
2,005
x86_att/curve25519/edwards25519_scalarmuldouble.S
Large diffs are not rendered by default.
Oops, something went wrong.
2,005 changes: 1,479 additions & 526 deletions
2,005
x86_att/curve25519/edwards25519_scalarmuldouble_alt.S
Large diffs are not rendered by default.
Oops, something went wrong.