Expand description
FIPS 140-3 Compliance Reporting
This module provides compliance checking and reporting for FIPS 140-3 requirements. It helps verify that cryptographic operations meet federal standards for security.
§FIPS 140-3 Overview
FIPS 140-3 is a U.S. government standard for cryptographic module validation. It defines security requirements for cryptographic modules used in protecting sensitive information.
§Features
- Algorithm compliance verification
- Key strength validation
- Self-tests (Known Answer Tests)
- Compliance report generation
- Security level tracking (Levels 1-4)
- Status monitoring and alerts
§Example
use chie_crypto::compliance::{ComplianceChecker, ComplianceAlgorithm, SecurityLevel};
let mut checker = ComplianceChecker::new(SecurityLevel::Level1);
// Register algorithms in use
checker.register_algorithm(ComplianceAlgorithm::AES256);
checker.register_algorithm(ComplianceAlgorithm::SHA256);
checker.register_algorithm(ComplianceAlgorithm::Ed25519);
// Run self-tests
let test_results = checker.run_self_tests();
assert!(test_results.all_passed());
// Generate compliance report
let report = checker.generate_report();
println!("Compliance Status: {:?}", report.overall_status);Structs§
- Compliance
Checker - FIPS 140-3 compliance checker
- Compliance
Issue - Compliance issue
- Compliance
Report - Compliance report
- Self
Test Result - Self-test result
- Self
Test Results - Collection of self-test results
Enums§
- Compliance
Algorithm - Cryptographic algorithm for compliance checking
- Compliance
Status - Compliance status
- Issue
Severity - Issue severity
- Security
Level - FIPS 140-3 security level