Function frost_schnorrkel::frost::tests::sign
source ยท pub fn sign<R, M>(
rng: &mut R,
params: &<<M as PreprocessMachine>::SignMachine as SignMachine<<M as PreprocessMachine>::Signature>>::Params,
keys: HashMap<Participant, <<M as PreprocessMachine>::SignMachine as SignMachine<<M as PreprocessMachine>::Signature>>::Keys>,
machines: HashMap<Participant, M>,
msg: &[u8],
) -> <M as PreprocessMachine>::Signature
Available on crate feature
tests
only.Expand description
Execute the signing protocol, randomly caching various machines to ensure they can cache successfully.