diff options
author | tb <> | 2021-05-03 14:42:45 +0000 |
---|---|---|
committer | tb <> | 2021-05-03 14:42:45 +0000 |
commit | 82b0d687e18b8ea78530ec447ec145e545f4c0a7 (patch) | |
tree | c05cb593b6e5349e258bbd2973aeafb09bb61957 /src/lib/libssl/ssl_lib.c | |
parent | 5d87329128299a026964aacdf65838e004de6844 (diff) | |
download | openbsd-82b0d687e18b8ea78530ec447ec145e545f4c0a7.tar.gz openbsd-82b0d687e18b8ea78530ec447ec145e545f4c0a7.tar.bz2 openbsd-82b0d687e18b8ea78530ec447ec145e545f4c0a7.zip |
Fix corner case for compressed points on binary curves
Per X9.62 4.4.1.b., the compressed representation of a point with
zero x coordinate on a binary curve must have y_bit unset. Error
out in that case of ec_GF2m_set_compressed_coordinates() instead
of ignoring y_bit.
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions