diff options
author | tb <> | 2023-07-26 12:12:13 +0000 |
---|---|---|
committer | tb <> | 2023-07-26 12:12:13 +0000 |
commit | 6ba2da6f7a44fb11b9aa09f66c81c4cc3a71830a (patch) | |
tree | 5e0ce7b3e02f2f4db916460c18753ac7de6e0d9d /src/lib/libcrypto/ecdsa/ecdsa.c | |
parent | 014a8c57ec329f978d58d31c1d19c38889813104 (diff) | |
download | openbsd-6ba2da6f7a44fb11b9aa09f66c81c4cc3a71830a.tar.gz openbsd-6ba2da6f7a44fb11b9aa09f66c81c4cc3a71830a.tar.bz2 openbsd-6ba2da6f7a44fb11b9aa09f66c81c4cc3a71830a.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/lib/libcrypto/ecdsa/ecdsa.c')
0 files changed, 0 insertions, 0 deletions