Noalloc.Libsecp256k1Versions of the ECDSA functions which work on low-S normalized signatures. These functions can be used when compatibility with libsecp256k1 is required.
sign sk msg k signature attempts to sign the message msg with secret key sk and signing secret k. If successful, the low-S normalized signature is written in signature and the function returns true.
val normalize_signature : signature:bytes -> boolnormalize_signature signature computes the canonical lowest S value of a raw signature in-place. Returns true if successful.