Skip to content
Lifestyle & Learning

FIPS 140-2: Federal Information Processing Standard for Cryptographic Module Security

In this article

FIPS 140-2 is a mandatory U.S. government standard that defines the security requirements for cryptographic modules used to protect sensitive data. It ensures that hardware, software, and firmware implementations of encryption meet rigorous benchmarks across four increasing security levels. While superseded by FIPS 140-3, it remains a critical compliance benchmark for legacy systems in 2026.

Understanding the Role of FIPS 140-2 in Information Security

The Federal Information Processing Standard (FIPS) 140-2 was issued by the National Institute of Standards and Technology (NIST) to coordinate the requirements and standards for cryptography modules. These modules include both hardware and software components that perform cryptographic functions, such as encryption, decryption, digital signatures, and key generation.

The importance of FIPS 140-2 stems from the Federal Information Security Management Act (FISMA). Under FISMA, U.S. federal agencies and their contractors are legally required to use FIPS-validated cryptography to protect "Sensitive but Unclassified" (SBU) information. This requirement extends beyond the government; many highly regulated industries, such as healthcare, finance, and critical infrastructure, adopt FIPS 140-2 as a gold standard to ensure their data protection mechanisms are not only present but functionally robust.

A cryptographic module is not simply an algorithm like AES or RSA. Instead, it is the entire set of hardware, software, and firmware that implements those algorithms. FIPS 140-2 validates that the implementation is secure, that the keys are managed properly, and that the module cannot be easily tampered with or bypassed.

The Four Security Levels of FIPS 140-2

FIPS 140-2 is unique because it does not follow a "one size fits all" approach. It defines four distinct levels of security, allowing organizations to select a module that matches the specific risk profile of their environment.

Security Level 1: The Baseline

Level 1 provides the lowest level of security and is typically satisfied by software-only cryptographic modules. It requires that at least one approved algorithm or security function be used. There are no requirements for physical security in Level 1. This level is often used for general-purpose computing applications where the software runs on a standard operating system like Windows or Linux. While it ensures the encryption is mathematically sound, it does not protect the module from an attacker with physical access to the machine.

Security Level 2: Tamper Evidence

Level 2 improves upon Level 1 by adding requirements for tamper-evident physical security. This typically involves the use of tamper-evident coatings or seals that must be broken to attain physical access to the cryptographic keys and critical security parameters (CSPs) within the module. Level 2 also introduces the requirement for role-based authentication, where the module ensures that the operator is authorized to perform specific tasks, such as being a "Crypto Officer" versus a "User."

Security Level 3: Tamper Resistance and Identity-Based Authentication

Level 3 is a significant step up in security, focusing on preventing intruders from gaining access to CSPs. In addition to the tamper-evident requirements of Level 2, Level 3 requires tamper resistance. If an attacker attempts to open the physical enclosure or penetrate the module, the module must detect this and immediately "zeroize" (erase) all plaintext secret and private keys.

Furthermore, Level 3 mandates identity-based authentication, which is more stringent than the role-based authentication in Level 2. The module must verify the specific identity of the individual attempting to access the services. It also requires a physical or logical separation between the interfaces used for critical security parameters and other data interfaces.

Security Level 4: Robust Protection Against Environmental Attacks

Level 4 represents the highest level of security defined by FIPS 140-2. It provides a complete envelope of protection around the cryptographic module with the intent of detecting and responding to all unauthorized attempts at physical access.

The most distinguishing feature of Level 4 is protection against environmental failures. Sophisticated attackers may attempt to bypass security by operating the module outside its intended temperature or voltage ranges to induce errors. Level 4 modules include sensors to detect these environmental fluctuations and will zeroize keys if the operating conditions become unsafe. This level is primarily used for hardware security modules (HSMs) in extremely high-risk environments.

U.S. Federal Information Processing Standard 140-3 Outlines ...
U.S. Federal Information Processing Standard 140-3 Outlines ...

Technical Requirements and Design Areas

FIPS 140-2 evaluates a cryptographic module across 11 different areas. To achieve a specific level of validation, the module must meet the requirements for that level in all 11 categories.

  1. Cryptographic Module Specification: Requires a detailed description of the module, its boundaries, and its components.
  2. Cryptographic Module Ports and Interfaces: Defines how data enters and exits the module, ensuring a clear separation between plaintext and encrypted data.
  3. Roles, Services, and Authentication: Defines who can use the module and how they are authenticated.
  4. Finite State Model: Requires the module to be described in terms of a mathematical model that accounts for all possible states and transitions.
  5. Physical Security: Outlines the requirements for the physical casing, seals, and tamper-response mechanisms.
  6. Operational Environment: Applies to modules that run on modifiable operating systems, ensuring the OS itself doesn't compromise the module.
  7. Cryptographic Key Management: Covers the entire lifecycle of keys, including generation, storage, entry/output, and destruction.
  8. Electromagnetic Interference/Electromagnetic Compatibility (EMI/EMC): Ensures the module meets FCC requirements and does not leak information via radio frequencies.
  9. Self-Tests: Requires the module to perform power-up tests and conditional tests to ensure it is functioning correctly before it begins processing data.
  10. Design Assurance: Requires documentation of the development process, including configuration management and secure delivery.
  11. Mitigation of Other Attacks: Allows vendors to document how the module protects against attacks for which there are no specific requirements yet, such as side-channel analysis.

The Validation Process: CMVP and CAVP

Validation is not a self-certified process. It involves two distinct but related programs managed by NIST and the Canadian Centre for Cyber Security.

Cryptographic Algorithm Validation Program (CAVP)

