Trait nimue::traits::ByteIOPattern

source ·
pub trait ByteIOPattern {
    // Required methods
    fn add_bytes(self, count: usize, label: &str) -> Self;
    fn challenge_bytes(self, count: usize, label: &str) -> Self;
}
Expand description

Methods for adding bytes to the [IOPattern], properly counting group elements.

Required Methods§

source

fn add_bytes(self, count: usize, label: &str) -> Self

source

fn challenge_bytes(self, count: usize, label: &str) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<C, H, const N: usize> ByteIOPattern for IOPattern<H, Fp<C, N>>
where C: FpConfig<N>, H: DuplexHash<Fp<C, N>>,

source§

impl<H: DuplexHash> ByteIOPattern for IOPattern<H>