Skip to main content

primitives/algebra/ring/
mod.rs

1use crate::{algebra::field::Bit, sharing::BitShare, types::HeapArray};
2
3/// `N`-bit integer represented as a Boolean vector.
4pub type IntegerRing<N> = HeapArray<Bit, N>;
5/// Additive share of an `N`-bit integer (per-bit binary shares).
6pub type IntegerRingShare<N> = HeapArray<BitShare, N>;