| Standard | FIPS 140-3 |
|---|---|
| Overall level | 1 |
| Module type | Software |
| Embodiment | MultiChipStand |
| Status | Active |
| Sunset date | 10/8/2031 |
| Caveat | When operated in approved mode. No assurance of the minimum strength of generated SSPs (e.g., keys). No assurance of minimum security of SSPs (e.g., keys, bit strings) that are externally loaded, or of SSPs established with externally loaded SSPs |
| Vendor | wolfSSL Inc. |
| Algorithm | ACVP Cert |
|---|---|
| AES-CBC | A7470 |
| AES-CCM | A7470 |
| AES-CMAC | A7470 |
| AES-CTR | A7470 |
| AES-ECB | A7470 |
| AES-GCM | A7470 |
| AES-GMAC | A7470 |
| AES-OFB | A7470 |
| DSA KeyGen (FIPS186-4) | A7470 |
| ECDSA KeyGen (FIPS186-5) | A7470 |
| ECDSA KeyVer (FIPS186-5) | A7470 |
| ECDSA SigGen (FIPS186-5) | A7470 |
| ECDSA SigVer (FIPS186-5) | A7470 |
| Hash DRBG | A7470 |
| HMAC-SHA-1 | A7470 |
| HMAC-SHA2-224 | A7470 |
| HMAC-SHA2-256 | A7470 |
| HMAC-SHA2-384 | A7470 |
| HMAC-SHA2-512 | A7470 |
| HMAC-SHA3-224 | A7470 |
| HMAC-SHA3-256 | A7470 |
| HMAC-SHA3-384 | A7470 |
| HMAC-SHA3-512 | A7470 |
| KAS-ECC-SSC Sp800-56Ar3 | A7470 |
| KAS-FFC-SSC Sp800-56Ar3 | A7470 |
| KDF SSH | A7470 |
| KDF TLS | A7470 |
| RSA Decryption Primitive Sp800-56Br2 | A7470 |
| RSA KeyGen (FIPS186-5) | A7470 |
| RSA SigGen (FIPS186-5) | A7470 |
| RSA SigVer (FIPS186-5) | A7470 |
| SHA-1 | A7470 |
| SHA2-224 | A7470 |
| SHA2-256 | A7470 |
| SHA2-384 | A7470 |
| SHA2-512 | A7470 |
| SHA3-224 | A7470 |
| SHA3-256 | A7470 |
| SHA3-384 | A7470 |
| SHA3-512 | A7470 |
| TLS v1.2 KDF RFC7627 | A7470 |
| TLS v1.3 KDF | A7470 |
Compare key sizes and PQC transition dates for your jurisdiction and protection horizon.
flowchart LR
%% Deterministic review-risk graph for wolfCrypt
%% Review prompts and evidence gaps, NOT vulnerability findings.
subgraph CMVP["CMVP-disclosed clues"]
C3["[low] Self-test / status surface<br/>(referenced in text)<br/><i>Self-Test<br/>Show Status<br/>UnAuth</i>"]
C5["[low] Protocol / secure-channel<br/>references (may be KDF<br/>names, not a live channel)<br/><i>TLS<br/>SSH<br/>library named: wolfssl</i>"]
C6["[low] Operating system / runtime<br/>referenced (boundary<br/>membership not asserted)<br/><i>linux<br/>kernel<br/>application</i>"]
end
subgraph Inference["Derived inference"]
I3["Possible only, some<br/>services may process input<br/>before, or without,<br/>operator authentication."]
I5["Possible only, a protocol<br/>is referenced, but whether<br/>it is a live channel or<br/>only a KDF/algorithm name<br/>is unconfirmed."]
I6["Possible only, a<br/>runtime/OS is referenced,<br/>but its membership in the<br/>cryptographic boundary is<br/>not established."]
end
subgraph Risk["Reviewer question"]
R3["Can unauthenticated<br/>services leak state,<br/>consume resources, or<br/>transition security state?"]
R5["If a live TLS/SSH/IKE<br/>channel exists, could<br/>library CVEs apply, or is<br/>this only a<br/>KDF/documentation name?"]
R6["If the OS/runtime is<br/>in-boundary, could its<br/>CVEs be hidden by<br/>firmware-only versioning?"]
end
subgraph Evidence["Evidence needed to close"]
E3["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>pre-auth reachability<br/>matrix · rate limits and<br/>output redaction ·<br/>abuse-case tests"]
E5["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>library identity and<br/>version ·<br/>certificate-validation<br/>behaviour · protocol-CVE<br/>disposition"]
E6["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>runtime identity and<br/>config · kernel/runtime<br/>hardening profile ·<br/>patch/backport manifest"]
end
C3 --> I3 --> R3 --> E3
C5 --> I5 --> R5 --> E5
C6 --> I6 --> R6 --> E6
classDef clue fill:#eef3f9,stroke:#6f7f91,color:#1f3a5f;
classDef infer fill:#fff7e6,stroke:#b98500,color:#6b4e00;
classDef risk fill:#fbe9e9,stroke:#b02a2a,color:#7a1f1f;
classDef evidence fill:#e6f4ea,stroke:#1e7d34,color:#14532d;
class C3,C5,C6 clue;
class I3,I5,I6 infer;
class R3,R5,R6 risk;
class E3,E5,E6 evidence;flowchart LR
%% Deterministic clue tier for wolfCrypt
%% confidence: high = structured record field; medium = structured but soft; low (dashed) = bare keyword hit, context unverified
subgraph CMVP["CMVP-disclosed clues (deterministic)"]
C3["[low] Self-test / status surface (referenced in text)<br/><i>Self-Test<br/>Show Status<br/>UnAuth</i><br/>src: text:keyword"]
C5["[low] Protocol / secure-channel references (may be KDF names, not a live channel)<br/><i>TLS<br/>SSH<br/>library named: wolfssl</i><br/>src: text:keyword"]
C6["[low] Operating system / runtime referenced (boundary membership not asserted)<br/><i>linux<br/>kernel<br/>application</i><br/>src: text:keyword"]
end
classDef clueHigh fill:#eef3f9,stroke:#2f6fb0,stroke-width:2px,color:#1f3a5f;
classDef clueMedium fill:#eef3f9,stroke:#6f7f91,color:#1f3a5f;
classDef clueLow fill:#f7f7f7,stroke:#999,stroke-dasharray:4 4,color:#444;
class C3,C5,C6 clueLow;wolfSSL Inc. wolfCrypt Document Version 1.5
Edmonds, WA 98020 wolfSSL.com +1 425.245.8247 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| # | Section | Page |
|---|
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Item | Page |
|---|---|
| Table 1: Security Levels | 5 |
| Table 2: Legend of Terms and references that appear in this document | 6 |
| Table 3 - Source Files (Module) | 9 |
| Table 4: Tested Module Identification – Software, Firmware, Hybrid (Executable Code Sets) | 9 |
| Table 5: Tested Operational Environments - Software, Firmware, Hybrid | 13 |
| Table 6: Modes List and Description | 14 |
| Table 7: Approved Algorithms | 18 |
| Table 8: Vendor-Affirmed Algorithms | 19 |
| Table 9: Non-Approved, Not Allowed Algorithms | 19 |
| Table 10: Security Function Implementations | 23 |
| Table 11: Ports and Interfaces | 26 |
| Table 12: Roles | 26 |
| Table 13: Approved Services | 30 |
| Table 14: Non-Approved Services | 31 |
| Table 15: Storage Areas | 32 |
| Table 16: SSP Input-Output Methods | 33 |
| Table 17: SSP Zeroization Methods | 33 |
| Table 18: SSP Table 1 | 38 |
| Table 19: SSP Table 2 | 39 |
| Table 20: Pre-Operational Self-Tests | 40 |
| Table 21: Conditional Self-Tests | 44 |
| Table 22: Pre-Operational Periodic Information | 45 |
| Table 23: Conditional Periodic Information | 45 |
| Table 24: Periodic Method Descriptions | 46 |
| Table 25: Error States | 47 |
| Figure 1 - Module Block Diagram | 7 |
| Figure 2: Code Sample A | 50 |
| Section | Title | Security Level |
|---|---|---|
| 1 | General | 1 |
| 2 | Cryptographic module specification | 1 |
| 3 | Cryptographic module interfaces | 1 |
| 4 | Roles, services, and authentication | 1 |
| 5 | Software/Firmware security | 1 |
| 6 | Operational environment | 1 |
| 7 | Physical security | N/A |
| 8 | Non-invasive security | N/A |
| 9 | Sensitive security parameter management | 1 |
| 10 | Self-tests | 1 |
| 11 | Life-cycle assurance | 1 |
| 12 | Mitigation of other attacks | N/A |
| Overall Level | 1 |
| Term/Ref | Description |
|---|---|
| [140-3] | FIPS 140-3, Security Requirements for Cryptographic Modules |
| [OE] | The “Operating Environment” |
| [186-4] | FIPS 186-4, Digital Signature Standard (DSS) |
| [90Arev1] | NIST SP 800-90A Rev. 1, Recommendation for Random Number Generation Using Deterministic Random Bit Generators |
| [56Arev3] | NIST SP 800-56A Rev. 3, Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography |
| [56Crev2] | NIST SP 800-56C Rev. 2, Recommendation for Key- Derivation Methods in Key-Establishment Schemes |
| [135rev1] | NIST SP 800-135 Rev. 1, Recommendation for Existing Application-Specific Key Derivation Functions |
This document defines the Security Policy for wolfSSL Inc. wolfCrypt cryptographic module, security levels as described in section 1.2 below.
In accordance with AS02.05, [ISO19790] §7.7 Physical Security is optional and does not apply wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Term/Ref | Description |
|---|---|
| [140Drev2] | NIST SP 800-140D revision 2, CMVP Approved Sensitive Parameter Generation and Establishment Methods: CMVP Validation Authority Updates to ISO/IEC 24759 |
| [UG] | wolfCrypt FIPS 140-3 User Guide (sometimes referred to as the “Cryptographic Officer Guidance Manual” in documentation not produced by this vendor) |
| [COGM] | Cryptographic Officer Guidance Manual (Another term for [UG] recognized by some in the Industry. Same meaning as [UG] |
| [140-3 IG] | FIPS 140-3, Implementation Guidance |
| [131Arev2] | NIST SP 800-131A Rev. 2, Transitioning the Use of Cryptographic Algorithms and Key Lengths |
| [56Brev2] | NIST SP 800-56B Rev. 2, Recommendation for Pair-Wise Key-Establishment Using Integer Factorization Cryptography |
Table 2: Legend of Terms and references that appear in this document
2 – Cryptographic Module Specification
TOEPP: The platform(s) used for testing are documented in Table 5: Tested Operational Environments - Software, Firmware, Hybrid. If the onboard CPU of a tested platform supported a known PAA [FIPS 140-3 IG 2.3.C] and was desirable for FIPS use, then in accordance with [FIPS 140-3 IG2.3.C] that platform was tested both with and without PAA unless an identical or similar platform had already been tested. When an identical or similar platform was already tested, the new platform was tested only with PAA. This is reflected by the column PAA/PAI in table 5 as marked with a Yes or No entry. The Intel and AMD AESNI (AES New Instructions) are known PAA(s). The Module is a cryptography software library. The Module is a Multi-Chip Stand Alone embodiment. The Module is intended for use by U.S. and Canadian Federal agencies in addition to any other markets that require FIPS 140-3 validated cryptographic functionality. The Module was originally designed with embedded and IoT in mind. As a side effect of this design, it also scales exceptionally well on larger desktop and server systems allowing more connections per box than similar competing solutions. The Module version under validation is Software Version v5.2.3. Module Type: Software Module Embodiment: Multi-Chip Standalone Module Characteristics: Cryptographic Boundary: wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Source File Name | Description |
|---|---|
| wolfcrypt_first.c | First function and Read Only address marking start of cryptographic boundary |
| aes_asm.asm | aes.c assembler optimizations (Windows 10) |
| aes_asm.s | aes.c assembler optimizations (Linux) |
| aes_gcm_asm.s | aes.c assembler optimizations (Portable) |
| aes_gcm_x86_asm.s | aes.c assembler optimizations (Portable) |
| aes.c | AES algorithm (software) |
| armv8-32-aes-asm_c.c | aes.c assembler optimizations (ARM 32-bit) |
| armv8-32-aes-asm.s | aes.c assembler optimizations (ARM 32-bit) |
| armv8-32-sha256-asm_c.c | sha256.c assembler optimizations (ARM 32-bit) |
| armv8-32-sha256-asm.s | sha256.c assembler optimizations (ARM 32-bit) |
Figure 1 depicts the Module operational environment, with the software module cryptographic boundary highlighted in red inclusive of all Module entry points (API calls). The Module is defined as a Software module per AS02.03. No components are excluded from [140-3] requirements. The pre-operational approved integrity test is performed over all components of the cryptographic boundary. Updates to the Module are provided as a complete replacement in accordance with AS04.27
| armv8-32-sha3-asm_c.c | sha3.c assembler optimizations (ARM 32-bit) |
|---|---|
| armv8-32-sha3-asm.s | sha3.c assembler optimizations (ARM 32-bit) |
| armv8-32-sha512-asm_c.c | sha512.c assembler optimizations (ARM 32-bit) |
| armv8-32-sha512-asm.s | sha512.c assembler optimizations (ARM 32-bit) |
| armv8-aes.c | aes.c assembler optimizations (__aarch64__) |
| armv8-sha256.c | sha256.c assembler optimizations (__aarch64__) |
| armv8-sha3-asm_c.c | sha3.c assembler optimizations (__aarch64__) |
| armv8-sha3-asm.s | sha3.c assembler optimizations (__aarch64__) |
| armv8-sha512-asm_c.c | sha512.c assembler optimizations (__aarch64__) |
| armv8-sha512-asm.s | sha512.c assembler optimizations (__aarch64__) |
| armv8-sha512.c | sha512.c assembler optimizations (__aarch64__) |
| cmac.c | CMAC algorithm (software) |
| dh.c | Diffie-Hellman (software) |
| ecc.c | Elliptic curve cryptography (software) |
| hmac.c | HMAC algorithm (software) |
| kdf.c | KDFs (software) (TLSv1.2, 1.3, SSH, SRTP) |
| random.c | DRBG (software) |
| rsa.c | RSA (software) |
| sha.c | SHA (software) |
| sha256_asm.s | sha256.c assembler optimizations (Portable) |
| sha256.c | SHA2-256/SHA2-224 algorithm(s) (software) |
| sha3.c | SHA3 algorithms(s) (software) |
| sha3_asm.s | sha3.c assembler optimizations (Portable) |
| sha512_asm.s | sha512.c assembler optimizations (Portable) |
| sha512.c | SHA2-512/SHA2-384 algorithm(s) (software) |
| sp_arm32.c | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (32-bit ARM) |
| sp_arm64.c | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (__aarch64__) |
| sp_armthumb.c | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (ARM THUMB) |
| sp_c32.c | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (Portable 32-bit) |
| sp_c64.c | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (Portable 64-bit) |
| sp_cortexm.c | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (Cortex-M) |
| sp_x86_64_asm.asm | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (x86_64 windows) |
| sp_x86_64_asm.s | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (x86_64 Linux) |
| sp_x86_64.c | Public Key (ecc.c, rsa.c, dh.c) assembler optimizations (x86_64 Portable) |
| thumb2-aes-asm_c.c | aes.c assembler optimizations (ARM THUMB) |
| thumb2-aes-asm.s | aes.c assembler optimizations (ARM THUMB) |
| thumb2-sha256-asm_c.c | sha256.c assembler optimizations (ARM THUMB) |
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| thumb2-sha256-asm.s | sha256.c assembler optimizations (ARM THUMB) |
|---|---|
| thumb2-sha3-asm_c.c | sha3.c assembler optimizations (ARM THUMB) |
| thumb2-sha3-asm.s | sha3.c assembler optimizations (ARM THUMB) |
| thumb2-sha512-asm_c.c | sha512.c assembler optimizations (ARM THUMB) |
| thumb2-sha512-asm.s | sha512.c assembler optimizations (ARM THUMB) |
| riscv-64-sha256.c | sha256.c assembler optimizations (RISC-V) |
| riscv-64-sha3.c | sha3.c assembler optimizations (RISC-V) |
| riscv-64-sha512.c | sha512.c assembler optimizations (RISC-V) |
| stm32.c | stm32 assembler optimizations (STM32) |
| fips_test.c | Pre-operational self-tests and CAST implementations |
| fips.c | Pre-operational entry point and Approved Services API wrappers |
| wolfcrypt_last.c | Last function and Read Only address marking end of cryptographic boundary |
| Package or File Name | Software/ Firmware Version | Features | Integrity Test | ||
|---|---|---|---|---|---|
| wolfssl-x.x.x-commercial- fipsv5.2.3.7z | v5.2.3 | FIPS 140-3 module and SSL/TLS library | HMAC- SHA256 |
Operating System Janteq Zynq Linux 5.4
Hardware Platform AviTr3
Processors Xilinx Zynq- 7000 SoC
PAA/PA I No
Hyperviso r or Host OS
Version(s ) v5.2.3
Table 3 - Source Files (Module) The source code files listed in Table 3 “Source Files” result in the corresponding object files that comprise the wolfCrypt module boundary on each supported operating environment; the extensions of the object file can differ across environments.
Tested Module Identification
| Operating System Janteq Zynq Linux 5.4 Janteq Zynq Linux 4.19 Janteq Zynq Linux 4.19 Janteq Ambarella S5L Linux 4.9 Janteq Ambarella S5L Linux 4.9 Janteq iMX8QM Linux 5.4 Janteq iMX8QM Linux 5.4 FreeRTOS v10.4 Linux 5.15 Android 14 Android 14 Linux 6.6 Linux 6.6 Linux 5.15 Debian 12.5 | Hardware Platform AviTr3 Bronte3 Bronte3 Maximo Maximo FLIP2 FLIP2 Harman CE-REL8 Universal Control Extender Harman N3322D Video encoder/decoder Samsung Galaxy S21 Samsung Galaxy S21 SEL Switch SEL-2740 731 Series Advanced Ventilator Broadcom Symantec Privileged Access Manager | Processors Xilinx Zynq- 7000 SoC Xilinx Zynq Ultrascale+ Xilinx Zynq Ultrascale+ Ambarella S5L SoC Ambarella S5L SoC i.MX8 Quad Max SoC i.MX8 Quad Max SoC NXP i.MX RT1051 MTK MT8395 Qualcomm SM8350 Snapdragon Qualcomm SM8350 Snapdragon Xilinx Zynq Ultrascale+ Altera SoC FPGA i.MX6UL Intel Xeon CPU E3-1275 v6 @ 3.80GHz | PAA/PA I Yes No Yes No Yes No Yes No No No Yes No No No No | Hyperviso r or Host OS | Version(s ) v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 | |
|---|---|---|---|---|---|---|
| Ubuntu 22.04 | secureWISE Cloud Chassis | Intel Xeon E5-2697 v3 | No | VMWare ESXi 7.0.3 | v5.2.3 | |
| Nucleus 3.0 version 2013.08.1 | XL200P Radio | Freescale Vybrid VF500 | No | v5.2.3 | ||
| Yocto 4.0-r7 (kirkstone) | Claria Plus | STM32MP15 7 | No | v5.2.3 |
5.4 5.4 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Operating System Linux 6.6 Linux 6.6 HP Imaging & Printing Linux 4.9 Kernel HP Imaging & Printing Linux 4.9 Kernel HP Imaging & Printing Linux 4.9 Kernel HP Imaging & Printing Linux 4.9 Kernel Microsoft Windows CE 6.0 | Hardware Platform ZOLL Zenix Communications Module ZOLL Zenix Communications Module HP PN 3PZ95-60002 HP PN 3PZ95-60002 HP PN 6QN27- 60001A HP PN 6QN27- 60001A HP Color LaserJet Enterprise M553 | Processors Freescale i.MX7 Dual ARM Cortex- A7 Freescale i.MX7 Dual ARM Cortex- A7 ARM Cortex- A72 ARM Cortex- A72 ARM Cortex- A53 ARM Cortex- A53 ARM Cortex- A8 | PAA/PA I No Yes No Yes No Yes No | Hyperviso r or Host OS | Version(s ) v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 | |
|---|---|---|---|---|---|---|
| RHEL 8.10 | Dell R660 | Intel Xeon Gold 6526Y @ 2.80GHz | No | qemu-kvm 6.2 on RHEL 8.10 | v5.2.3 | |
| RHEL 8.10 | Dell R660 | Intel Xeon Gold 6526Y @ 2.80GHz | Yes | qemu-kvm 6.2 on RHEL 8.10 | v5.2.3 | |
| Windows 11 Pro | Dell Precision 3570 | Intel Core i7- 1255U @ 1.70Ghz | No | v5.2.3 | ||
| Windows 11 Pro | Dell Precision 3570 | Intel Core i7- 1255U @ 1.70Ghz | Yes | v5.2.3 | ||
| Android 13 | Samsung Galaxy S23 | Qualcomm Snapdragon 8 Gen 2 (SoC) | No | v5.2.3 | ||
| Android 13 | Samsung Galaxy S23 | Qualcomm Snapdragon 8 Gen 2 (SoC) | Yes | v5.2.3 | ||
| iOS 17.3 | iPhone 14 | Apple A15 Bionic | No | v5.2.3 | ||
| iOS 17.3 | iPhone 14 | Apple A15 Bionic | Yes | v5.2.3 | ||
| Linux 5.4 | Lenovo XClarity Controller | Dual ARM Cortex A7 | No | v5.2.3 |
6.0 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
Operating System Linux 5.4 Linux 6.6 Linux 6.6 Android 11 Linux 4.14 Ubuntu 20.04.6 UEFI Specification Version 2.3.1 (32-bit) UEFI Specification Version 2.6.0 (64-bit) UEFI Specification Version 2.6.0 (64-bit) Linux 5.15 Yocto (Kirkstone) QNX 6.6 Windows Server 2022 Cesium 2.93 HP Imaging & Printing Linux 5.10 HP Imaging & Printing Linux 5.10 HP Imaging & Printing Linux 5.10 HP Imaging & Printing Linux 5.10
Hardware Platform Lenovo XClarity Controller Lenovo XClarity Controller Lenovo XClarity Controller PD470 Mesh Rider Radios Single Board Computer (SBC), GW7101-01 Dell Venue 8 Pro Dell Latitude 7480 Dell Latitude 7480 FXR90 LIFEPAK monitor/defibrillator(s ) PowerEdge R660 Rack Server Claria Plus HP Color LaserJet Enterprise 6700 HP Color LaserJet Enterprise 6700 HP Color LaserJet Enterprise 5700 HP Color LaserJet Enterprise 5700
Processors Dual ARM Cortex A7 Dual ARM Cortex A7 Dual ARM Cortex A7 MTK MT6762 MIPS 24Kc V7.4 NXP i.MX8M Intel Atom Processor Z3745D Intel Core i5- 7300U Intel Core i5- 7300U NXP i.MX8M Mini Quad Cortex-A53 NXP i.MX6 Intel Xeon Gold 6414U CPU STM32H753 ARM Cortex- A72 ARM Cortex- A72 ARM Cortex- A53 ARM Cortex- A53
PAA/PA I Yes No Yes No No No No No Yes No No No No No Yes No Yes
Hyperviso r or Host OS
Version(s ) v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3
) wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
Operating System Linux 6.6 Debian GNU/Linux 8 (jessie) Linux IPHO00559B2 3 3.4 Linux IPHO00550F2 2 4.1 Debian GNU/Linux 8 (jessie) Digi Embedded Yocto 5.0
Hardware Platform Forward Edge-AI Isidore Quantum Corning 1LAN- SDDP-48P-U Edgecore Cloud and Data Center Switch Corning 1LAN- SDAN-7290 GPON ONT Corning 1LAN- SDAN-7691 XGS- PON ONT Corning 1LAN- SDDP-24POE ConnectCore 6UL
Processors NXP LS1012 Broadcom BCM56771 Broadcom BCM6838 Broadcom BCM6858 Broadcom BCM5634 NXP i.mx6UL
PAA/PA I No No No No No No
Hyperviso r or Host OS
Version(s ) v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3
| Mode Name | Description | Types of Services | Status Indicator |
|---|---|---|---|
| Approved mode of operation | The Module supports an Approved mode of operation. In this mode all services are available. | Approved | FIPS_MODE_NORMAL (1) |
| Degraded mode of operation | The Module implements a Degraded Mode of operation: when a CAST fails, that CAST is | Approved | FIPS_MODE_DEGRADED (2) |
Table 5: Tested Operational Environments - Software, Firmware, Hybrid Vendor-Affirmed Operational Environments - Software, Firmware, Hybrid: The Module conforms to [140-3 IG] 2.3.C Processor Algorithm Accelerators (PAA) and Processor Algorithm Implementation (PAI). The Intel Processor AES-NI functions are identified by [140-3 IG] 2.3.C as a known PAA. No vendor affirmed operational environments are claimed for this validation of the module.
N/A the module does not support excluded components. Modes List and Description: wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Mode Name | Description marked as failed and the module will inhibit use of algorithms governed by that CAST | Types of Services | Status Indicator | |
|---|---|---|---|---|
| Non- Approved mode of operation | The Module is in non-Approved mode of operation when the services in Table 14 are invoked and the conditions specified in Section 2.7 of the Security Policy are not adhered to by the Users of the module. | Non- Approved | Implicit indicator please see section 2.7 |
Module is a cryptographic library providing primitives used by a calling application. With the Module installed and configured in accordance with [UG] instructions and Section 11 of Each time the module is power cycled or reloaded all CAST status are initialized to FIPS_CAST_STATE_INIT. Each algorithm invocation includes a check of the algorithms CAST status; if the CAST status is FIPS_CAST_STATE_INIT the module will automatically run the CAST and that algorithms CAST status will be updated to either FIPS_CAST_STATE_SUCCESS (if it passes) or FIPS_CAST_STATE_FAILURE (if it fails). See degraded mode for when a CAST status fails. To check the modules overall status at any time the cryptographic officer may use the Show Status service by calling wolfCrypt_GetMode_fips() this will return either: FIPS_MODE_INIT (0) - Module is currently running its’ pre-operational self-test in another thread (multi-threaded) FIPS_MODE_NORMAL (1) - Module in normal mode of operation without errors FIPS_MODE_DEGRADED (2) - Module in degraded mode of operation with some errors To check the CAST state of any algorithm the cryptographic officer may use the Show Status Service by calling wc_GetCastStatus_fips(<algorithm type>) where algorithm type can be any of the following:
| Algorithm | CAVP Cert | Properties | Reference |
|---|---|---|---|
| AES-CBC, AES-ECB, AES-OFB | A7470 | Direction - Decrypt, Encrypt Key Length - 128, 192, 256 | SP 800-38A |
| AES-CCM | A7470 | Key Length - 128, 192, 256 Tag Length - 112, 128, 32, 48, 64, 80, 96 | SP 800-38C |
Approved Algorithms: wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Algorithm | CAVP Cert | Properties IV Length - IV Length: 56, 64, 72, 80, 88, 96 Payload Length - Payload Length: 0-256 Increment 8 AAD Length - AAD Length: 0-8192 Increment 8 | Reference |
|---|---|---|---|
| AES-CMAC | A7470 | Direction - Generation, Verification Key Length - 128, 192, 256 MAC Length - MAC Length: 32-128 Increment 32 Message Length - Message Length: 0- 16384 Increment 128 | SP 800-38B |
| AES-CTR | A7470 | Direction - Decrypt, Encrypt Key Length - 128, 192, 256 Payload Length - Payload Length: 8-128 Increment 8 Supports Counter larger than maximum value - No Incremental Counter - Yes Counter Tests Performed - Yes | SP 800-38A |
| AES-GCM | A7470 | Direction - Decrypt, Encrypt IV Generation - External, Internal IV Generation Mode - 8.2.1, 8.2.2 Key Length - 128, 192, 256 Tag Length - 104, 112, 120, 128, 96 IV Length - IV Length: 64-128 Increment 32 Payload Length - Payload Length: 128-512 Increment 128 AAD Length - AAD Length: 128-512 Increment 128 | SP 800-38D |
| AES-GMAC | A7470 | Direction - Decrypt, Encrypt IV Generation - External, Internal IV Generation Mode - 8.2.1, 8.2.2 Key Length - 128, 192, 256 Tag Length - 104, 112, 120, 128, 96 IV Length - IV Length: 64-128 Increment 32 AAD Length - AAD Length: 128-512 Increment 128 | SP 800-38D |
| DSA KeyGen (FIPS186-4) | A7470 | L - 2048 N - 256 | FIPS 186-4 |
| ECDSA KeyGen (FIPS186-5) | A7470 | Curve - P-224, P-256, P-384, P-521 Secret Generation Mode - extra bits | FIPS 186-5 |
| ECDSA KeyVer (FIPS186-5) | A7470 | Curve - P-224, P-256, P-384, P-521 | FIPS 186-5 |
| ECDSA SigGen (FIPS186-5) | A7470 | Curve - P-224, P-256, P-384, P-521 Hash Algorithm - SHA2-224, SHA2-256, | FIPS 186-5 |
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Algorithm | CAVP Cert | Properties SHA2-384, SHA2-512, SHA3-224, SHA3- 256, SHA3-384, SHA3-512 Component - No | Reference |
|---|---|---|---|
| ECDSA SigVer (FIPS186-5) | A7470 | Component - No Curve - P-224, P-256, P-384, P-521 Hash Algorithm - SHA2-224, SHA2-256, SHA2-384, SHA2-512, SHA3-224, SHA3- 256, SHA3-384, SHA3-512 | FIPS 186-5 |
| Hash DRBG | A7470 | Prediction Resistance - No Supports Reseed - Yes Mode - SHA2-256 Entropy Input - Entropy Input: 256 Nonce - Nonce: 128 Personalization String Length - Personalization String Length: 0, 0 Additional Input - Additional Input: 0, 0 Returned Bits - 1024 | SP 800-90A Rev. 1 |
| HMAC-SHA-1 | A7470 | MAC - MAC: 160 Key Length - Key Length: 112-1024 Increment 8 | FIPS 198-1 |
| HMAC-SHA2-224, HMAC-SHA3-224 | A7470 | MAC - MAC: 224 Key Length - Key Length: 112-1024 Increment 8 | FIPS 198-1 |
| HMAC-SHA2-256, HMAC-SHA3-256 | A7470 | MAC - MAC: 256 Key Length - Key Length: 112-1024 Increment 8 | FIPS 198-1 |
| HMAC-SHA2-384, HMAC-SHA3-384 | A7470 | MAC - MAC: 384 Key Length - Key Length: 112-1024 Increment 8 | FIPS 198-1 |
| HMAC-SHA2-512, HMAC-SHA3-512 | A7470 | MAC - MAC: 512 Key Length - Key Length: 112-1024 Increment 8 | FIPS 198-1 |
| KAS-ECC-SSC Sp800-56Ar3 | A7470 | Domain Parameter Generation Methods - P-256, P-384, P-521 Hash Function Z - SHA2-512 Scheme - ephemeralUnified - KAS Role - initiator, responder | SP 800-56A Rev. 3 |
| KAS-FFC-SSC Sp800-56Ar3 | A7470 | Domain Parameter Generation Methods - ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144, ffdhe8192 Hash Function Z - SHA2-512 Scheme - dhEphem - KAS Role - initiator, responder | SP 800-56A Rev. 3 |
| KDF SSH (CVL) | A7470 | Cipher - AES-128, AES-192, AES-256 Hash Algorithm - SHA-1, SHA2-256, SHA2-384, SHA2-512 | SP 800-135 Rev. 1 |
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Algorithm | CAVP Cert | Properties | Reference |
|---|---|---|---|
| KDF TLS (CVL) | A7470 | TLS Version - v1.2 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512 Key Block Length - Key Block Length: 1024 | SP 800-135 Rev. 1 |
| RSA Decryption Primitive Sp800-56Br2 (CVL) | A7470 | Modulo - 2048, 3072, 4096 Key Format - Standard Public Exponent Mode - random | SP 800-56B Rev. 2 |
| RSA KeyGen (FIPS186-5) | A7470 | Key Generation Mode - probable Modulo - 2048, 3072, 4096 p mod 8 - 0 Primality Tests - 2powSecStr q mod 8 - 0 Info Generated By Server - Yes Private Key Format - standard Public Exponent Mode - random | FIPS 186-5 |
| RSA SigGen (FIPS186-5) | A7470 | Hash Pair - Hash Algorithm - SHA2-224 Modulo - 2048, 3072, 4096 Signature Type - pkcs1v1.5, pss Mask Function - MGF1 | FIPS 186-5 |
| RSA SigVer (FIPS186-5) | A7470 | Hash Pair - Hash Algorithm - SHA2-224 Modulo - 2048, 3072, 4096 Signature Type - pkcs1v1.5, pss Mask Function - MGF1 Public Exponent Mode - random | FIPS 186-5 |
| SHA-1, SHA2-224, SHA2-256, SHA2- 384, SHA2-512 | A7470 | Message Length - Message Length: 0- 65536 Increment 8 | FIPS 180-4 |
| SHA3-224, SHA3- 256, SHA3-384, SHA3-512 | A7470 | Message Length - Message Length: 0- 65536 Increment 8 | FIPS 202 |
| TLS v1.2 KDF RFC7627 (CVL) | A7470 | Hash Algorithm - SHA2-256, SHA2-384, SHA2-512 Key Block Length - Key Block Length: 1024 | SP 800-135 Rev. 1 |
| TLS v1.3 KDF (CVL) | A7470 | HMAC Algorithm - SHA2-256, SHA2-384 KDF Running Modes - DHE, PSK, PSK- DHE | SP 800-135 Rev. 1 |
Table 7: Approved Algorithms NOTE: Only the algorithms specified in this section are supported by the module in approved mode of operation. No operational use of an algorithm may be performed until the corresponding CAST has passed. wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Properties | Implementation | Reference | ||||
|---|---|---|---|---|---|---|---|
| CKG- 1 | Key Type:Symmetric and Asymmetric | N/A | SP800-133r2 Section 4, example 1 |
| Name | Use and Function |
|---|---|
| AES- GCM | Non-approved and not-allowed when the IV length is less than 96 bits. |
| ECDSA | Non-approved and not-allowed when the hashlen (Verify) and inlen (Sign) are less than WC_MIN_DIGEST_SIZE or the ECC public key imported to the module exceeds P-521. |
| AES- CMAC | Non-approved and not-allowed when the cumulative input size exceeds 2^(32) -1, the CMAC tag length is less than 64-bits, or the CMAC tag length is greater than 128-bits. |
| AES- CCM | Non-approved and not-allowed when the payload meets or exceeds 2^(8q) bytes. |
| DH | Non-approved and not-allowed when the private key length is less than 2048-bits or if it exceeds 8192-bits. |
| RSA | Non-approved and not-allowed when the public exponent "e" is less than 65537. |
| ECDH | Non-approved and not-allowed when the ECC public key imported to the module exceeds P-521. |
| Name | Type | Description | Properties | Algorithms |
|---|---|---|---|---|
| DRBG | DRBG | Deterministic Random Byte Generator | SHA2-256: (A7470) Hash DRBG: (A7470) | |
| Message Authentication | MAC | Hash-Based Message Authentication | HMAC-SHA- 1: (A7470) HMAC-SHA2- |
Vendor-Affirmed Algorithms: Table 8: Vendor-Affirmed Algorithms N/A for this module. NOTE: For TLS 1.2 KDF Extended master-secret shall be used in approved mode of operation. Non-Approved, Allowed Algorithms with No Security Claimed: N/A for this module.
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Type | Description | Properties | Algorithms | ||
|---|---|---|---|---|---|---|
| Codes, Generation and Verification | 224: (A7470) HMAC-SHA2- 256: (A7470) HMAC-SHA2- 384: (A7470) HMAC-SHA2- 512: (A7470) HMAC-SHA3- 224: (A7470) HMAC-SHA3- 256: (A7470) HMAC-SHA3- 384: (A7470) HMAC-SHA3- 512: (A7470) SHA-1: (A7470) SHA2-224: (A7470) SHA2-256: (A7470) SHA2-384: (A7470) SHA2-512: (A7470) SHA3-224: (A7470) SHA3-256: (A7470) SHA3-384: (A7470) SHA3-512: (A7470) | |||||
| Secure Hash | SHA | Secure Hash Function | SHA-1: (A7470) SHA2-224: (A7470) SHA2-256: (A7470) SHA2-384: (A7470) SHA2-512: (A7470) SHA3-224: (A7470) SHA3-256: (A7470) SHA3-384: (A7470) |
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Type | Description | Properties | Algorithms | |
|---|---|---|---|---|---|
| SHA3-512: (A7470) | |||||
| KAS-SSC with KDF | KAS- SSC/KDF | Key Derivation; Key Agreement | IG:IG D.F Scenario 2 path (1) Key confirmation:no Key derivation:Per IG 2.4.B resolution 6 and 7 All KDF's shall only be used within their respective protocols. Caveat:Key establishment methodology provides between 112 and 256 bits of security strength | KAS-ECC- SSC Sp800- 56Ar3: (A7470) KAS-FFC- SSC Sp800- 56Ar3: (A7470) KDF SSH: (A7470) KDF TLS: (A7470) TLS v1.2 KDF RFC7627: (A7470) TLS v1.3 KDF: (A7470) | |
| Symmetric Key Generation | CKG | Generate Symmetric Keys via the direct output of the DRBG. | CKG-1: () | ||
| RSA Asymmetric Key-Pair Generation | AsymKeyPair- KeyGen | Generate an RSA Asymmetric Key Pair | RSA KeyGen (FIPS186-5): (A7470) HMAC-SHA- 1: (A7470) CKG-1: () | ||
| ECDSA Key- Pair Generation | AsymKeyPair- KeyGen AsymKeyPair- KeyVer | Generate and verify an ECDSA Key-Pair | ECDSA KeyGen (FIPS186-5): (A7470) Hash DRBG: (A7470) ECDSA KeyVer (FIPS186-5): (A7470) SHA2-224: (A7470) SHA2-256: (A7470) SHA2-384: (A7470) SHA2-512: (A7470) DSA KeyGen |
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Type | Description | Properties | Algorithms |
|---|---|---|---|---|
| (FIPS186-4): (A7470) | ||||
| RSA Digital Signature Generation | DigSig- SigGen | RSA Digital Signature Generation | RSA SigGen (FIPS186-5): (A7470) SHA2-224: (A7470) SHA2-256: (A7470) SHA2-384: (A7470) SHA2-512: (A7470) Hash DRBG: (A7470) | |
| RSA Digital Signature Verification | DigSig-SigVer | RSA Digital Signature Verification | RSA SigVer (FIPS186-5): (A7470) SHA-1: (A7470) SHA2-224: (A7470) SHA2-256: (A7470) SHA2-512: (A7470) | |
| Auth Block Cipher | BC-Auth | Authenticated Block Ciphers | AES-GCM: (A7470) AES-GMAC: (A7470) AES-CCM: (A7470) AES-CMAC: (A7470) | |
| UnAuth Block Cipher | BC-UnAuth | Unauthenticated Block Ciphers | AES-CBC: (A7470) AES-ECB: (A7470) AES-CTR: (A7470) AES-OFB: (A7470) | |
| ECDSA Digital Signature | DigSig- SigGen DigSig-SigVer | ECDSA Signature Generation and Signature Verification | ECDSA SigGen (FIPS186-5): (A7470) ECDSA SigVer (FIPS186-5): |
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Type | Description | Properties | Algorithms |
|---|---|---|---|---|
| (A7470) SHA2-224: (A7470) SHA2-256: (A7470) SHA2-384: (A7470) SHA2-512: (A7470) SHA3-224: (A7470) SHA3-256: (A7470) SHA3-384: (A7470) SHA3-512: (A7470) | ||||
| RSA Primitive | KTS-Encap | RSA Decryption Primitive | RSA Decryption Primitive Sp800-56Br2: (A7470) | |
| Key-based Derivation Functions | KAS-135KDF | SP 800-135 KDFs | KDF SSH: (A7470) KDF TLS: (A7470) TLS v1.2 KDF RFC7627: (A7470) TLS v1.3 KDF: (A7470) |
Table 10: Security Function Implementations
The conditions for using the Module in the Approved mode of operation are:
instructions. Applications that would be at risk of violating any restriction in this section will fail to build and link successfully against the compliant module binary executable. a. Adherence to [140-3 IG] C.H Key/IV Pair Uniqueness Requirements from SP 800-38D. The Module supports both internal IV generation (for use with the [56Arev3] compliant KAS API entry points) and external IV generation (for TLS KAS usage). For internal IV generation, the Module complies with C.H 2, users MUST specify an IV length of GCM_NONCE_MID_SZ or greater for internal IV generation otherwise specifying any length less than 96-bits means the Module is no longer in an Approved mode of operation. For internal IV generation, C.H requires the calling application to use the modules internal approved DRBG to generate the random IV For external IV generation, the Module complies with C.H 1 (a), tested per option (ii) under C.H TLS protocol IV generation. The module performs a check for nonce_explicit rollover, returning an error if that condition is encountered. b. ECDSA and RSA signature generation must be used with a SHA-2 or SHA-3 hash function. c. RSA signature generation and encryption primitives must use RSA keys with k = 2048,
d. The calling process shall adhere to all current [131Arev2] algorithm usage restrictions. e. ECDSA sign and verify: i. Users must check that the hashlen (Verify) is not less than WC_MIN_DIGEST_SIZE prior to calling wc_ecc_verify_hash_fips() otherwise the Module is no longer in an Approved mode of operation. ii. Users must check that the inlen (Sign), that represents the digest input length, is not less than WC_MIN_DIGEST_SIZE prior to calling wc_ecc_sign_hash_fips() otherwise the Module is no longer in an Approved mode of operation. f. AES-CMAC generation and verification: i. Users must check that the cumulative input size into AES-CMAC (wc_CmacUpdate_fips()) does not exceed WOLFSSL_MAX_32BIT (2^(32) -1) otherwise the Module is no longer in an Approved mode of operation. ii. Users must check that the CMAC tag length is not less than WC_CMAC_TAG_MIN_SZ (64-bits) and not greater than WC_CMAC_TAG_MAX_SZ (128-bits) prior to calling wc_AesCmacVerify_fips() otherwise the Module is no longer in an Approved mode of operation. g. AES-CCM encryption and decryption: i. The maximum payload length for AES-CCM is determined by the nonce size, per NIST SP 800-38C, Appendix A.1: with a length-field of “q = 15
i. RSA Key generation: i. Users must check that the RSA public exponent “e” specified in a wc_MakeRsaKey_fips() call is not less than WC_RSA_EXPONENT (65537) otherwise the Module is no longer in an Approved mode of operation. j. ECDSA and ECDH public key import: i. Users must check that ECC public keys imported to the module using wc_ecc_import_x963_ex_fips() are not greater than MAX_ECC_BYTES (P-521) otherwise the Module is no longer in an Approved mode of operation.
N/A for this module. N/A for this module.
The Module conforms to [140-3 IG] D.C References to the Support of Industry Protocols: while the module provides [56A] conformant schemes and API entry points oriented to TLS and SSH usage, the Module does not contain the full implementation of TLS or SSH. The following statements are required per IG D.C case #2: No parts of the TLS protocol other than the approved cryptographic algorithms and the KDFs, have been tested by the CAVP and CMVP. No parts of the SSH protocol other than the approved cryptographic algorithms and the KDFs, have been tested by the CAVP and CMVP.
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Physical Port | Logical Interface(s) | Data That Passes |
|---|---|---|
| N/A | Control Input | API entry point: stack frame including non-sensitive parameters |
| N/A | Control Output | API call parameters passed by reference for structures allocated by wolfCrypt |
| N/A | Data Input | API call parameters passed by reference or value for cryptographic service input |
| N/A | Data Output | API call parameters passed by reference for cryptographic service output |
| N/A | Status Output | API return value: enumerated status resulting from call execution |
| Name | Type | Operator Type | Authentication Methods | |||
|---|---|---|---|---|---|---|
| CO | Role | CO |
The Module design corresponds to the Module security rules. Security rules enforced by the Module are described in the appropriate context of this document.
Table 11: Ports and Interfaces Table 11 defines the Module’s [140-3] logical interfaces; the Module does not interact with physical ports.
Table 12: Roles The Module supports the Cryptographic Officer (CO) operator role, and does not support multiple concurrent operators, a maintenance role or bypass capability. The cryptographic module does not provide an authentication or identification method of its own. The CO role is implicitly identified by the service requested.
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Descripti on | Indicator | Inputs | Outputs | Security Functions | SSP Access |
|---|---|---|---|---|---|---|
| Digital Signatu re | Generate or verify digital signature s. | Successful completion of the service (status code >= 0). For ECDSA, Non- approved and not- allowed when the hashlen (Verify) and inlen (Sign) are less than WC_MIN_DIGEST _SIZE or the ECC public key imported to the module exceeds P-521. | Sign: Key Struct (DS_SGK ); message; Verify: signature value; flags; sizes. | Sign: Status return; Signature value. Verify: Status return; | RSA Digital Signature Generatio n RSA Digital Signature Verificatio n ECDSA Digital Signature | CO - DS_SGK: W,E,Z - DS_SVK: W,E,Z |
| Generat e Key Pair | Generate asymmetr ic key pairs. | Successful completion of the service (status code >= 0). For DH, Non-approved and not-allowed when the private key length is less than 2048-bits or if it exceeds 8192- bits. For RSA, Non-approved and not-allowed when the public exponent "e" is less than 65537. | FFC, ECC: curve identifier; RSA: modulous size; | Status return; Key structure (GKP_Priv ate) | RSA Asymmetri c Key-Pair Generatio n ECDSA Key-Pair Generatio n | CO - GKP_Priv ate: G,R,Z - GKP_Pub lic: G,R,Z |
| Key Agreem ent | DH key agreemen t primitives. | Successful completion of the service (status code >= 0). For ECDH, Non- approved and not- allowed when the ECC public key imported to the module exceeds P-521. | Key structures (KAS_Pri vate and KAS_Publ ic); flags; | Status return; KAS_SSC; | KAS-SSC with KDF | CO - KAS_Priv ate: W,E,Z - KAS_Publ ic: W,E,Z - KAS_SS C: G,R,Z |
| Key Derivati on | Derive keying material from a | Successful completion of the service (status code >= 0) | KAS_SS C; flags; | Status return; KD_DKM; | KAS-SSC with KDF Key-based Derivation Functions | CO - KAS_SS C: R,E,Z |
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Descripti on | Indicator | Inputs | Outputs | Security Functions | SSP Access |
|---|---|---|---|---|---|---|
| shared secret | ||||||
| Keyed Hash | Generate or verify message integrity | Successful completion of the service (status code >= 0). For AES-CMAC, Non- approved and not- allowed when the cumulative input size exceeds 2^(32) -1, the CMAC tag length is less than 64- bits, or the CMAC tag length is greater than 128- bits. | KH_Key | Status return; Tag value; | Message Authentica tion Auth Block Cipher | CO - KH_Key: W,E - AES GCM IV: W,E |
| Messag e Digest | Generate a message digest | Successful completion of the service (status code >= 0) | Message; flags; | Status return; Hash value; | Secure Hash | CO |
| Rando m | Generate random bits using the DRBG | Successful completion of the service (status code >= 0) | DRBG structure (Internal State containing secret(s) C and V); Seed | Status return; Random Value; | DRBG | CO - Seed: W,E,Z - Internal State: G,E - Secret C: G,E - Secret V: G,E - Entropy Input String: W,E,Z |
| Self-test | Perform the designate d self- test. | Successful completion of the service (status code >= 0) | Flags | Status return | Message Authentica tion | CO - MOD_INT : G,Z - coreKey: E |
| Show Status | Provide Module status | Successful completion of the service (status code >= 0) | None | Status return | None | CO |
V: G,E W,E,Z E wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Descripti on | Indicator | Inputs | Outputs | Security Functions | SSP Access |
|---|---|---|---|---|---|---|
| Symmet ric cipher | Encrypt or Decrypt data, including AEAD modes (CCM, GCM) | Successful completion of the service (status code >= 0). For AES-GCM, Non- approved and not- allowed when the IV length is less than 96 bits. For AES-CCM, Non- approved and not- allowed when the payload meets or exceeds 2^(8q) bytes. | SC_EDK; flags; | Status return. Plaintext or ciphertext data; | Symmetric Key Generatio n Auth Block Cipher UnAuth Block Cipher | CO - SC_EDK: E,W - AES GCM IV: W,E |
| Zeroise | FreeRng_ fips destroys RNG CSPs. All functions zeroise CSPs using function ForceZer o (overwriti ng with zeros) within the function scope after use. Caller stack cleanup is the duty of the applicatio n. Restarting the general- purpose computer clears all CSPs in RAM. | Successful completion of the service (status code >= 0) | DRBG struct (RBG State) or other structures containing SSPs | Status return | None | CO - DS_SGK: Z - GKP_Priv ate: Z - KAS_Priv ate: Z - KAS_SS C: Z - KD_DKM: Z - KH_Key: Z - Seed: Z - Internal State: Z - Secret C: Z - Secret V: Z - SC_EDK: Z - Entropy Input String: Z - AES GCM IV: Z |
n. wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Descripti on | Indicator | Inputs | Outputs | Security Functions | SSP Access |
|---|---|---|---|---|---|---|
| Show Version | Provide Module Version | Successful completion of the service (status code >= 0) | None | Plaintext containing the module version | None | CO |
| RSA Primitiv e Service | Perform RSA Decryptio n Primitive | Successful completion of the service (status code >= 0) | Key, DRBG, buffers with data and sizes | buffers with data and size | RSA Primitive | CO - DS_SGK: W,E,Z |
| Name | Description | Algorithms | Role |
|---|---|---|---|
| Digital Signature | For ECDSA, Non-approved and not-allowed when the hashlen (Verify) and inlen (Sign) are less than WC_MIN_DIGEST_SIZE or the ECC public key imported to the module exceeds P-521. | ECDSA | CO |
| Generate Key Pair | For DH, Non-approved and not-allowed when the private key length is less than 2048-bits or if it exceeds 8192- bits. For RSA, Non-approved and not-allowed when the public exponent "e" is less than 65537. | DH RSA | CO |
| Key Agreement | For ECDH, Non-approved and not-allowed when the ECC public key imported to the module exceeds P-521. | ECDH | CO |
| Keyed Hash | For AES-CMAC, Non-approved and not-allowed when the cumulative input size exceeds 2^(32) -1, the CMAC tag length is less than 64-bits, or the CMAC tag length is greater than 128-bits. | AES-CMAC | CO |
Table 13: Approved Services All services implemented by the Module are listed in Table 13. The calling application may use the Show status service (wolfCrypt_GetStatus_fips call) to determine the status of the Module. A return code of FIPS_MODE_NORMAL means the Module is in a state without errors; Please see Section 2.4 for more information. In addition, as per [140-3 IG] 2.4.C the module supports See the wolfCrypt FIPS 140-3 User Guide [UG] for additional information on the cryptographic services listed in this section. Note that the caller provides the KAS_Private and KAS_Public keys for shared secret computation; the caller’s exchange and assurance of PSPs with the remote participant is For services Generate Key Pair, Key Agreement and Key Derivation consistent with [140-3 IG] 9.5.A, available only if the private_key_read_enable property is set to TRUE wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Description | Algorithms | Role | ||||
|---|---|---|---|---|---|---|---|
| Symmetric cipher | For AES-GCM, Non-approved and not-allowed when the IV length is less than 96 bits. For AES-CCM, Non- approved and not-allowed when the payload meets or exceeds 2^(8q) bytes. | AES-GCM AES-CCM | CO |
Table 14: Non-Approved Services The module operates in the non-Approved mode when the services in Table 14 are invoked and the conditions specified in Section 2.7 of the Security Policy are not adhered to by the Users of the module.
The Module uses HMAC-SHA2-256 with a 256-bit key (HMAC Cert. #A4308) as the approved integrity technique. Before the integrity technique is executed the module performs an HMACSHA2-256 KAT.
The operator can initiate the integrity test on demand by reloading the Module or by calling the API wolfCrypt_IntegrityTest_fips() at any time after power on. (See Section 10.5 “Operator Initiation of Self-Tests” later in this document for details of proper use of this API in an application).
While the module is not “open source” since it is only shipped under a commercial license, open source practice of source code delivery with a commercial license is standard for the module. As such the module (while not required to do so) will abide by ISO/IEC 19790:2012 B.2.5. Please see details in the wolfCrypt FIPS 140-3 User Guide [UG] for the [OE] listed on the FIPS certificate. Details will include information about compiler, compiler configuration settings and methods to compile the source code into an executable form in a FIPS validated manner. See also section 11.1 Installation, Initialization, and Startup Procedures later in this document.
Type of Operational Environment: Modifiable
Any setting that affects the module directly while compiling the executable binary shall not be used. If unsure contact wolfSSL Inc. by sending email to “support at wolfssl dot com”. A wolfSSL engineer will review the setting for impact on the FIPS validated sources and determine if the wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Storage Area Name | Description | Persistence Type | |||
|---|---|---|---|---|---|
| S1 | RAM (Memory) | Dynamic |
setting is allowed or disallowed for an approved mode of operation. NOTE: The User Guide [UG] will contain an exact list of allowed settings. CO should refer to the [UG] first before contacting wolfSSL support.
The operational environment for the Module is modifiable. Table 6 lists the operational environments on which the Module was tested. Specification of the security rules, settings or restrictions to the configuration of the operational environment are covered in the [UG]. The configure script provided with the package detects the environment and sets the required flags. There are no specific restrictions to the configuration of the operational environment unless stated in the [UG].
The Module does not implement non-invasive security mechanisms.
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | From | To | Format Type | Distribution Type | Entry Type | SFI or Algorithm |
|---|---|---|---|---|---|---|
| IE1 | EXT: Call stack (API) input parameters | INT | Plaintext | Automated | Electronic | |
| IE2 | INT: Call stack (API) output parameters | EXT | Plaintext | Automated | Electronic | |
| IE3 | EXT: Loaded from external entropy source | INT | Plaintext | Automated | Electronic |
| Zeroization Method | Description | Rationale | Operator Initiation | |
|---|---|---|---|---|
| Z1 | cleared immediately after use | Module does not store SSPs persistently | Zeroise | |
| Z2 | Per ISO/IEC 19790:2012 section 7.9.7, parameters used solely for self-test purposes in 7.10 need not meet zeroisation requirements | FIPS 140-3 IG 9.7.B |
| Name | Description | Size - Strengt h | Type - Category | Generated By | Establishe d By | Used By | |
|---|---|---|---|---|---|---|---|
| DS_SGK | Digital Signature: Signature Generation using Private Key | RSA: 2048, 3072, 4096; ECDSA: 224, 256, 384, 521; - RSA: 112, 128; ECDSA: 112, 128, | Private - CSP | ECDSA SigGen (FIPS18 6-5) (A7470) RSA SigGen (FIPS18 6-5) (A7470) |
Table 16: SSP Input-Output Methods
Table 17: SSP Zeroization Methods The module supports an implicit Zeroisation indicator. The implicit indicator is a successful completion of the service call. h wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Description | Size - Strengt h | Type - Category | Generated By | Establishe d By | Used By |
|---|---|---|---|---|---|---|
| 192, 256; | ||||||
| DS_SVK | Digital Signature Verification using Public Key | RSA: 1024*, 2048, 3072, 4096; ECDSA: 192*, 224, 256, 384, 521; - RSA: 80*, 112, 128; ECDSA: 80*, 112, 128, 192, 256; | Public - PSP | ECDSA SigGen (FIPS18 6-5) (A7470) RSA SigGen (FIPS18 6-5) (A7470) | ||
| GKP_Privat e | Generated Key Pair (Private) | RSA: 2048, 3072, 4096; ECDSA: 224, 256, 384, 521; - RSA: 112, 128; ECDSA: 112, 128, 192, 256; | Private - CSP | RSA Asymmetric Key-Pair Generation ECDSA Key-Pair Generation CKG-1 | ECDSA KeyGen (FIPS18 6-5) (A7470) RSA KeyGen (FIPS18 6-5) (A7470) | |
| GKP_Publi c | Generated Key Pair (Public) | RSA: 2048, 3072, 4096; ECDSA: 224, 256, | Public - PSP | RSA Asymmetric Key-Pair Generation ECDSA Key-Pair | ECDSA KeyGen (FIPS18 6-5) (A7470) RSA KeyGen |
h wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Description | Size - Strengt h | Type - Category | Generated By | Establishe d By | Used By |
|---|---|---|---|---|---|---|
| 384, 521; - RSA: 112, 128; ECDSA: 112, 128, 192, 256; | Generation CKG-1 | (FIPS18 6-5) (A7470) | ||||
| KAS_Privat e | Key pair component provided by the local participant, used for Diffie- Hellman shared secret generation. | FFC: 2048; ECC: 224, 256, 384, 521; - FFC: 112; ECC: 112, 128, 192, 256; | Private - CSP | KAS-SSC with KDF | KAS- ECC- SSC Sp800- 56Ar3 (A7470) KAS- FFC- SSC Sp800- 56Ar3 (A7470) | |
| KAS_Publi c | Key pair component provided by the local participant, used for Diffie- Hellman shared secret generation. | FFC: 2048; ECC: 224, 256, 384, 521; - FFC: 112; ECC: 112, 128, 192, 256; | Public - PSP | KAS-SSC with KDF | KAS- ECC- SSC Sp800- 56Ar3 (A7470) KAS- FFC- SSC Sp800- 56Ar3 (A7470) | |
| KAS_SSC | Shared secret calculation; z output value is expected to be used by a KDF | FFC: 2048; ECC: 224, 256, 384, 521; - FFC: 112; | Shared Secret - CSP | KAS-SSC with KDF | KAS- ECC- SSC Sp800- 56Ar3 (A7470) KAS- FFC- SSC |
h wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Description | Size - Strengt h | Type - Category | Generated By | Establishe d By | Used By |
|---|---|---|---|---|---|---|
| ECC: 112, 128, 192, 256; | Sp800- 56Ar3 (A7470) KDF SSH (A7470) KDF TLS (A7470) | |||||
| KD_DKM | Key Derivation derived keying material | TLS KDF v1.2 RFC 7627: 1024; TLS KDF v1.3: 256, 384; KDF SSH: 256, 384, 512 - 256-bit | Derived Key Material - CSP | Key-based Derivation Functions | KDF SSH (A7470) TLS v1.2 KDF RFC762 7 (A7470) TLS v1.3 KDF (A7470) | |
| KH_Key | Keyed Hash key | CMAC: 128, 192, 256; GMAC: 128, 192, 256; HMAC: 160, 256, 512; - CMAC: 128, 192, 256; GMAC: 128, 192, 256; HMAC: 128, 256; | Symmetric Key - CSP | AES- CMAC (A7470) AES- GMAC (A7470) HMAC- SHA-1 (A7470) HMAC- SHA2- 224 (A7470) HMAC- SHA2- 256 (A7470) HMAC- SHA2- 384 (A7470) HMAC- SHA2- |
h wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Description | Size - Strengt h | Type - Category | Generated By | Establishe d By | Used By 512 (A7470) HMAC- SHA3- 224 (A7470) HMAC- SHA3- 256 (A7470) HMAC- SHA3- 384 (A7470) HMAC- SHA3- 512 (A7470) |
|---|---|---|---|---|---|---|
| Entropy Input String | Entropy input bit string loaded from the external entropy source | 256-bit - 256-bit | Entropy - CSP | Hash DRBG (A7470) | ||
| Seed | DRBG Seed_materi al consisting of entropy input string (256-bit) concatenate d with the nonce (128- bit) | 384-bit - 256-bit | Entropy - CSP | DRBG | Hash DRBG (A7470) | |
| Secret C | Hash DRBG Internal State Secret C | 440-bits - 256-bit | Entropy - CSP | DRBG | Hash DRBG (A7470) | |
| Secret V | Hash DRBG Internal State Secret V | 440-bits - 256-bit | Entropy - CSP | DRBG | Hash DRBG (A7470) | |
| Internal State | Hash DRBG Internal State (SHA- 256) with | 880-bit - 256-bit | Entropy - CSP | DRBG | Hash DRBG (A7470) |
h C V wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Description secret values V and C. V is 440- bits, C is 440-bits. | Size - Strengt h | Type - Category | Generated By | Establishe d By | Used By |
|---|---|---|---|---|---|---|
| SC_EDK | AES key used for symmetric encryption (including AES authenticate d encryption). Modes: CBC, CCM, CTR, ECB, GCM, OFB | 128, 192 or 256 bits - 128, 192 or 256 bits | Symmetric Key - CSP | AES- CBC (A7470) AES- CCM (A7470) AES- CTR (A7470) AES- ECB (A7470) AES- GCM (A7470) AES- OFB (A7470) | ||
| MOD_INT | Module Integrity Value Computed at Run Time | 32- bytes - 256-bit | Message Authenticati on - CSP | Message Authenticati on | HMAC- SHA2- 256 (A7470) | |
| coreKey | HMAC key for in-core integrity check self- test | 32- bytes - 256-bit | Message Authenticati on - CSP | HMAC- SHA2- 256 (A7470) | ||
| AES GCM IV | AES GCM IV | 96-128 - 128, 192 or 256 bits | AES GCM IV - PSP | DRBG Symmetric Key Generation | AES- GCM (A7470) |
| Name | Input - Output | Storage | Storage Duration | Zeroization | Related SSPs |
|---|---|---|---|---|---|
| DS_SGK | IE1 | S1:Plaintext | While in use | Z1 | |
| DS_SVK | IE1 | S1:Plaintext | While in use | Z1 | |
| GKP_Private | IE2 | S1:Plaintext | While in use | Z1 | GKP_Public:Paired With |
h Table 18: SSP Table 1 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Input - Output | Storage | Storage Duration | Zeroization | Related SSPs | |
|---|---|---|---|---|---|---|
| GKP_Public | IE2 | S1:Plaintext | While in use | Z1 | GKP_Private:Paired With | |
| KAS_Private | IE1 | S1:Plaintext | While in use | Z1 | ||
| KAS_Public | IE2 | S1:Plaintext | While in use | Z1 | ||
| KAS_SSC | S1:Plaintext | While in use | Z1 | KAS_Public:Derived From KAS_Private:Derived From | ||
| KD_DKM | S1:Plaintext | While in use | Z1 | |||
| KH_Key | IE1 | S1:Plaintext | While in use | Z1 | ||
| Entropy Input String | IE3 | S1:Plaintext | While in use | Z1 | ||
| Seed | S1:Plaintext | While in use | Z1 | |||
| Secret C | S1:Plaintext | While in use | Z1 | Seed:Derived From | ||
| Secret V | S1:Plaintext | While in use | Z1 | Seed:Derived From | ||
| Internal State | S1:Plaintext | While in use | Z1 | |||
| SC_EDK | IE1 | S1:Plaintext | While in use | Z1 | ||
| MOD_INT | S1:Plaintext | While in use | Z1 | |||
| coreKey | S1:Plaintext | While in use | Z2 | |||
| AES GCM IV | While in use | Z1 |
| Algorithm or Test | Test Properties | Test Method | Test Type | Indicator | Details | |||
|---|---|---|---|---|---|---|---|---|
| HMAC- SHA2-256 | hash type: SHA256, key length: 32-bytes. | KAT | SW/FW Integrity | FIPS_MODE_NORMAL or FIPS_MODE_FAILED | MAC |
Table 19: SSP Table 2 * Per SP800-131Ar2 Section 3, Table 2, key sizes (1024-bit for RSA and 192-bit for ECC) are available for legacy use verification requirements when inter-oping with legacy systems. These key sizes shall not be used for signing operations.
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
Algorithm or Test
Test Properties Please note this is the module integrity test
Test Method
Test Type
Indicator
Details
| Algorit hm or Test | Test Properties | Test Meth od | Test Typ e | Indicator | Details | Conditio ns |
|---|---|---|---|---|---|---|
| AES- CBC Encrypt (A7470) | key length: 32-bytes | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Encrypt | Before first use of algorithm( s) AES- ECB, AES- CBC, AES- CTR, AES- OFB, AES- GCM, AES- GMAC, AES- CCM or AES- CMAC |
| AES- CBC Decrypt (A7470) | key length: 32-bytes | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Decrypt | Before first use of algorithm( s) AES- ECB, |
Table 20: Pre-Operational Self-Tests Each time the Module is powered on or loaded (equivalent to a power on) the integrity of the module is tested per ISO/IEC 19790:2012 Section 7.10.2.2. The very first step of the preoperational self-test (POST) is to force every Conditional Algorithm Self-Test to be in the FIPS_CAST_STATE_INIT mode meaning the CAST for a given algorithm has not run since power on and the CAST must run and pass prior to operational use of the algorithm. The integrity test uses HMAC-SHA2-256 to ensure the modules integrity therefore per AS 10.20 HMAC CAST is triggered prior to the integrity check. The HMAC CAST uses a known answer test per ISO/IEC 19790-2012 Section 7.10.3.2. The POST executes outside user control as the module is powering on or being loaded.
wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Algorit hm or Test | Test Properties | Test Meth od | Test Typ e | Indicator | Details | Conditio ns AES- CBC, AES- CTR, AES- OFB, AES- GCM, AES- GMAC, AES- CCM or AES- CMAC |
|---|---|---|---|---|---|---|
| AES- GCM Encrypt (A7470) | key length: 32-bytes | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Encrypt | Before first use of algorithm( s) AES- GCM or AES- GMAC |
| AES- GCM Decrypt (A7470) | key length: 32-bytes | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Decrypt | Before first use of algorithm( s) AES- GCM or AES- GMAC |
| HMAC- SHA-1 (A7470) | hash type: SHA1; key length: 20- bytes | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | MAC | Before first use of algorithm( s) SHA1 or HMAC- SHA1 |
| HMAC- SHA2- 256 (A7470) | hash type: SHA256; key length: 20-bytes | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | MAC | Before first use of algorithm( s) SHA224, SHA256, HMAC- SHA224 |
s) wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Algorit hm or Test | Test Properties | Test Meth od | Test Typ e | Indicator | Details | Conditio ns or HMAC- SHA256 |
|---|---|---|---|---|---|---|
| HMAC- SHA2- 512 (A7470) | hash type: SHA2-512, key length: 20-bytes | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | MAC | Before first use of algorithm( s) SHA384, SHA512, HMAC- SHA384 or HMAC- SHA512 |
| HMAC- SHA3- 256 (A7470) | hash type: SHA3-256, key length: 64-bytes | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | MAC | Before first use of algorithm( s) SHA3- 224, SHA3- 256, SHA3- 384 or SHA3- 512, HMAC- SHA3- 224, HMAC- SHA3- 256, HMAC- SHA3- 384 or HMAC- SHA3- 512 |
| RSA SigGen (FIPS18 6-5) (A7470) | RSA- PKCSv1.5, hash type: SHA256; key length: 2048-bits | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Sign | Before first use of algorithm( s) RSA (PKCSv1. 5) or RSA (PSS) |
| RSA SigVer | RSA- PKCSv1.5, | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or | Verify | Before first use |
s) wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Algorit hm or Test | Test Properties | Test Meth od | Test Typ e | Indicator | Details | Conditio ns |
|---|---|---|---|---|---|---|
| (FIPS18 6-5) (A7470) | hash type: SHA256, key length: 2048-bits | FIPS_CAST_STATE_FAI LURE | of algorithm( s) RSA (PKCSv1. 5) or RSA (PSS) | |||
| KAS- ECC- SSC Sp800- 56Ar3 (A7470) | hashType: SHA2-256; curve: P-256 | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Computatio n Shared Secret Z | Before first use of algorithm( s) ECC for shared secret generatio n |
| KAS- FFC- SSC Sp800- 56Ar3 (A7470) | hashType: SHA2-256; keySize: 2048-bit; | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Computatio n Shared Secret Z | Before first use of algorithm( s) FFC for shared secret generatio n |
| ECDSA SigGen (FIPS18 6-5) (A7470) | curve: P256; hashType: SHA2-256 | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Sign | Before first use of algorithm( s) ECDSA |
| ECDSA SigVer (FIPS18 6-5) (A7470) | curve: P256; hashType: SHA2-256 | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Verify | Before first use of algorithm( s) ECDSA |
| TLS v1.2 KDF RFC76 27 (A7470) | HMAC- SHA2-256 | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Derive Keying Material | Before first use of TLSv1.2 KDF |
| TLS v1.3 KDF (A7470) | HMAC- SHA2-256 | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Derive Keying Material | Before first use of TLSv1.3 KDF |
n n wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Algorit hm or Test | Test Properties | Test Meth od | Test Typ e | Indicator | Details | Conditio ns |
|---|---|---|---|---|---|---|
| KDF SSH (A7470) | hashType: SHA2-256 | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Derive Keying Material | Before first use of KDF SSH |
| RSA PCT | key size: 2048,3072,4 096 | PCT | PCT | Service is successful or an error code RSA_KEY_PAIR_E | Sign/Verify | Invoked automatic ally during generate key pair service |
| ECC- PCT | curve size: 224, 256, 384, 521 | PCT | PCT | Service is successful or an error code ECC_PCT_E | Sign/Verify | Invoked automatic ally during generate key pair service |
| DH- PCT | key size: 2048, 3072, 4096 | PCT | PCT | Service is successful or an error code MP_CMP_E | Modulus Exponentia tion | Invoked automatic ally during generate key pair service |
| Hash DRBG (A7470) | DRBG mode: SHA2-256 | KAT | CAS T | FIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURE | Health-Test with sub- elements: Instantiate, Generate, Reseed | Before first use of algorithm( s) DBRG or Immediat ely upon registerin g an external entropy source with the module |
Table 21: Conditional Self-Tests Once the module is powered on and has passed the POST, calls to any cryptographic algorithm will trigger the CAST on first operational use of the algorithm. The POST and CASTS are available on demand after power on and can be executed by the cryptographic officer (CO) at any time. The CO may optionally invoke any CAST ahead of algorithm use at a more convenient time rather than letting it run automatically on first use. Regardless of the CAST running manually or automatically, once it has passed the CO may manually re-run any CAST at any time in a periodic fashion, a CAST will no longer run automatically after it has passed the first time. wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Algorithm or Test | Test Method | Test Type | Period | Periodic Method | |||||
|---|---|---|---|---|---|---|---|---|---|
| HMAC-SHA2-256 | KAT | SW/FW Integrity | P2 | Automatic or Manually |
| Algorithm or Test | Test Method | Test Type | Period | Periodic Method |
|---|---|---|---|---|
| AES-CBC Encrypt (A7470) | KAT | CAST | P1 | Manually |
| AES-CBC Decrypt (A7470) | KAT | CAST | P1 | Manually |
| AES-GCM Encrypt (A7470) | KAT | CAST | P1 | Manually |
| AES-GCM Decrypt (A7470) | KAT | CAST | P1 | Manually |
| HMAC-SHA-1 (A7470) | KAT | CAST | P1 | Manually |
| HMAC-SHA2-256 (A7470) | KAT | CAST | P2 | Automatic or Manually |
| HMAC-SHA2-512 (A7470) | KAT | CAST | P1 | Manually |
| HMAC-SHA3-256 (A7470) | KAT | CAST | P1 | Manually |
| RSA SigGen (FIPS186-5) (A7470) | KAT | CAST | P1 | Manually |
| RSA SigVer (FIPS186-5) (A7470) | KAT | CAST | P1 | Manually |
| KAS-ECC-SSC Sp800-56Ar3 (A7470) | KAT | CAST | P1 | Manually |
| KAS-FFC-SSC Sp800-56Ar3 (A7470) | KAT | CAST | P1 | Manually |
| ECDSA SigGen (FIPS186-5) (A7470) | KAT | CAST | P1 | Manually |
| ECDSA SigVer (FIPS186-5) (A7470) | KAT | CAST | P1 | Manually |
| TLS v1.2 KDF RFC7627 (A7470) | KAT | CAST | P1 | Manually |
| TLS v1.3 KDF (A7470) | KAT | CAST | P1 | Manually |
| KDF SSH (A7470) | KAT | CAST | P1 | Manually |
| RSA PCT | PCT | PCT | P3 | Automatic |
| ECC-PCT | PCT | PCT | P3 | Automatic |
| DH-PCT | PCT | PCT | P3 | Automatic |
| Hash DRBG (A7470) | KAT | CAST | P4 | Automatic or Manually |
| Name | Description |
|---|---|
| P1 | Periodic method 1: Automatically by the module when algorithm is first invoked. CO may opt to invoke prior to first algorithm use to avoid delay at time of first operational use of an algorithm or at a later time manually. |
| P2 | Periodic method 2: Automatically by the module during power on. CO may opt to invoke manually thereafter. |
| P3 | Periodic method 3: Automatically during key generation service |
Table 22: Pre-Operational Periodic Information Table 23: Conditional Periodic Information wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Description | ||
|---|---|---|---|
| P4 | Automatically by the module upon first operational use of the DRBG algorithm. When an external entropy source is registered with the module by application level entropy callback function it is considered the first operational use of the DRBG. Does a periodic reseed every 1 million invocations, during the reseed the DRBG health test will be automatically executed. |
| Name | Description | Conditi ons | Recov ery Metho d | Indicator |
|---|---|---|---|---|
| FIPS_MODE_FAILED | Module has failed its software integrity check | HMAC- SHA2- 256 CAST Failure Module Integrity Check Failure | Power Cycle | fipsModeId set to FIPS_MODE_FAILED (3) |
| FIPS_CAST_STATE_F AILURE | One or more algorithm(s) are no longer usable and the module mode is set to FIPS_MODE_DEG RADED (2) | AES- CBC AES- GCM HMAC- SHA1 HMAC- SHA2- 256 HMAC- SHA2- 512 HMAC- SHA3- 256 RSA- PKCSv1 .5 DRBG ECC Diffie- Hellman FFC Diffie- | Power Cycle | One or more algorithms CAST status values set to FIPS_CAST_STATE_F AILURE (3) |
Table 24: Periodic Method Descriptions
d .5 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
| Name | Description | Conditi ons Hellman ECDSA TLSv1.2 KDF TLSv1.3 KDF KDF SSH | Recov ery Metho d | Indicator |
|---|---|---|---|---|
| FIPS_MODE_DEGRA DED | One or more of the CASTS have failed anytime following a successful power on and integrity check. Upon entering this mode the module will automatically run all CASTS prior to the operational use of any cryptographic algorithm. | Any CAST Failure | Power Cycle | fipsModeId set to FIPS_MODE_DEGRA DED (2) |
| RSA_KEY_PAIR_E | RSA Pairwise Consistency Test Failure | RSA- PCT | Manual self- test service call or power cycle | RSA_KEY_PAIR_E (- 262) |
| ECC_PCT_E | ECC Pairwise Consistency Test Failure | ECC- PCT | Manual self- test service call or power cycle | ECC_PCT_E (-286) |
| MP_CMP_E | DH Pairwise Consistency Test Failure | DH-PCT | Manual self- test service call or power cycle | MP_CMP_E (-120) |
d Table 25: Error States wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
For calling applications the following is required:
The CO shall use the provided wolfCrypt FIPS 140-3 User Guide hereafter referred to as [UG]. A common name for this document is also the Cryptographic Officer Guidance Manual [COGM]. [UG] and [COGM] are one and the same for this module and include all administrative guidance. The [UG] will have a section specific to each Operational Environment [OE] that appears on the modules FIPS certificate and/or in Table 5: Tested Operational Environments - Software, Firmware, Hybrid. The instructions provided in the [UG] shall be followed or the module will never have been properly initialized and built and therefore non-compliant. To create the compliant module, as per this Security Policy, the configuration steps shall be followed.
static void myFipsCb(int ok, int err, const char* hash)
printf("in my Fips callback, ok = %d, err = %d\n", ok, err);
printf("message = %s\n", wc_GetErrorString(err));
printf("hash = %s\n", hash);
if (err == IN_CORE_FIPS_E) {
printf("In core integrity hash check failure,"
"copy above hash\n");
printf("into verifyCore[] in fips_test.c and rebuild\n");
The CO shall use the provided wolfCrypt FIPS 140-3 User Guide [UG].
The Module supports the Cryptographic Officer (CO) operator role and does not support nonadministrators or non-administrative roles. wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
Please defer to wolfCrypt FIPS 140-3 User Guide [UG].
The module does not claim mitigation of other attacks. wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).