pub type MODULUS_R = FieldReader<u8, MODULUS_A>;
Expand description

Field MODULUS reader - Modular Operation Modulus

Implementations§

source§

impl MODULUS_R

source

pub fn variant(&self) -> Option<MODULUS_A>

Get enumerated values variant

source

pub fn is_bin256(&self) -> bool

Checks if the value of the field is BIN256

source

pub fn is_bin128(&self) -> bool

Checks if the value of the field is BIN128

source

pub fn is_eccbin233p(&self) -> bool

Checks if the value of the field is ECCBIN233P

source

pub fn is_eccbin163p(&self) -> bool

Checks if the value of the field is ECCBIN163P

source

pub fn is_gcmbin128(&self) -> bool

Checks if the value of the field is GCMBIN128

source

pub fn is_eccprime256p(&self) -> bool

Checks if the value of the field is ECCPRIME256P

source

pub fn is_eccprime224p(&self) -> bool

Checks if the value of the field is ECCPRIME224P

source

pub fn is_eccprime192p(&self) -> bool

Checks if the value of the field is ECCPRIME192P

source

pub fn is_eccbin233n(&self) -> bool

Checks if the value of the field is ECCBIN233N

source

pub fn is_eccbin233kn(&self) -> bool

Checks if the value of the field is ECCBIN233KN

source

pub fn is_eccbin163n(&self) -> bool

Checks if the value of the field is ECCBIN163N

source

pub fn is_eccbin163kn(&self) -> bool

Checks if the value of the field is ECCBIN163KN

source

pub fn is_eccprime256n(&self) -> bool

Checks if the value of the field is ECCPRIME256N

source

pub fn is_eccprime224n(&self) -> bool

Checks if the value of the field is ECCPRIME224N

source

pub fn is_eccprime192n(&self) -> bool

Checks if the value of the field is ECCPRIME192N