Module ring::ec::suite_b::ecdsa::digest_scalar

source ·
Expand description

ECDSA Signatures using the P-256 and P-384 curves.

Functions§

  • Calculate the digest of msg using the digest algorithm digest_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 a Scalar is allowed to have the value zero.