summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_lib.c
diff options
context:
space:
mode:
authortb <>2025-01-11 14:53:46 +0000
committertb <>2025-01-11 14:53:46 +0000
commitc251f5920bd3f1117909d2567ebba7c7cc8955c9 (patch)
tree1140e408ee01fbbd333d39f2e033dd8aa7f904ce /src/lib/libcrypto/ec/ec_lib.c
parent592c92ea907c3e94bcf59caeb8dd627fa60ee995 (diff)
downloadopenbsd-c251f5920bd3f1117909d2567ebba7c7cc8955c9.tar.gz
openbsd-c251f5920bd3f1117909d2567ebba7c7cc8955c9.tar.bz2
openbsd-c251f5920bd3f1117909d2567ebba7c7cc8955c9.zip
Rework ec_point_set_compressed_coordinates()
While this is nicely done, it is a bit too clever. We can do the calculation in the normal domain rather than the Montgomery domain and this way the method becomes method agnostic. This will be a bit slower but since a couple of field operations are nothing compared to the cost of BN_mod_sqrt() this isn't a concern. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_lib.c')
0 files changed, 0 insertions, 0 deletions