[][src]Struct efr32xg1::crypto::wac::_MODULUSW

pub struct _MODULUSW<'a> { /* fields omitted */ }

Proxy

Methods

impl<'a> _MODULUSW<'a>
[src]

pub fn variant(self, variant: MODULUSW) -> &'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

impl<'a> Send for _MODULUSW<'a>

impl<'a> Sync for _MODULUSW<'a>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]