summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
authortb <>2023-07-26 12:12:13 +0000
committertb <>2023-07-26 12:12:13 +0000
commite1df32281280bf2a9fc7e0f31572601bd086f7d4 (patch)
tree5e0ce7b3e02f2f4db916460c18753ac7de6e0d9d /src/regress
parent90340319d5c3aaa4aafab37d65055a6f43025434 (diff)
downloadopenbsd-e1df32281280bf2a9fc7e0f31572601bd086f7d4.tar.gz
openbsd-e1df32281280bf2a9fc7e0f31572601bd086f7d4.tar.bz2
openbsd-e1df32281280bf2a9fc7e0f31572601bd086f7d4.zip
Introduce ec_decode_scalar()
This is a helper that decodes a scalar from field-internal representation to a representation as a BIGNUM in the interval [0, p). This simplifies EC_GROUP_get_curve() and EC_POINT_get_Jprojective_coordinates() to a few obvious lines and prepares cleanup in EC_POINT_get_affine_coordinates(). ok jsing
Diffstat (limited to 'src/regress')
0 files changed, 0 insertions, 0 deletions