Important News:SafeLogic's CryptoComply Achieves FIPS 140-3 Validation for 28 OEs and Receives Certificate #4781! Read the blog post!
The SafeLogic Blog
Algorithms - Part 3 - CAVP
September 4, 2019 •Walt Paley
Thanks for returning to our blog series on algorithms.[Please also check out Part 1 on the AES algorithm and Part 2 on Suite B and CNSA if you have not already.] For our third post and rounding out the trilogy, we’re talking about the Cryptographic Algorithm Validation Program (CAVP), the less popular sibling of the Cryptographic Module Validation Program (CMVP).
The CAVP is a key building block for FIPS 140-2 validation. Without individual algorithm implementation testing and certification, CMVP will not approve the crypto module itself. Likewise, NIST is very careful to denote that one “does not meet the FIPS 140-2 applicability requirements by simply implementing an Approved security function and acquiring validations for each of the implemented algorithms”. This is a specification that is often ignored by folks who think that they can skirt FIPS 140-2 mandates with a CAVP certificate in hand. The two programs, CAVP and CMVP, are designed to work hand-in-hand, administered jointly by NIST and Canada’s CSE, to certify the algorithm implementations and the full modules. Neither are intended to be in a vacuum. CMVP is dependent on CAVP, and CAVP alone does not satisfy requirements.
So what is tested at CAVP? Here is a great matrix, directly from the NIST website.
Block Ciphers | AES, Triple DES, Skipjack (decryption only)
Tests for ECB, CBC, CFB and OFB modes. |
Block Cipher Modes | CCM, CMAC, GCM / GMAC / XPN, Key Wrap, XTS |
Digital Signatures | FIPS 186-4: DSA, ECDSA, RSA |
Key Derivation Functions | KBKDF |
Key Management | KAS |
Message Authentication | HMAC (FIPS 198-1) |
Random Number Generation | DRBG |
Secure Hashing | SHA-2, SHA-1 |
Component Testing | ECC-CDH (SP 800-56A),
RSA PKCS1-v1.5 RSASP1 (FIPS 186-4), |
Here’s the strategic part: alg testing is done with NVLAP-accredited labs, leveraging test vectors to confirm the proper operation of the implementation. Traditionally, CAVP testing has yielded a significant delay in the FIPS 140-2 validation process. It’s just another prerequisite that vendors had to tackle, even if they were repeating the same old tests on the same old algorithms that had been done before. Just for the first listing in the database, AES-CBC, there are 4908 matching records. Seventeen of those are from SafeLogic!
When a SafeLogic customer begins the RapidCert process, it’s not just the CMVP that we align with, it’s the CAVP as well. Our existing algorithm certificates can be leveraged to accelerate the effort, and when needed, we have the expertise to complete new test vectors quickly. Because this is our focus and our core competency, there is never that ramp-up education phase. We can identify exactly what is required, execute the testing, and have the cert in hand faster than a consultant can respond to your queries about the problem in the first place.
We should also talk about the ACVP - the Automated Cryptographic Validation Protocol. This is the latest effort to accelerate the validation process for vendors, and it’s a doozy. In their words, “The structure and the rules under which the CAVP and CMVP operate worked well for the level of the technology utilized by the Federal Government at the time when the programs were created more than two decades ago. As technology has advanced however, the algorithm and module testing processes no longer satisfy current day industry and government operational needs. Testing and validation of test results are exceedingly long, well beyond typical product development cycles across a wide range of technologies.”
Sounds familiar, doesn’t it? That’s a drum that we’ve been beating for years now ourselves! By the time a vendor completes a certification the traditional way, it’s practically obsolete already. It creates a catch-22 in which the U.S. federal government ends up using old, outdated technology, just for the sake of satisfying the validation mandate. It creates a huge functional disadvantage when faced with combatants who are not under any such constraint.
Well, NIST was listening all this time (not in a creepy NSA way, lol) and it is establishing a self-serve algorithm testing platform, essentially. It promises to speed up that portion of the traditional path and even offers some time-saving potential for SafeLogic, although the caveat remains that it will not be particularly easy for a vendor starting from scratch. It is intended to reduce, if not eliminate, the NVLAP testing lab from their middleman role in the tedious and repetitive algorithm testing stage, but there remains overhead for a vendor to qualify for, submit for and receive credentials, learn the platform, and execute their testing. The learning curve will be somewhere between using a Redbox kiosk and performing open heart surgery. NIST hopes the former, but as always, the question is, if you’re only planning to validate one module, is it worth it?
Don't hesitate to reach out. We love talking to folks about their specific use cases and challenges!
Walt Paley
Walter Paley is the VP of Communications for SafeLogic. He is responsible for strategy, content, marketing, and outreach. Walt has worked with a series of start-ups and companies in growth stages, including Nukona (acquired by Symantec), Qubole, Bitzer Mobile (acquired by Oracle), and TigerText, among others. An Alumnus of the psychology program at UC San Diego, Walt lives in Southern California with his wife, kids, and their black lab, Echo.
Popular Posts
Search for posts
Tags
- FIPS 140 (111)
- FIPS validation (85)
- Encryption (70)
- cryptography (68)
- NIST (62)
- CryptoComply (60)
- SafeLogic (58)
- Industry News (54)
- cryptographic module (51)
- Conversations (49)
- CMVP (48)
- RapidCert (46)
- compliance (41)
- Ray Potter (33)
- SafeLogic News (33)
- Event (27)
- federal (27)
- CAVP (23)
- Cybersecurity (23)
- FIPS 140-3 (18)
- OpenSSL (16)
- government (14)
- FedRAMP (13)
- CryptoCompact (12)
- Cryptology (12)
- DoD (12)
- RSA (12)
- healthcare (12)
- partners (12)
- NSA (11)
- post-quantum cryptography (11)
- Cloud (9)
- PQC (9)
- security (9)
- CMMC (8)
- Suite B (8)
- testing (8)
- whitepaper (8)
- Approved Products List (APL) (6)
- HITECH (6)
- ICMC (6)
- lab (6)
- CEO (5)
- NIST 800-171 (5)
- NIST 800-53 (5)
- OpenSSL 3.0 (5)
- iOS (5)
- procurement (5)
- C3PAO (4)
- Common Criteria (4)
- HITECH Act (4)
- deadline (4)
- encrypt (4)
- innovation (4)
- procure (4)
- public sector (4)
- Air Force (3)
- BSAFE (3)
- DFARS (3)
- HIPAA Safe Harbor (3)
- HITECH Safe Harbor (3)
- OpenSSL 1.1.1 (3)
- OpenSSL 3.x (3)
- POA&M (3)
- TLS 1.3 (3)
- magazine (3)
- queue (3)
- transition (3)
- 3PAO (2)
- ACVP (2)
- BAA (2)
- CIO (2)
- CSP (2)
- Cyber Defense Magazine (2)
- Defense Industrial Base (2)
- HIPAA security controls (2)
- Historical Status (2)
- MFA (2)
- OpenSSL 1.0.2 (2)
- SPRS (2)
- StateRAMP (2)
- entropy (2)
- excellence (2)
- finance (2)
- founder (2)
- gold (2)
- leader (2)
- maturity (2)
- overlap (2)
- pilot (2)
- rsa conference (2)
- solution (2)
- sponsors (2)
- sunset (2)
- vendor (2)
- year (2)
- Active Status (1)
- Alliance for Digital Innovation (1)
- Android (1)
- CIO Prime Views (1)
- DHS (1)
- DIU (1)
- DIUx (1)
- DOJ (1)
- DoDIN APL (1)
- Entropy Source Validation (1)
- FCA (1)
- FIPS Compliance (1)
- FISMA (1)
- GSA (1)
- HITRUST (1)
- Matt Cornelius (1)
- Matthew Cornelius (1)
- Maturity Model (1)
- NCCoE (1)
- OMB (1)
- SLED (1)
- SP800-131A (1)
- SP800-90A (1)
- TLS 1.1 (1)
- background (1)
- best (1)
- co-founder (1)
- codies (1)
- congress (1)
- cybertech (1)
- education (1)
- elliptic curve cryptography (1)
- extended (1)
- faq (1)
- fintech (1)
- fiscal (1)
- fiscal year (1)
- fraud (1)
- globee (1)
- hill (1)
- interview (1)
- kratos (1)
- libgcrypt (1)
- national cybersecurity strategy (1)
- opportunities (1)
- parallel (1)
- profile (1)
- public (1)
- representatives (1)
- reseller (1)
- senate (1)
- senators (1)
- simplify (1)
- state (1)
- stealth mode (1)
- story (1)
- terminology (1)
- trophy (1)
- whistleblower (1)
- whistleblowing (1)