diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_nistp521.c')
-rw-r--r-- | src/lib/libcrypto/ec/ecp_nistp521.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ecp_nistp521.c b/src/lib/libcrypto/ec/ecp_nistp521.c index 20b5885ab7..caeea14911 100644 --- a/src/lib/libcrypto/ec/ecp_nistp521.c +++ b/src/lib/libcrypto/ec/ecp_nistp521.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistp521.c,v 1.29 2022/11/26 16:08:52 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nistp521.c,v 1.30 2022/12/26 07:18:51 jmc Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Adam Langley (Google) for the OpenSSL project | 3 | * Written by Adam Langley (Google) for the OpenSSL project |
4 | */ | 4 | */ |
@@ -1034,7 +1034,7 @@ felem_contract(felem out, const felem in) | |||
1034 | * elliptic curve group itself. Points on the curve are represented in Jacobian | 1034 | * elliptic curve group itself. Points on the curve are represented in Jacobian |
1035 | * coordinates */ | 1035 | * coordinates */ |
1036 | 1036 | ||
1037 | /* point_double calcuates 2*(x_in, y_in, z_in) | 1037 | /* point_double calculates 2*(x_in, y_in, z_in) |
1038 | * | 1038 | * |
1039 | * The method is taken from: | 1039 | * The method is taken from: |
1040 | * http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b | 1040 | * http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b |
@@ -1143,7 +1143,7 @@ copy_conditional(felem out, const felem in, limb mask) | |||
1143 | } | 1143 | } |
1144 | } | 1144 | } |
1145 | 1145 | ||
1146 | /* point_add calcuates (x1, y1, z1) + (x2, y2, z2) | 1146 | /* point_add calculates (x1, y1, z1) + (x2, y2, z2) |
1147 | * | 1147 | * |
1148 | * The method is taken from | 1148 | * The method is taken from |
1149 | * http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#addition-add-2007-bl, | 1149 | * http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#addition-add-2007-bl, |