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

Generic modulus. p = 2256

Generic modulus. p = 2128

Modulus for B-233 and K-233 ECC curves. p(t) = t233 + t74 + 1

Modulus for B-163 and K-163 ECC curves. p(t) = t163 + t7 + t6 + t3 + 1

Modulus for GCM. P(t) = t128 + t7 + t2 + t + 1

Modulus for P-256 ECC curve. p = 2256 - 2224 + 2192 + 296 - 1

Modulus for P-224 ECC curve. p = 2224 - 296 - 1

Modulus for P-192 ECC curve. p = 2192 - 264 - 1

P modulus for B-233 ECC curve

P modulus for K-233 ECC curve

P modulus for B-163 ECC curve

P modulus for K-163 ECC curve

P modulus for P-256 ECC curve

P modulus for P-224 ECC curve

P modulus for P-192 ECC curve

Reserved

Methods

impl MODULUSR
[src]

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is BIN256

[src]

Checks if the value of the field is BIN128

[src]

Checks if the value of the field is ECCBIN233P

[src]

Checks if the value of the field is ECCBIN163P

[src]

Checks if the value of the field is GCMBIN128

[src]

Checks if the value of the field is ECCPRIME256P

[src]

Checks if the value of the field is ECCPRIME224P

[src]

Checks if the value of the field is ECCPRIME192P

[src]

Checks if the value of the field is ECCBIN233N

[src]

Checks if the value of the field is ECCBIN233KN

[src]

Checks if the value of the field is ECCBIN163N

[src]

Checks if the value of the field is ECCBIN163KN

[src]

Checks if the value of the field is ECCPRIME256N

[src]

Checks if the value of the field is ECCPRIME224N

[src]

Checks if the value of the field is ECCPRIME192N

Trait Implementations

impl Clone for MODULUSR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MODULUSR
[src]

impl Debug for MODULUSR
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for MODULUSR
[src]

[src]

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

[src]

This method tests for !=.