diff options
author | tb <> | 2024-11-12 13:09:54 +0000 |
---|---|---|
committer | tb <> | 2024-11-12 13:09:54 +0000 |
commit | 5fa6b87766b8704ba4e051e3a35219f39177fa42 (patch) | |
tree | e123eb8dcd8e4569b370584bf64b793fd38a0931 /src/lib | |
parent | f58688e26f10be483b9b48f638d2b31e63880995 (diff) | |
download | openbsd-5fa6b87766b8704ba4e051e3a35219f39177fa42.tar.gz openbsd-5fa6b87766b8704ba4e051e3a35219f39177fa42.tar.bz2 openbsd-5fa6b87766b8704ba4e051e3a35219f39177fa42.zip |
Garbage collect a reference to ecp_mont.c, rewrap comment
spotted by jsing
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/ec/ecp_methods.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ec/ecp_methods.c b/src/lib/libcrypto/ec/ecp_methods.c index 3deee06b50..61f95b5bb9 100644 --- a/src/lib/libcrypto/ec/ecp_methods.c +++ b/src/lib/libcrypto/ec/ecp_methods.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_methods.c,v 1.6 2024/11/12 11:01:14 tb Exp $ */ | 1 | /* $OpenBSD: ecp_methods.c,v 1.7 2024/11/12 13:09:54 tb Exp $ */ |
2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> | 2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> |
3 | * for the OpenSSL project. | 3 | * for the OpenSSL project. |
4 | * Includes code written by Bodo Moeller for the OpenSSL project. | 4 | * Includes code written by Bodo Moeller for the OpenSSL project. |
@@ -73,14 +73,13 @@ | |||
73 | #include "ec_local.h" | 73 | #include "ec_local.h" |
74 | 74 | ||
75 | /* | 75 | /* |
76 | * Most method functions in this file are designed to work with | 76 | * Most method functions in this file are designed to work with non-trivial |
77 | * non-trivial representations of field elements if necessary | 77 | * representations of field elements if necessary: while standard modular |
78 | * (see ecp_mont.c): while standard modular addition and subtraction | 78 | * addition and subtraction are used, the field_mul and field_sqr methods will |
79 | * are used, the field_mul and field_sqr methods will be used for | 79 | * be used for multiplication, and field_encode and field_decode (if defined) |
80 | * multiplication, and field_encode and field_decode (if defined) | ||
81 | * will be used for converting between representations. | 80 | * will be used for converting between representations. |
82 | * | 81 | * |
83 | * Functions ec_points_make_affine() and ec_point_get_affine_coordinates() | 82 | * The functions ec_points_make_affine() and ec_point_get_affine_coordinates() |
84 | * assume that if a non-trivial representation is used, it is a Montgomery | 83 | * assume that if a non-trivial representation is used, it is a Montgomery |
85 | * representation (i.e. 'encoding' means multiplying by some factor R). | 84 | * representation (i.e. 'encoding' means multiplying by some factor R). |
86 | */ | 85 | */ |