pub fn sign(
share_blobs: &[Vec<u8>],
threshold: u32,
message: &[u8],
) -> Result<Vec<u8>>Expand description
Drive a CMP20 signing session in-process using share_blobs (each
a Cmp20Share::to_bytes() blob from a previous keygen) at
threshold threshold. Returns the 64-byte (r, s) ECDSA signature.
share_blobs.len() must be >= threshold. The supplied shares must
all share the same joint public key — the protocol will otherwise
silently produce an invalid signature.