[−][src]Struct efm32pg12_pac::crypto0::wac::MODULUS_W
Write proxy for field MODULUS
Methods
impl<'a> MODULUS_W<'a>
[src]
pub fn variant(self, variant: MODULUS_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn bin256(self) -> &'a mut W
[src]
Generic modulus. p = 2^256
pub fn bin128(self) -> &'a mut W
[src]
Generic modulus. p = 2^128
pub fn eccbin233p(self) -> &'a mut W
[src]
Modulus for B-233 and K-233 ECC curves. p(t) = t^233 + t^74 + 1
pub fn eccbin163p(self) -> &'a mut W
[src]
Modulus for B-163 and K-163 ECC curves. p(t) = t^163 + t^7 + t^6 + t^3 + 1
pub fn gcmbin128(self) -> &'a mut W
[src]
Modulus for GCM. P(t) = t^128 + t^7 + t^2 + t + 1
pub fn eccprime256p(self) -> &'a mut W
[src]
Modulus for P-256 ECC curve. p = 2^256 - 2^224 + 2^192 + 2^96 - 1
pub fn eccprime224p(self) -> &'a mut W
[src]
Modulus for P-224 ECC curve. p = 2^224 - 2^96 - 1
pub fn eccprime192p(self) -> &'a mut W
[src]
Modulus for P-192 ECC curve. p = 2^192 - 2^64 - 1
pub fn eccbin233n(self) -> &'a mut W
[src]
P modulus for B-233 ECC curve
pub fn eccbin233kn(self) -> &'a mut W
[src]
P modulus for K-233 ECC curve
pub fn eccbin163n(self) -> &'a mut W
[src]
P modulus for B-163 ECC curve
pub fn eccbin163kn(self) -> &'a mut W
[src]
P modulus for K-163 ECC curve
pub fn eccprime256n(self) -> &'a mut W
[src]
P modulus for P-256 ECC curve
pub fn eccprime224n(self) -> &'a mut W
[src]
P modulus for P-224 ECC curve
pub fn eccprime192n(self) -> &'a mut W
[src]
P modulus for P-192 ECC curve
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,