Trait frost_schnorrkel::frost::algorithm::Hram
source · pub trait Hram<C>: Send + Sync + Clonewhere
C: Curve,{
// Required method
fn hram(
R: &<C as Ciphersuite>::G,
A: &<C as Ciphersuite>::G,
m: &[u8],
) -> <C as Ciphersuite>::F;
}
Expand description
HRAm usable by the included Schnorr signature algorithm to generate challenges.
Required Methods§
sourcefn hram(
R: &<C as Ciphersuite>::G,
A: &<C as Ciphersuite>::G,
m: &[u8],
) -> <C as Ciphersuite>::F
fn hram( R: &<C as Ciphersuite>::G, A: &<C as Ciphersuite>::G, m: &[u8], ) -> <C as Ciphersuite>::F
HRAm function to generate a challenge. H2 from the IETF draft, despite having a different argument set (not being pre-formatted).
Object Safety§
This trait is not object safe.