[][src]Enum efm32pg12_pac::crypto0::wac::MODULUS_A

#[repr(u8)]
pub enum MODULUS_A {
    BIN256,
    BIN128,
    ECCBIN233P,
    ECCBIN163P,
    GCMBIN128,
    ECCPRIME256P,
    ECCPRIME224P,
    ECCPRIME192P,
    ECCBIN233N,
    ECCBIN233KN,
    ECCBIN163N,
    ECCBIN163KN,
    ECCPRIME256N,
    ECCPRIME224N,
    ECCPRIME192N,
}

Modular Operation Modulus

Value on reset: 0

Variants

BIN256

0: Generic modulus. p = 2^256

BIN128

1: Generic modulus. p = 2^128

ECCBIN233P

2: Modulus for B-233 and K-233 ECC curves. p(t) = t^233 + t^74 + 1

ECCBIN163P

3: Modulus for B-163 and K-163 ECC curves. p(t) = t^163 + t^7 + t^6 + t^3 + 1

GCMBIN128

4: Modulus for GCM. P(t) = t^128 + t^7 + t^2 + t + 1

ECCPRIME256P

5: Modulus for P-256 ECC curve. p = 2^256 - 2^224 + 2^192 + 2^96 - 1

ECCPRIME224P

6: Modulus for P-224 ECC curve. p = 2^224 - 2^96 - 1

ECCPRIME192P

7: Modulus for P-192 ECC curve. p = 2^192 - 2^64 - 1

ECCBIN233N

8: P modulus for B-233 ECC curve

ECCBIN233KN

9: P modulus for K-233 ECC curve

ECCBIN163N

10: P modulus for B-163 ECC curve

ECCBIN163KN

11: P modulus for K-163 ECC curve

ECCPRIME256N

12: P modulus for P-256 ECC curve

ECCPRIME224N

13: P modulus for P-224 ECC curve

ECCPRIME192N

14: P modulus for P-192 ECC curve

Trait Implementations

impl Clone for MODULUS_A[src]

impl Copy for MODULUS_A[src]

impl Debug for MODULUS_A[src]

impl From<MODULUS_A> for u8[src]

impl PartialEq<MODULUS_A> for MODULUS_A[src]

impl StructuralPartialEq for MODULUS_A[src]

Auto Trait Implementations

impl Send for MODULUS_A

impl Sync for MODULUS_A

impl Unpin for MODULUS_A

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.