pub trait Hram<C: Curve>:
Send
+ Sync
+ Clone {
// Required method
fn hram(R: &C::G, A: &C::G, m: &[u8]) -> C::F;
}
Expand description
HRAm usable by the included Schnorr signature algorithm to generate challenges.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl Hram<Ed448> for IetfEd448Hram
Available on crate feature
ed448
only.impl Hram<Ed25519> for IetfEd25519Hram
Available on crate features
ristretto
or ed25519
only.impl Hram<P256> for IetfP256Hram
Available on crate features
secp256k1
or p256
only.impl Hram<Ristretto> for IetfRistrettoHram
Available on crate features
ristretto
or ed25519
only.impl Hram<Secp256k1> for IetfSecp256k1Hram
Available on crate features
secp256k1
or p256
only.