diff options
author | tb <> | 2025-01-06 11:59:02 +0000 |
---|---|---|
committer | tb <> | 2025-01-06 11:59:02 +0000 |
commit | 52f13317baa428db8efa6305c98bcca1c8d6b93e (patch) | |
tree | 0ee2fc6379d14a64692dcf7f36e8c5180d72a607 /src/lib/libc/stdlib/realpath.c | |
parent | 1d5dc8af4f29575850958ce2ca4c6ffcc27dece5 (diff) | |
download | openbsd-52f13317baa428db8efa6305c98bcca1c8d6b93e.tar.gz openbsd-52f13317baa428db8efa6305c98bcca1c8d6b93e.tar.bz2 openbsd-52f13317baa428db8efa6305c98bcca1c8d6b93e.zip |
Stop caching one in the Montgomery domain
This is only used by ec_points_make_affine(), which is only used by the
wNAF multiplication, which is only used by ECDSA. We can afford computing
that one once per ECDSA verification given the cost of the rest of this.
Thus, the field_set_to_one() member disappears from the EC_METHOD and the
mont_one member disappears from EC_GROUP and with it all the complications
when setting/copying/freeing the group.
ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions