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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.