Realm

oa::crypto::bigint::BarrettParameters

Immutable device snapshot of a public modulus and its exact Barrett reciprocal. Constructed by setup_barrett; the encoded device rows cannot be supplied or modified by callers. Preparation records device work and does not read the modulus on the host. Each row keeps its own significant width and reciprocal.

StRust public API

Declaration

pub struct BarrettParameters { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn words(&self) -> usize
pub const fn status(&self) -> &Matrix
fn clone(&self) -> BarrettParameters

Public Method Documentation

pub const fn words( &self ) -> usize
No public source comment is attached to this declaration.
pub const fn status( &self ) -> &Matrix
No public source comment is attached to this declaration.
fn clone( &self ) -> BarrettParameters
No public source comment is attached to this declaration.