Before a module can be FIPS 140-2 validated, the individual algorithms it uses (such as AES, SHA-256, or ECDSA) must be tested and validated through the CAVP. This testing ensures that the algorithm implementation produces the correct output for a given input according to the formal specification. A module cannot be FIPS-validated if it uses "unapproved" or "non-compliant" algorithms for its primary security functions.

Cryptographic Module Validation Program (CMVP)

Once the algorithms are validated, the vendor submits the entire module to an independent, accredited laboratory for CMVP testing. The laboratory performs a suite of tests and reviews the vendor's documentation (the "Security Policy"). If the lab determines the module meets the requirements, the results are sent to NIST for a final review. Only after NIST signs off is a validation certificate issued.

In 2026, many organizations rely on the NIST Cryptographic Module Validation Program Search to verify if a product’s certificate is still active or has moved to the "Historical" list.

The 2026 Status: Transition to FIPS 140-3

As of 2026, the industry is in a deep transition period between FIPS 140-2 and its successor, FIPS 140-3. NIST officially began accepting FIPS 140-3 submissions in September 2020 and stopped accepting new FIPS 140-2 submissions in September 2021.

Feature FIPS 140-2 FIPS 140-3
Submission Status Retired (September 2021) Active
Testing Standard Derived from FIPS 140-2 text Based on ISO/IEC 19790:2012
Validation Term 5-year active life 5-year active life
Authentication Basic Role/Identity reqs Enhanced Multi-Factor (Level 4)
Self-Tests Power-up and Conditional More frequent periodic tests
Physical Security Defined in standard Closely aligned with ISO 24759

In 2026, many FIPS 140-2 certificates have reached their sunset date and moved to the Historical List. According to NIST policy, modules on the historical list should not be purchased for new federal applications unless no FIPS 140-3 alternatives exist. However, agencies are generally permitted to continue using FIPS 140-2 modules that were already deployed in existing systems, provided the security of the module has not been compromised.

Practical Implementation and Procurement Strategy

For organizations navigating the FIPS 140-2 landscape in 2026, the focus has shifted from "Is it validated?" to "What is its current status on the CMVP list?"

Verifying Compliance

To verify compliance, you must obtain the Validation Certificate Number from the vendor. Simply claiming "FIPS-compliant" or "FIPS-ready" is not the same as being "FIPS-validated." A "FIPS-ready" product likely uses a validated module but has not undergone the integration testing necessary to ensure the entire product maintains the security boundaries of that module.

Dealing with "FIPS Mode"

Many software products (like OpenSSL or operating systems) have a "FIPS Mode." When enabled, the software restricts itself to using only validated algorithms and specific code paths that have undergone CMVP testing. Administrators must ensure that FIPS mode is correctly configured; otherwise, the system may default to non-validated cryptography, rendering it non-compliant despite having the necessary software installed.

Procurement Best Practices

If you are procuring new technology in 2026, prioritize FIPS 140-3 validated modules. If a FIPS 140-2 module is the only option, check the NIST "Historical" and "Revoked" lists. If a module appears on the Revoked list due to a security flaw (rather than just reaching its sunset date), it must be replaced immediately.

Frequently Asked Questions

Can I use FIPS 140-2 validated modules in 2026?

Yes, you can continue to use FIPS 140-2 modules in existing deployments. However, for new federal procurements, NIST guidelines generally favor FIPS 140-3. Most FIPS 140-2 certificates have transitioned to the "Historical" list by 2026, which means they are no longer the preferred choice for new projects but remain safe for continued use in current infrastructure unless a vulnerability is found.

What is the difference between FIPS-compliant and FIPS-validated?

"FIPS-validated" means the specific module has been tested by an accredited lab and received a certificate from NIST. "FIPS-compliant" is a marketing term often used to suggest that a product uses validated components or follows the standard's guidelines without having undergone the actual certification process. For federal work, "FIPS-validated" is the only acceptable status.

Does FIPS 140-2 apply to international companies?

Yes, if an international company wishes to sell IT products to the U.S. or Canadian federal governments, their cryptographic modules must be FIPS validated. Many international organizations in Europe and Asia also use FIPS 140-2 as a benchmark for their own internal security standards because of the rigor of the NIST testing process.

Is FIPS 140-2 required for HIPAA or PCI-DSS?

While FIPS 140-2 is not explicitly required by the HIPAA or PCI-DSS statutes, it is highly recommended. Using FIPS-validated modules is often cited by auditors as "best practice" for meeting the encryption requirements of these regulations. In many cases, using FIPS-validated encryption provides a "safe harbor" that can mitigate legal liability in the event of a data breach.

Why was FIPS 140-2 replaced by FIPS 140-3?

FIPS 140-2 was published in 2001. Over twenty years, the cryptographic landscape changed significantly, with the emergence of new attack vectors (like side-channel attacks) and more advanced hardware. FIPS 140-3 was introduced to align U.S. standards with international ISO/IEC standards and to address modern security challenges that weren't prevalent when 140-2 was written.

Next Steps for Organizations

If your organization is currently managing systems that rely on FIPS 140-2, your primary action item in 2026 should be a Lifecycle Audit. Identify every validated module in your environment and check its status on the NIST CMVP database.

  1. Identify Legacy Modules: Catalog all software and hardware modules currently running in "FIPS Mode."
  2. Monitor Historical Status: Any module on the Historical list should be slated for replacement during the next major system update.
  3. Plan for FIPS 140-3: Ensure that your vendors have a roadmap for FIPS 140-3 validation. Ask for specific timelines, as the validation process can take 12 to 24 months.
  4. Update Security Policies: Ensure your internal compliance documentation reflects the transition, noting where 140-2 is still acceptable and where 140-3 is required.

By maintaining a proactive stance on these standards, you ensure that your data remains protected by cryptography that has been independently verified to be effective against modern threats.