embassy-nrf

Crates

git

Versions

nrf9151-s

Flavors

Skip to main content

MAX_MODULUS_LEN

Constant MAX_MODULUS_LEN 

Source
pub const MAX_MODULUS_LEN: usize = 512;
Expand description

Largest modulus in bytes that the driver accepts. This fits RSA-4096.

Not every operation works with a modulus this large. Operations that hold more values at once have a lower limit, and return Error::InvalidModulus above it.