Skip to main content

sign_p256_low_s

Function sign_p256_low_s 

Source
pub fn sign_p256_low_s(
    key: &SigningKey,
    message: &[u8],
) -> Result<(B256, B256), Error>
Expand description

Signs the prehash message with the P-256 key and returns a low-s (r, s), which Tempo’s verifier requires and about half of raw ECDSA signatures are not.