summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2020-10-21 20:24:40 +0200
committerNiels Möller <nisse@lysator.liu.se>2020-10-21 20:38:46 +0200
commite512e22185e25515bd8db7cd1da679d3ff51fc1d (patch)
tree2fd0a80be390f85f9d67660f7c6376a48b760457
parentfb702f6cb058fd2119e6ed8a80817c5ef9b16a2a (diff)
downloadnettle-e512e22185e25515bd8db7cd1da679d3ff51fc1d.tar.gz
Indent fix.
-rw-r--r--ecc-secp521r1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ecc-secp521r1.c b/ecc-secp521r1.c
index fc506021..3f96c85e 100644
--- a/ecc-secp521r1.c
+++ b/ecc-secp521r1.c
@@ -94,11 +94,11 @@ ecc_secp521r1_inv (const struct ecc_modulo *p,
= 1 + 2^2(1 + 2 (2^259 + 1) (1 + 2(2^129 + 1) (2^129 - 1)))
= 1 + 2^2(1 + 2 (2^259 + 1) (1 + 2(2^129 + 1) (1 + 2 (2^128 - 1))))
- where
+ where
- 2^{128} - 1 = (2^64 + 1) (2^32+1) (2^16 + 1) (2^8 + 1) (2^4 + 1) (2^2 + 1) (2 + 1)
+ 2^{128} - 1 = (2^64 + 1) (2^32+1) (2^16 + 1) (2^8 + 1) (2^4 + 1) (2^2 + 1) (2 + 1)
- This addition chain needs 520 squarings and 13 multiplies.
+ This addition chain needs 520 squarings and 13 multiplies.
*/
ecc_mod_sqr (p, rp, ap); /* a^2 */