diff options
author | Jonas Lindstrøm <jonas-lj@users.noreply.github.com> | 2023-05-10 12:47:10 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-05-11 19:45:34 +0200 |
commit | 13069d0144096ef8cecc82fb7fcd1a1eed93d7a8 (patch) | |
tree | 4093f19e1a3e69663150afb5b977793aa240391f /crypto/ec/ecp_nistp256.c | |
parent | 0f06e7f5a6a7451a6cbf4eb0d86ebc9bbd95c55b (diff) | |
download | openssl-new-13069d0144096ef8cecc82fb7fcd1a1eed93d7a8.tar.gz |
ecp_nistp256.c: Fix exponent in comment
CLA: trivial
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20926)
Diffstat (limited to 'crypto/ec/ecp_nistp256.c')
-rw-r--r-- | crypto/ec/ecp_nistp256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ecp_nistp256.c b/crypto/ec/ecp_nistp256.c index f9b1fd1206..10b0fee7ec 100644 --- a/crypto/ec/ecp_nistp256.c +++ b/crypto/ec/ecp_nistp256.c @@ -97,7 +97,7 @@ static const felem_bytearray nistp256_curve_params[5] = { * values, or four 64-bit values. The field element represented is: * v[0]*2^0 + v[1]*2^64 + v[2]*2^128 + v[3]*2^192 (mod p) * or: - * v[0]*2^0 + v[1]*2^64 + v[2]*2^128 + ... + v[8]*2^512 (mod p) + * v[0]*2^0 + v[1]*2^64 + v[2]*2^128 + ... + v[7]*2^448 (mod p) * * 128-bit values are called 'limbs'. Since the limbs are spaced only 64 bits * apart, but are 128-bits wide, the most significant bits of each limb overlap |