std :: crypto::ec
Function std::ecdsa_verify
int ecdsa_verify(
int curve,
[]const unsigned char pub,
[]const unsigned char hash,
[]const unsigned char r,
[]const unsigned char s,
)ECDSA verification of 'hash' (truncated to the curve's size as FIPS 186-4 specifies) against (r, s) — each ec_scalar_size bytes — or a DER Ecdsa-Sig-Value. 1 if valid.