From 7a8f8c2d3d4b3260e62b31b55ad51648ebedb857 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Mon, 24 Apr 2023 23:19:23 -0400 Subject: [PATCH] Document panic in FROST --- crypto/frost/src/sign.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/frost/src/sign.rs b/crypto/frost/src/sign.rs index 5d43f3fa..86070add 100644 --- a/crypto/frost/src/sign.rs +++ b/crypto/frost/src/sign.rs @@ -452,6 +452,8 @@ pub trait SignatureMachine: Send + Sync { } /// Final step of the state machine for the signing process. +/// +/// This may panic if an invalid algorithm is provided. #[allow(non_snake_case)] pub struct AlgorithmSignatureMachine> { params: Params,