pub enum FipsSecurityLevel {
Level1 = 1,
Level2 = 2,
Level3 = 3,
Level4 = 4,
}Expand description
FIPS 140-3 security level (1-4) Lit targets Level 1: Software-based cryptographic module
FIPS 140-3 maintains the 4-level security hierarchy from 140-2:
- Level 1: Basic security (software cryptography, approved algorithms)
- Level 2: Physical tamper-evidence (requires hardware)
- Level 3: Physical tamper-resistance (requires hardware)
- Level 4: Complete envelope protection (requires hardware)
Variants§
Level1 = 1
Level 1: Basic security requirements
Level2 = 2
Level 2: Physical tamper-evidence (hardware only)
Level3 = 3
Level 3: Physical tamper-resistance (hardware only)
Level4 = 4
Level 4: Complete envelope protection (hardware only)
Trait Implementations§
Source§impl Clone for FipsSecurityLevel
impl Clone for FipsSecurityLevel
Source§fn clone(&self) -> FipsSecurityLevel
fn clone(&self) -> FipsSecurityLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FipsSecurityLevel
Source§impl Debug for FipsSecurityLevel
impl Debug for FipsSecurityLevel
Source§impl PartialEq for FipsSecurityLevel
impl PartialEq for FipsSecurityLevel
impl StructuralPartialEq for FipsSecurityLevel
Auto Trait Implementations§
impl Freeze for FipsSecurityLevel
impl RefUnwindSafe for FipsSecurityLevel
impl Send for FipsSecurityLevel
impl Sync for FipsSecurityLevel
impl Unpin for FipsSecurityLevel
impl UnsafeUnpin for FipsSecurityLevel
impl UnwindSafe for FipsSecurityLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more