FIPS 140-3 & CAVP Testing and Validation Readiness
FIPS 140-3 is a U.S. federal security standard that defines security requirements for cryptographic modules used to protect sensitive information. Developed and maintained by the National Institute of Standards and Technology (NIST), the standard specifies requirements for cryptographic module security across hardware, software, firmware and hybrid implementations.
Organizations developing cryptographic products for U.S. federal applications and other regulated environments may need to demonstrate that their cryptographic modules meet the applicable FIPS 140-3 requirements.
CNLABS provides FIPS 140-3 and CAVP validation testing to support organizations working toward cryptographic module validation. Our technical approach focuses on evaluating applicable security requirements, testing algorithm implementations, identifying gaps and preparing evidence for the accredited laboratory and the CMVP validation process.
What Is FIPS 140-3?
The Federal Information Processing Standard (FIPS) 140-3 specifies the security requirements for cryptographic modules. It applies to modules that implement cryptographic functions and protect sensitive information within defined security boundaries.
FIPS 140-3 is based on the international standard ISO/IEC 19790, which defines security requirements for cryptographic modules. The associated test requirements are specified in ISO/IEC 24759.
The standard addresses several areas of cryptographic module security, including:
Cryptographic Module Specification
Specification of module type, security boundary, approved modes of operation and documentation.
Cryptographic Module Interfaces
Identification and separation of data input, data output, control input and status output ports.
Roles, Services and Authentication
Definition of operator roles, authorized cryptographic services and role- or identity-based authentication mechanisms.
Software and Firmware Security
Integrity verification techniques, secure code loading controls and digital signature validation.
Operational Environment
Security requirements for modifiable, non-modifiable, or limited operational environments.
Physical Security
Tamper evidence, tamper detection, zeroisation response mechanisms and environmental failure protection.
Non-Invasive Security
Protection against side-channel attacks, including differential power analysis (DPA) and electromagnetic analysis.
Sensitive Security Parameter Management
Secure key generation, key establishment, critical security parameter (CSP) storage and active zeroisation.
Self-Tests
Pre-operational tests, conditional cryptographic algorithm self-tests (CASTs) and periodic operational self-tests.
Life-Cycle Assurance
Configuration management, design documentation, source code controls and secure delivery procedures.
Mitigation of Other Attacks
Documented mitigation mechanisms for specific attacks outside the baseline security levels.
These requirements provide a consistent framework for evaluating cryptographic module security.
Understanding NVLAP and CMVP
FIPS 140-3 validation involves laboratory testing and a formal validation process. Two important programs associated with this process are NVLAP and CMVP.
National Voluntary Laboratory Accreditation Program (NVLAP)
Administered by NIST, NVLAP provides formal accreditation to testing and calibration laboratories:
- The National Voluntary Laboratory Accreditation Program (NVLAP), administered by NIST, provides accreditation to testing and calibration laboratories.
- Laboratories are assessed against applicable technical and management requirements.
- ISO/IEC 17025 establishes requirements for laboratory competence, impartiality and consistent operation.
- Accreditation is granted for specific testing scopes and should not be assumed to cover every testing activity.
Cryptographic Module Validation Program (CMVP)
Jointly established by NIST and the Canadian Centre for Cyber Security (CCCS):
- The Cryptographic Module Validation Program (CMVP) was established by NIST and the Canadian Centre for Cyber Security (CCCS).
- CMVP oversees the validation of cryptographic modules against applicable FIPS requirements.
- Testing is performed by independent, NVLAP-accredited Cryptographic and Security Testing (CST) laboratories, which submit the results to CMVP.
- Test results and supporting documentation are reviewed as part of the validation process.
- Successful validation results in a CMVP certificate and a listing on the CMVP validated modules list.
Official Program Information: For more information, visit the official NIST Cryptographic Module Validation Program.
Industry Module Reference: nShield 5s PCIe HSM | Entrust (entrust.com)
Cryptographic Algorithm Validation Program (CAVP)
Before a cryptographic module can be validated under FIPS 140-3, every approved cryptographic algorithm it uses must first be validated under the Cryptographic Algorithm Validation Program (CAVP). CAVP is run by NIST and confirms that an algorithm implementation produces correct results against NIST-defined test vectors.
CAVP validation is a prerequisite for CMVP: the module’s Security Policy and test report reference the CAVP certificate for each approved algorithm used in the approved mode of operation.
Algorithms Covered by CAVP
CAVP validation spans the full range of NIST-approved cryptographic primitives:
Symmetric Encryption
AES (FIPS 197) and its modes of operation (SP 800-38A to SP 800-38G).
Hashing & Message Authentication
SHA-2 and SHA-3 (FIPS 180-4, FIPS 202) and HMAC (FIPS 198-1).
Digital Signatures
RSA, ECDSA and EdDSA (FIPS 186-5).
Random Bit Generation
Deterministic random bit generators (SP 800-90A).
Key Establishment & Derivation
KAS and KTS (SP 800-56A/B/C) and KDFs (SP 800-108, SP 800-132, SP 800-135).
Post-Quantum Cryptography
ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205).
How CAVP Testing Works
CAVP testing is performed through the Automated Cryptographic Validation Protocol (ACVP). The implementation under test is connected to NIST’s Automated Cryptographic Validation Testing System (ACVTS), receives test vectors and returns its results for automated verification.
Entropy Source Validation (ESV)
FIPS 140-3 modules that generate random numbers must use an entropy source that meets NIST SP 800-90B. Entropy sources are validated separately under the Entropy Source Validation (ESV) program through an accredited laboratory, and the module references the resulting ESV certificate.
CNLABS CAVP Pre-Compliance Support
We assist engineering teams through end-to-end CAVP pre-validation readiness:
Algorithm Inventory
Identify approved, allowed and non-approved algorithms and how they are used in the approved mode.
ACVP Readiness
Build the test harness that connects your implementation to ACVP test vectors.
Pre-Compliance Testing
Run known-answer tests (KATs) and ACVP test vectors to find failures before formal submission.
Self-Test Review
Verify the pre-operational and conditional cryptographic algorithm self-tests (CASTs) required by FIPS 140-3.
Entropy Pre-Assessment
Collect raw noise samples and run the SP 800-90B entropy assessment tools.
Handover
Provide a pre-compliance report and evidence package for your accredited CST laboratory.
FIPS 140-3 Testing Applicability
FIPS 140-3 evaluates the cryptographic module itself, rather than automatically validating the complete product or system that incorporates it.
A cryptographic module may consist of hardware, software, firmware or a combination of these components, operating within a defined cryptographic boundary.
Hardware Cryptographic Modules
Examples include:
- Hardware Security Modules (HSMs)
- Dedicated cryptographic hardware devices
- Cryptographic modules integrated into network equipment
- Hardware-based security components
Software Cryptographic Modules
Examples include:
- Cryptographic software libraries
- Software-based encryption modules
- Cryptographic implementations integrated into applications
- Software modules used in secure communication systems
Firmware and Hybrid Cryptographic Modules
FIPS 140-3 can also apply to modules implemented through firmware or combinations of hardware, software and firmware. The applicable testing scope depends on the module design and its defined cryptographic boundary.
FIPS 140-3 Security Levels and Testing Requirements
FIPS 140-3 defines four increasing security levels. The appropriate level depends on the module's intended environment, security requirements and applicable use cases.
| Security Level | General Description |
|---|---|
| Level 1 | At least one approved security function; production-grade components with no specific physical security mechanisms. |
| Level 2 | Adds role-based authentication and physical tamper evidence, such as tamper-evident coatings or seals. |
| Level 3 | Adds identity-based authentication, physical tamper detection and response (zeroisation of sensitive security parameters) and stronger protection of SSP entry and output. |
| Level 4 | Highest level: complete-envelope tamper detection and response, environmental failure protection (EFP) and multi-factor authentication. |
The applicable security level and testing requirements should be determined based on the module's design and intended application.
Key Areas Evaluated During FIPS 140-3 Testing
FIPS 140-3 testing evaluates multiple security areas to determine whether a cryptographic module meets the applicable requirements.
Cryptographic Module Specification
Review of the module's security boundary, interfaces, operational environment and cryptographic functions.
Cryptographic Algorithms and Functions
Evaluation of implemented cryptographic algorithms and their applicable algorithm validation requirements.
Authentication and Access Control
Assessment of roles, authentication mechanisms and controls governing access to cryptographic services.
Physical Security
Evaluation of physical protection mechanisms applicable to hardware cryptographic modules.
Sensitive Security Parameter Management
Assessment of how cryptographic keys and other sensitive security parameters are generated, stored, protected and managed.
Self-Tests and Operational Security
Review of required self-tests and the module's behaviour when errors or security-related failures occur.
Security Policy
Review of the non-proprietary Security Policy, prepared in line with NIST SP 800-140B, which is published with the CMVP validation certificate.
CNLABS FIPS 140-3 Testing and Assessment Support
CNLABS supports organizations developing cryptographic products by helping them understand relevant security requirements and prepare for applicable testing and validation activities.
Our support can include:
Cryptographic Module Assessment
Review module architecture, cryptographic boundaries and implemented security functions.
Security Requirement Gap Analysis
Identify potential gaps against applicable FIPS 140-3 requirements.
Documentation Review
Evaluate available module specifications, security policies and technical documentation.
CAVP Pre-Compliance Testing
Run known-answer tests and ACVP test vectors against your algorithm implementations before formal submission.
Entropy Pre-Assessment
Collect raw noise samples and run the SP 800-90B entropy assessment tools.
Security Policy Support
Draft or review the non-proprietary Security Policy in line with NIST SP 800-140B.
Testing Readiness Support
Help product developers understand the technical requirements and evidence needed for laboratory evaluation.
Remediation Guidance
Provide technical findings to help organizations address identified issues before further evaluation.
FIPS 140-3 Testing and Validation Process
A structured preparation process helps product developers understand the requirements and documentation needed for cryptographic module validation.
Initial Module Review
Understand the module architecture, cryptographic boundary and intended operational environment.
Applicable Requirements Assessment
Identify relevant FIPS 140-3 requirements based on the module design and target security level.
Technical Gap Analysis
Review security controls, cryptographic functions and supporting documentation.
Algorithm and Entropy Validation Readiness
Prepare algorithm implementations for CAVP testing through ACVP, and entropy sources for ESV.
Testing Preparation
Identify required test evidence, documentation and areas requiring further evaluation.
Findings and Remediation
Document potential gaps and support corrective actions.
Validation Process Support
Hand over the evidence package to an accredited CST laboratory and support the module through CMVP review.
Why Choose CNLABS for FIPS 140-3 and CAVP Readiness?
- CAVP pre-compliance capability: ACVP test harness integration, known-answer tests and self-test review.
- SP 800-90B entropy pre-assessment for hardware and software noise sources.
- Security Policy drafting and review aligned to NIST SP 800-140B.
- Clear guidance on the evidence and documentation that testing laboratories and CMVP expect.
- Experience with network, embedded and software cryptographic modules.
For additional cybersecurity services, explore the CNLABS Cybersecurity Testing and Compliance Services page.
Related Cybersecurity Testing and Certification Services
Explore other CNLABS cybersecurity service areas:
ETSI EN 303 645 Testing
Consumer IoT cybersecurity requirements.
EU Cyber Resilience Act (CRA) Compliance
Product cybersecurity readiness for the EU market.
Cybersecurity Testing Services
Explore the wider cybersecurity service category.
Testing and Certification Services
Explore other testing and certification capabilities.
FIPS 140-3 Testing
Alt: FIPS 140-3 cryptographic module testing laboratory
Placement: Top banner behind or beside the H1.
Cryptographic Module Testing
Alt: Hardware security module testing for FIPS 140-3
Placement: What Is FIPS 140-3?
Software and Hardware Modules
Alt: Hardware and software cryptographic module security testing
Placement: FIPS 140-3 Testing Applicability.
Security Requirements Assessment
Alt: Cryptographic module security requirements assessment
Placement: Key Areas Evaluated During FIPS 140-3 Testing.
Frequently Asked Questions About FIPS 140-3
1. What is FIPS 140-3 testing?
FIPS 140-3 testing evaluates cryptographic modules against security requirements defined in the FIPS 140-3 standard, including requirements for physical security, interfaces, authentication and sensitive security parameter management.
2. What is the difference between FIPS 140-2 and FIPS 140-3?
FIPS 140-3 is the successor to FIPS 140-2. It aligns the security requirements with ISO/IEC 19790 and uses ISO/IEC 24759 for testing requirements.
3. What is CMVP in FIPS 140-3?
The Cryptographic Module Validation Program (CMVP) is jointly managed by NIST and the Canadian Centre for Cyber Security. It oversees the validation of cryptographic modules tested against applicable FIPS requirements.
4. What types of products require FIPS 140-3 validation?
FIPS 140-3 applies to cryptographic modules used in hardware, software and firmware implementations. Whether validation is required depends on the product's intended use, customer requirements and applicable regulatory or procurement obligations.
5. What are the four FIPS 140-3 security levels?
The standard defines four security levels, from Level 1 to Level 4, with increasing requirements for cryptographic module security.
6. Does FIPS 140-3 validate an entire product?
No. FIPS 140-3 validates the cryptographic module within its defined security boundary, not automatically the entire product or system containing that module.
7. What is the role of ISO/IEC 19790 and ISO/IEC 24759?
ISO/IEC 19790 defines security requirements for cryptographic modules, while ISO/IEC 24759 specifies the associated testing requirements.
8. What is the difference between CAVP and CMVP?
CAVP validates individual cryptographic algorithm implementations, such as AES or SHA-256. CMVP validates the complete cryptographic module against FIPS 140-3. CAVP certificates for all approved algorithms are required before CMVP validation.
Discuss Your FIPS 140-3 Testing Requirements
Are you developing a hardware, software or firmware-based cryptographic module for applications that require FIPS 140-3 validation?
Contact CNLABS to discuss your module architecture, applicable security requirements and testing readiness needs.