[][src]Function sp_io::crypto::ecdsa_verify

pub fn ecdsa_verify(sig: &Signature, msg: &[u8], pub_key: &Public) -> bool

Verify ecdsa signature.

Returns true when the verification is either successful or batched. If no batching verification extension registered, this will return the result of verification immediately. If batching verification extension is registered caller should call crypto::finish_batch_verify to actualy check all submitted signatures.