Enum efr32x12p::crypto1::wac::MODULUSR
[−]
[src]
pub enum MODULUSR { BIN256, BIN128, ECCBIN233P, ECCBIN163P, GCMBIN128, ECCPRIME256P, ECCPRIME224P, ECCPRIME192P, ECCBIN233N, ECCBIN233KN, ECCBIN163N, ECCBIN163KN, ECCPRIME256N, ECCPRIME224N, ECCPRIME192N, _Reserved(u8), }
Possible values of the field MODULUS
Variants
BIN256
Generic modulus. p = 2256
BIN128
Generic modulus. p = 2128
ECCBIN233P
Modulus for B-233 and K-233 ECC curves. p(t) = t233 + t74 + 1
ECCBIN163P
Modulus for B-163 and K-163 ECC curves. p(t) = t163 + t7 + t6 + t3 + 1
GCMBIN128
Modulus for GCM. P(t) = t128 + t7 + t2 + t + 1
ECCPRIME256P
Modulus for P-256 ECC curve. p = 2256 - 2224 + 2192 + 296 - 1
ECCPRIME224P
Modulus for P-224 ECC curve. p = 2224 - 296 - 1
ECCPRIME192P
Modulus for P-192 ECC curve. p = 2192 - 264 - 1
ECCBIN233N
P modulus for B-233 ECC curve
ECCBIN233KN
P modulus for K-233 ECC curve
ECCBIN163N
P modulus for B-163 ECC curve
ECCBIN163KN
P modulus for K-163 ECC curve
ECCPRIME256N
P modulus for P-256 ECC curve
ECCPRIME224N
P modulus for P-224 ECC curve
ECCPRIME192N
P modulus for P-192 ECC curve
_Reserved(u8)
Reserved
Methods
impl MODULUSR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_bin256(&self) -> bool
[src]
Checks if the value of the field is BIN256
fn is_bin128(&self) -> bool
[src]
Checks if the value of the field is BIN128
fn is_eccbin233p(&self) -> bool
[src]
Checks if the value of the field is ECCBIN233P
fn is_eccbin163p(&self) -> bool
[src]
Checks if the value of the field is ECCBIN163P
fn is_gcmbin128(&self) -> bool
[src]
Checks if the value of the field is GCMBIN128
fn is_eccprime256p(&self) -> bool
[src]
Checks if the value of the field is ECCPRIME256P
fn is_eccprime224p(&self) -> bool
[src]
Checks if the value of the field is ECCPRIME224P
fn is_eccprime192p(&self) -> bool
[src]
Checks if the value of the field is ECCPRIME192P
fn is_eccbin233n(&self) -> bool
[src]
Checks if the value of the field is ECCBIN233N
fn is_eccbin233kn(&self) -> bool
[src]
Checks if the value of the field is ECCBIN233KN
fn is_eccbin163n(&self) -> bool
[src]
Checks if the value of the field is ECCBIN163N
fn is_eccbin163kn(&self) -> bool
[src]
Checks if the value of the field is ECCBIN163KN
fn is_eccprime256n(&self) -> bool
[src]
Checks if the value of the field is ECCPRIME256N
fn is_eccprime224n(&self) -> bool
[src]
Checks if the value of the field is ECCPRIME224N
fn is_eccprime192n(&self) -> bool
[src]
Checks if the value of the field is ECCPRIME192N
Trait Implementations
impl Clone for MODULUSR
[src]
fn clone(&self) -> MODULUSR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more