diff options
author | tb <> | 2024-10-22 21:10:45 +0000 |
---|---|---|
committer | tb <> | 2024-10-22 21:10:45 +0000 |
commit | 2ecb80a0db01a12008dcf47db9a6f3f5862966ec (patch) | |
tree | cc5e766b146756db1f49d72144c1639f3fe3572d /src/lib/libcrypto/ec/ec_curve.c | |
parent | 9c7b8e21b0aef7b0d224cd59cdc95557a81f289f (diff) | |
download | openbsd-2ecb80a0db01a12008dcf47db9a6f3f5862966ec.tar.gz openbsd-2ecb80a0db01a12008dcf47db9a6f3f5862966ec.tar.bz2 openbsd-2ecb80a0db01a12008dcf47db9a6f3f5862966ec.zip |
Rewrite ec_GFp_simple_point2oct() using CBB
Factor ad-hoc inline code into helper functions. Use CBB and
BN_bn2binpad() instead of batshit crazy skip loops and pointer
banging. With all this done, the function becomes relatively
streamlined and pretty much symmetric with the new oct2point()
implementation.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_curve.c')
0 files changed, 0 insertions, 0 deletions