pub fn ecdsa_sign_prehashed(
id: <PassPointerAndReadCopy<KeyTypeId, 4> as RIType>::Inner,
pub_key: <PassPointerAndRead<&Public, 33> as RIType>::Inner,
msg: <PassPointerAndRead<&[u8; 32], 32> as RIType>::Inner,
) -> <AllocateAndReturnByCodec<Option<Signature>> as RIType>::Inner
Expand description
Sign the given a pre-hashed msg
with the ecdsa
key that corresponds to the given public
key and key type in the keystore.
Returns the signature.