diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-10-30 20:00:14 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-10-30 20:00:14 +0000 |
commit | 0aefd52dc5a68259cc4802af2eeb0c5682273fa3 (patch) | |
tree | 0ff159121adc5725d94f8edc0897421456d4ae27 /lib | |
parent | 20b617133190cd99b664fad171ef8f995a4ed9a5 (diff) |
Expand the introductory comment with references to X9.62 and SEC 1
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/ec/ec_convert.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/ec/ec_convert.c b/lib/libcrypto/ec/ec_convert.c index e8f8605c108..cebb02b0e70 100644 --- a/lib/libcrypto/ec/ec_convert.c +++ b/lib/libcrypto/ec/ec_convert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_convert.c,v 1.4 2024/10/30 18:21:12 tb Exp $ */ +/* $OpenBSD: ec_convert.c,v 1.5 2024/10/30 20:00:13 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -70,6 +70,9 @@ #include "ec_local.h" /* + * Internal handling of the point conversion octet + * (see X9.62, section 4.4.2, SEC 1 section 2.3.3) + * * Only the last three bits of the leading octet of a point should be set. * Bits 3 and 2 encode the conversion form for all points except the point * at infinity. In compressed and hybrid form bit 1 indicates if the even |