Expand description
ECDSA Signatures using the P-256 and P-384 curves.
Functions§
- Calculate the digest of
msg
using the digest algorithmdigest_alg
. Then convert the digest to a scalar in the range [0, n) as described in NIST’s FIPS 186-4 Section 4.2. Note that this is one of the few cases where aScalar
is allowed to have the value zero.