← All modules
CMVP Validated Module · FIPS 140-3 Security Policy

wolfCrypt

Certificate#5548StandardFIPS 140-3Level1TypeSoftwareEmbodimentMultiChipStandStatusActiveVendorwolfSSL Inc.
Low review priority  ·  no TCB surface named  ·  wolfSSL upstream has published 0 CVEs since this module's initial validation  ·  last validated 2 months ago. How this is derived →

Certificate

StandardFIPS 140-3
Overall level1
Module typeSoftware
EmbodimentMultiChipStand
StatusActive
Sunset date10/8/2031
CaveatWhen 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
VendorwolfSSL Inc.

Approved Algorithms (42)

AlgorithmACVP Cert
AES-CBCA7470
AES-CCMA7470
AES-CMACA7470
AES-CTRA7470
AES-ECBA7470
AES-GCMA7470
AES-GMACA7470
AES-OFBA7470
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 DRBGA7470
HMAC-SHA-1A7470
HMAC-SHA2-224A7470
HMAC-SHA2-256A7470
HMAC-SHA2-384A7470
HMAC-SHA2-512A7470
HMAC-SHA3-224A7470
HMAC-SHA3-256A7470
HMAC-SHA3-384A7470
HMAC-SHA3-512A7470
KAS-ECC-SSC Sp800-56Ar3A7470
KAS-FFC-SSC Sp800-56Ar3A7470
KDF SSHA7470
KDF TLSA7470
RSA Decryption Primitive Sp800-56Br2A7470
RSA KeyGen (FIPS186-5)A7470
RSA SigGen (FIPS186-5)A7470
RSA SigVer (FIPS186-5)A7470
SHA-1A7470
SHA2-224A7470
SHA2-256A7470
SHA2-384A7470
SHA2-512A7470
SHA3-224A7470
SHA3-256A7470
SHA3-384A7470
SHA3-512A7470
TLS v1.2 KDF RFC7627A7470
TLS v1.3 KDFA7470

Compare key sizes and PQC transition dates for your jurisdiction and protection horizon.

Derived Review-Risk Graph (review prompts, not findings)

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;
Underlying clues
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;

Security Policy, page by page

Page 1 ↑

wolfSSL Inc. wolfCrypt Document Version 1.5

9 September 2026
10016 Edmonds Way, Suite C-300

Edmonds, WA 98020 wolfSSL.com +1 425.245.8247 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 2 ↑
Table of Contents
#SectionPage
Page 3 ↑

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 4 ↑
List of Tables
ItemPage
Table 1: Security Levels5
Table 2: Legend of Terms and references that appear in this document6
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, Hybrid13
Table 6: Modes List and Description14
Table 7: Approved Algorithms18
Table 8: Vendor-Affirmed Algorithms19
Table 9: Non-Approved, Not Allowed Algorithms19
Table 10: Security Function Implementations23
Table 11: Ports and Interfaces26
Table 12: Roles26
Table 13: Approved Services30
Table 14: Non-Approved Services31
Table 15: Storage Areas32
Table 16: SSP Input-Output Methods33
Table 17: SSP Zeroization Methods33
Table 18: SSP Table 138
Table 19: SSP Table 239
Table 20: Pre-Operational Self-Tests40
Table 21: Conditional Self-Tests44
Table 22: Pre-Operational Periodic Information45
Table 23: Conditional Periodic Information45
Table 24: Periodic Method Descriptions46
Table 25: Error States47
Figure 1 - Module Block Diagram7
Figure 2: Code Sample A50
Page 5 ↑
SectionTitleSecurity Level
1General1
2Cryptographic module specification1
3Cryptographic module interfaces1
4Roles, services, and authentication1
5Software/Firmware security1
6Operational environment1
7Physical securityN/A
8Non-invasive securityN/A
9Sensitive security parameter management1
10Self-tests1
11Life-cycle assurance1
12Mitigation of other attacksN/A
Overall Level1
Term/RefDescription
[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
1.1 Overview

This document defines the Security Policy for wolfSSL Inc. wolfCrypt cryptographic module, security levels as described in section 1.2 below.

1.2 Security Levels
1.3 Additional Information

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).

Page 6 ↑
Term/RefDescription
[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).

Page 7 ↑
Source File NameDescription
wolfcrypt_first.cFirst function and Read Only address marking start of cryptographic boundary
aes_asm.asmaes.c assembler optimizations (Windows 10)
aes_asm.saes.c assembler optimizations (Linux)
aes_gcm_asm.saes.c assembler optimizations (Portable)
aes_gcm_x86_asm.saes.c assembler optimizations (Portable)
aes.cAES algorithm (software)
armv8-32-aes-asm_c.caes.c assembler optimizations (ARM 32-bit)
armv8-32-aes-asm.saes.c assembler optimizations (ARM 32-bit)
armv8-32-sha256-asm_c.csha256.c assembler optimizations (ARM 32-bit)
armv8-32-sha256-asm.ssha256.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

Page 8 ↑
armv8-32-sha3-asm_c.csha3.c assembler optimizations (ARM 32-bit)
armv8-32-sha3-asm.ssha3.c assembler optimizations (ARM 32-bit)
armv8-32-sha512-asm_c.csha512.c assembler optimizations (ARM 32-bit)
armv8-32-sha512-asm.ssha512.c assembler optimizations (ARM 32-bit)
armv8-aes.caes.c assembler optimizations (__aarch64__)
armv8-sha256.csha256.c assembler optimizations (__aarch64__)
armv8-sha3-asm_c.csha3.c assembler optimizations (__aarch64__)
armv8-sha3-asm.ssha3.c assembler optimizations (__aarch64__)
armv8-sha512-asm_c.csha512.c assembler optimizations (__aarch64__)
armv8-sha512-asm.ssha512.c assembler optimizations (__aarch64__)
armv8-sha512.csha512.c assembler optimizations (__aarch64__)
cmac.cCMAC algorithm (software)
dh.cDiffie-Hellman (software)
ecc.cElliptic curve cryptography (software)
hmac.cHMAC algorithm (software)
kdf.cKDFs (software) (TLSv1.2, 1.3, SSH, SRTP)
random.cDRBG (software)
rsa.cRSA (software)
sha.cSHA (software)
sha256_asm.ssha256.c assembler optimizations (Portable)
sha256.cSHA2-256/SHA2-224 algorithm(s) (software)
sha3.cSHA3 algorithms(s) (software)
sha3_asm.ssha3.c assembler optimizations (Portable)
sha512_asm.ssha512.c assembler optimizations (Portable)
sha512.cSHA2-512/SHA2-384 algorithm(s) (software)
sp_arm32.cPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (32-bit ARM)
sp_arm64.cPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (__aarch64__)
sp_armthumb.cPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (ARM THUMB)
sp_c32.cPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (Portable 32-bit)
sp_c64.cPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (Portable 64-bit)
sp_cortexm.cPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (Cortex-M)
sp_x86_64_asm.asmPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (x86_64 windows)
sp_x86_64_asm.sPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (x86_64 Linux)
sp_x86_64.cPublic Key (ecc.c, rsa.c, dh.c) assembler optimizations (x86_64 Portable)
thumb2-aes-asm_c.caes.c assembler optimizations (ARM THUMB)
thumb2-aes-asm.saes.c assembler optimizations (ARM THUMB)
thumb2-sha256-asm_c.csha256.c assembler optimizations (ARM THUMB)

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 9 ↑
thumb2-sha256-asm.ssha256.c assembler optimizations (ARM THUMB)
thumb2-sha3-asm_c.csha3.c assembler optimizations (ARM THUMB)
thumb2-sha3-asm.ssha3.c assembler optimizations (ARM THUMB)
thumb2-sha512-asm_c.csha512.c assembler optimizations (ARM THUMB)
thumb2-sha512-asm.ssha512.c assembler optimizations (ARM THUMB)
riscv-64-sha256.csha256.c assembler optimizations (RISC-V)
riscv-64-sha3.csha3.c assembler optimizations (RISC-V)
riscv-64-sha512.csha512.c assembler optimizations (RISC-V)
stm32.cstm32 assembler optimizations (STM32)
fips_test.cPre-operational self-tests and CAST implementations
fips.cPre-operational entry point and Approved Services API wrappers
wolfcrypt_last.cLast function and Read Only address marking end of cryptographic boundary
Package or File NameSoftware/ Firmware VersionFeaturesIntegrity Test
wolfssl-x.x.x-commercial- fipsv5.2.3.7zv5.2.3FIPS 140-3 module and SSL/TLS libraryHMAC- 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.

2.2 Tested and Vendor Affirmed Module Version and Identification

Tested Module Identification

Page 10 ↑
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.5Hardware 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 ManagerProcessors 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.80GHzPAA/PA I Yes No Yes No Yes No Yes No No No Yes No No No NoHyperviso r or Host OSVersion(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.04secureWISE Cloud ChassisIntel Xeon E5-2697 v3NoVMWare ESXi 7.0.3v5.2.3
Nucleus 3.0 version 2013.08.1XL200P RadioFreescale Vybrid VF500Nov5.2.3
Yocto 4.0-r7 (kirkstone)Claria PlusSTM32MP15 7Nov5.2.3

5.4 5.4 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 11 ↑
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.0Hardware 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 M553Processors 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- A8PAA/PA I No Yes No Yes No Yes NoHyperviso r or Host OSVersion(s ) v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3 v5.2.3
RHEL 8.10Dell R660Intel Xeon Gold 6526Y @ 2.80GHzNoqemu-kvm 6.2 on RHEL 8.10v5.2.3
RHEL 8.10Dell R660Intel Xeon Gold 6526Y @ 2.80GHzYesqemu-kvm 6.2 on RHEL 8.10v5.2.3
Windows 11 ProDell Precision 3570Intel Core i7- 1255U @ 1.70GhzNov5.2.3
Windows 11 ProDell Precision 3570Intel Core i7- 1255U @ 1.70GhzYesv5.2.3
Android 13Samsung Galaxy S23Qualcomm Snapdragon 8 Gen 2 (SoC)Nov5.2.3
Android 13Samsung Galaxy S23Qualcomm Snapdragon 8 Gen 2 (SoC)Yesv5.2.3
iOS 17.3iPhone 14Apple A15 BionicNov5.2.3
iOS 17.3iPhone 14Apple A15 BionicYesv5.2.3
Linux 5.4Lenovo XClarity ControllerDual ARM Cortex A7Nov5.2.3

6.0 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 12 ↑

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).

Page 13 ↑

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 NameDescriptionTypes of ServicesStatus Indicator
Approved mode of operationThe Module supports an Approved mode of operation. In this mode all services are available.ApprovedFIPS_MODE_NORMAL (1)
Degraded mode of operationThe Module implements a Degraded Mode of operation: when a CAST fails, that CAST isApprovedFIPS_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.

2.3 Excluded Components

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).

Page 14 ↑
Mode NameDescription marked as failed and the module will inhibit use of algorithms governed by that CASTTypes of ServicesStatus Indicator
Non- Approved mode of operationThe 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- ApprovedImplicit 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:

Page 15 ↑
AlgorithmCAVP CertPropertiesReference
AES-CBC, AES-ECB, AES-OFBA7470Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CCMA7470Key Length - 128, 192, 256 Tag Length - 112, 128, 32, 48, 64, 80, 96SP 800-38C
2.5 Algorithms

Approved Algorithms: wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 16 ↑
AlgorithmCAVP CertProperties 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 8Reference
AES-CMACA7470Direction - Generation, Verification Key Length - 128, 192, 256 MAC Length - MAC Length: 32-128 Increment 32 Message Length - Message Length: 0- 16384 Increment 128SP 800-38B
AES-CTRA7470Direction - 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 - YesSP 800-38A
AES-GCMA7470Direction - 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 128SP 800-38D
AES-GMACA7470Direction - 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 128SP 800-38D
DSA KeyGen (FIPS186-4)A7470L - 2048 N - 256FIPS 186-4
ECDSA KeyGen (FIPS186-5)A7470Curve - P-224, P-256, P-384, P-521 Secret Generation Mode - extra bitsFIPS 186-5
ECDSA KeyVer (FIPS186-5)A7470Curve - P-224, P-256, P-384, P-521FIPS 186-5
ECDSA SigGen (FIPS186-5)A7470Curve - 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).

Page 17 ↑
AlgorithmCAVP CertProperties SHA2-384, SHA2-512, SHA3-224, SHA3- 256, SHA3-384, SHA3-512 Component - NoReference
ECDSA SigVer (FIPS186-5)A7470Component - 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-512FIPS 186-5
Hash DRBGA7470Prediction 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 - 1024SP 800-90A Rev. 1
HMAC-SHA-1A7470MAC - MAC: 160 Key Length - Key Length: 112-1024 Increment 8FIPS 198-1
HMAC-SHA2-224, HMAC-SHA3-224A7470MAC - MAC: 224 Key Length - Key Length: 112-1024 Increment 8FIPS 198-1
HMAC-SHA2-256, HMAC-SHA3-256A7470MAC - MAC: 256 Key Length - Key Length: 112-1024 Increment 8FIPS 198-1
HMAC-SHA2-384, HMAC-SHA3-384A7470MAC - MAC: 384 Key Length - Key Length: 112-1024 Increment 8FIPS 198-1
HMAC-SHA2-512, HMAC-SHA3-512A7470MAC - MAC: 512 Key Length - Key Length: 112-1024 Increment 8FIPS 198-1
KAS-ECC-SSC Sp800-56Ar3A7470Domain Parameter Generation Methods - P-256, P-384, P-521 Hash Function Z - SHA2-512 Scheme - ephemeralUnified - KAS Role - initiator, responderSP 800-56A Rev. 3
KAS-FFC-SSC Sp800-56Ar3A7470Domain Parameter Generation Methods - ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144, ffdhe8192 Hash Function Z - SHA2-512 Scheme - dhEphem - KAS Role - initiator, responderSP 800-56A Rev. 3
KDF SSH (CVL)A7470Cipher - AES-128, AES-192, AES-256 Hash Algorithm - SHA-1, SHA2-256, SHA2-384, SHA2-512SP 800-135 Rev. 1

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 18 ↑
AlgorithmCAVP CertPropertiesReference
KDF TLS (CVL)A7470TLS Version - v1.2 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512 Key Block Length - Key Block Length: 1024SP 800-135 Rev. 1
RSA Decryption Primitive Sp800-56Br2 (CVL)A7470Modulo - 2048, 3072, 4096 Key Format - Standard Public Exponent Mode - randomSP 800-56B Rev. 2
RSA KeyGen (FIPS186-5)A7470Key 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 - randomFIPS 186-5
RSA SigGen (FIPS186-5)A7470Hash Pair - Hash Algorithm - SHA2-224 Modulo - 2048, 3072, 4096 Signature Type - pkcs1v1.5, pss Mask Function - MGF1FIPS 186-5
RSA SigVer (FIPS186-5)A7470Hash Pair - Hash Algorithm - SHA2-224 Modulo - 2048, 3072, 4096 Signature Type - pkcs1v1.5, pss Mask Function - MGF1 Public Exponent Mode - randomFIPS 186-5
SHA-1, SHA2-224, SHA2-256, SHA2- 384, SHA2-512A7470Message Length - Message Length: 0- 65536 Increment 8FIPS 180-4
SHA3-224, SHA3- 256, SHA3-384, SHA3-512A7470Message Length - Message Length: 0- 65536 Increment 8FIPS 202
TLS v1.2 KDF RFC7627 (CVL)A7470Hash Algorithm - SHA2-256, SHA2-384, SHA2-512 Key Block Length - Key Block Length: 1024SP 800-135 Rev. 1
TLS v1.3 KDF (CVL)A7470HMAC Algorithm - SHA2-256, SHA2-384 KDF Running Modes - DHE, PSK, PSK- DHESP 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).

Page 19 ↑
NamePropertiesImplementationReference
CKG- 1Key Type:Symmetric and AsymmetricN/ASP800-133r2 Section 4, example 1
NameUse and Function
AES- GCMNon-approved and not-allowed when the IV length is less than 96 bits.
ECDSANon-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- CMACNon-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- CCMNon-approved and not-allowed when the payload meets or exceeds 2^(8q) bytes.
DHNon-approved and not-allowed when the private key length is less than 2048-bits or if it exceeds 8192-bits.
RSANon-approved and not-allowed when the public exponent "e" is less than 65537.
ECDHNon-approved and not-allowed when the ECC public key imported to the module exceeds P-521.
NameTypeDescriptionPropertiesAlgorithms
DRBGDRBGDeterministic Random Byte GeneratorSHA2-256: (A7470) Hash DRBG: (A7470)
Message AuthenticationMACHash-Based Message AuthenticationHMAC-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.

2.6 Security Function Implementations

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 20 ↑
NameTypeDescriptionPropertiesAlgorithms
Codes, Generation and Verification224: (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 HashSHASecure Hash FunctionSHA-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).

Page 21 ↑
NameTypeDescriptionPropertiesAlgorithms
SHA3-512: (A7470)
KAS-SSC with KDFKAS- SSC/KDFKey Derivation; Key AgreementIG: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 strengthKAS-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 GenerationCKGGenerate Symmetric Keys via the direct output of the DRBG.CKG-1: ()
RSA Asymmetric Key-Pair GenerationAsymKeyPair- KeyGenGenerate an RSA Asymmetric Key PairRSA KeyGen (FIPS186-5): (A7470) HMAC-SHA- 1: (A7470) CKG-1: ()
ECDSA Key- Pair GenerationAsymKeyPair- KeyGen AsymKeyPair- KeyVerGenerate and verify an ECDSA Key-PairECDSA 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).

Page 22 ↑
NameTypeDescriptionPropertiesAlgorithms
(FIPS186-4): (A7470)
RSA Digital Signature GenerationDigSig- SigGenRSA Digital Signature GenerationRSA SigGen (FIPS186-5): (A7470) SHA2-224: (A7470) SHA2-256: (A7470) SHA2-384: (A7470) SHA2-512: (A7470) Hash DRBG: (A7470)
RSA Digital Signature VerificationDigSig-SigVerRSA Digital Signature VerificationRSA SigVer (FIPS186-5): (A7470) SHA-1: (A7470) SHA2-224: (A7470) SHA2-256: (A7470) SHA2-512: (A7470)
Auth Block CipherBC-AuthAuthenticated Block CiphersAES-GCM: (A7470) AES-GMAC: (A7470) AES-CCM: (A7470) AES-CMAC: (A7470)
UnAuth Block CipherBC-UnAuthUnauthenticated Block CiphersAES-CBC: (A7470) AES-ECB: (A7470) AES-CTR: (A7470) AES-OFB: (A7470)
ECDSA Digital SignatureDigSig- SigGen DigSig-SigVerECDSA Signature Generation and Signature VerificationECDSA SigGen (FIPS186-5): (A7470) ECDSA SigVer (FIPS186-5):

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 23 ↑
NameTypeDescriptionPropertiesAlgorithms
(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 PrimitiveKTS-EncapRSA Decryption PrimitiveRSA Decryption Primitive Sp800-56Br2: (A7470)
Key-based Derivation FunctionsKAS-135KDFSP 800-135 KDFsKDF SSH: (A7470) KDF TLS: (A7470) TLS v1.2 KDF RFC7627: (A7470) TLS v1.3 KDF: (A7470)

Table 10: Security Function Implementations

2.7 Algorithm Specific Information

The conditions for using the Module in the Approved mode of operation are:

  1. The Module is a cryptographic library and it is intended to be used with a calling application. The calling application is responsible for the usage of the primitives in the correct sequence including the IVs and sessions.
  2. The keys used by the Module for cryptographic purposes are determined by the calling application. The calling application is required to provide keys in accordance with [140Drev2].
  3. With the Module installed and configured in accordance with [UG] instructions, only the algorithms listed in the table in Section 2.5 are available. The module is in the Approved mode if the following conditions for algorithm use are met. NOTE: All conditions and restrictions below are met when the executable binary is built in accordance with the UG wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
Page 24 ↑

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,

3072 or 4096 bits or greater.

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

Page 25 ↑

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.

  1. Manual key entry is not supported.
  2. Data output is inhibited during self-tests, zeroization, and error states.
  3. RSA Decrypt Primitive (RSADP) with k=2048-bit is the only CAVP testable aspect of [56Brev2]. The module implements the RSA primitive operations only, there are no claims of key transport. The module implements ‘RSA Encrypt Primitive’ (RSAEP) and RSADP. The vendor affirms conformance to [56Brev2] for RSAEP and RSADP with other key sizes since no CAVP test is available for key sizes other than 2048-bit. Caveat: SHA-1 is non-approved for digital signature generation and is deprecated through December 31, 2030, for non-digital signature applications (e.g., use by the [Message Digest] SFI or service) when offered in the Approved mode to the operator.
2.8 RBG and Entropy

N/A for this module. N/A for this module.

2.9 Key Generation
2.10 Key Establishment
2.11 Industry Protocols

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.

2.12 Additional Information

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 26 ↑
Physical PortLogical Interface(s)Data That Passes
N/AControl InputAPI entry point: stack frame including non-sensitive parameters
N/AControl OutputAPI call parameters passed by reference for structures allocated by wolfCrypt
N/AData InputAPI call parameters passed by reference or value for cryptographic service input
N/AData OutputAPI call parameters passed by reference for cryptographic service output
N/AStatus OutputAPI return value: enumerated status resulting from call execution
NameTypeOperator TypeAuthentication Methods
CORoleCO

The Module design corresponds to the Module security rules. Security rules enforced by the Module are described in the appropriate context of this document.

3 Cryptographic Module Interfaces
3.1 Ports and Interfaces

Table 11: Ports and Interfaces Table 11 defines the Module’s [140-3] logical interfaces; the Module does not interact with physical ports.

4 Roles, Services, and Authentication
4.2 Roles

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.

4.3 Approved Services

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 27 ↑
NameDescripti onIndicatorInputsOutputsSecurity FunctionsSSP Access
Digital Signatu reGenerate 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 SignatureCO - DS_SGK: W,E,Z - DS_SVK: W,E,Z
Generat e Key PairGenerate 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 nCO - GKP_Priv ate: G,R,Z - GKP_Pub lic: G,R,Z
Key Agreem entDH 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 KDFCO - KAS_Priv ate: W,E,Z - KAS_Publ ic: W,E,Z - KAS_SS C: G,R,Z
Key Derivati onDerive keying material from aSuccessful completion of the service (status code >= 0)KAS_SS C; flags;Status return; KD_DKM;KAS-SSC with KDF Key-based Derivation FunctionsCO - KAS_SS C: R,E,Z

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 28 ↑
NameDescripti onIndicatorInputsOutputsSecurity FunctionsSSP Access
shared secret
Keyed HashGenerate or verify message integritySuccessful 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_KeyStatus return; Tag value;Message Authentica tion Auth Block CipherCO - KH_Key: W,E - AES GCM IV: W,E
Messag e DigestGenerate a message digestSuccessful completion of the service (status code >= 0)Message; flags;Status return; Hash value;Secure HashCO
Rando mGenerate random bits using the DRBGSuccessful completion of the service (status code >= 0)DRBG structure (Internal State containing secret(s) C and V); SeedStatus return; Random Value;DRBGCO - Seed: W,E,Z - Internal State: G,E - Secret C: G,E - Secret V: G,E - Entropy Input String: W,E,Z
Self-testPerform the designate d self- test.Successful completion of the service (status code >= 0)FlagsStatus returnMessage Authentica tionCO - MOD_INT : G,Z - coreKey: E
Show StatusProvide Module statusSuccessful completion of the service (status code >= 0)NoneStatus returnNoneCO

V: G,E W,E,Z E wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 29 ↑
NameDescripti onIndicatorInputsOutputsSecurity FunctionsSSP Access
Symmet ric cipherEncrypt 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 CipherCO - SC_EDK: E,W - AES GCM IV: W,E
ZeroiseFreeRng_ 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 SSPsStatus returnNoneCO - 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).

Page 30 ↑
NameDescripti onIndicatorInputsOutputsSecurity FunctionsSSP Access
Show VersionProvide Module VersionSuccessful completion of the service (status code >= 0)NonePlaintext containing the module versionNoneCO
RSA Primitiv e ServicePerform RSA Decryptio n PrimitiveSuccessful completion of the service (status code >= 0)Key, DRBG, buffers with data and sizesbuffers with data and sizeRSA PrimitiveCO - DS_SGK: W,E,Z
NameDescriptionAlgorithmsRole
Digital SignatureFor 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.ECDSACO
Generate Key PairFor 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 RSACO
Key AgreementFor ECDH, Non-approved and not-allowed when the ECC public key imported to the module exceeds P-521.ECDHCO
Keyed HashFor 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-CMACCO

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).

Page 31 ↑
NameDescriptionAlgorithmsRole
Symmetric cipherFor 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-CCMCO

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.

5 Software/Firmware Security
5.1 Integrity Techniques

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.

5.2 Initiate on Demand

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).

5.3 Open-Source Parameters

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.

6 Operational Environment
6.1 Operational Environment Type and Requirements

Type of Operational Environment: Modifiable

6.2 Configuration Settings and Restrictions

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).

Page 32 ↑
Storage Area NameDescriptionPersistence Type
S1RAM (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.

6.3 Additional Information

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].

7 Physical Security
7.1 Mechanisms and Actions Required
7.5 EFP/EFT Information
7.6 Hardness Testing Temperature Ranges
8 Non-Invasive Security

The Module does not implement non-invasive security mechanisms.

9 Sensitive Security Parameters Management
9.1 Storage Areas
9.2 SSP Input-Output Methods

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 33 ↑
NameFromToFormat TypeDistribution TypeEntry TypeSFI or Algorithm
IE1EXT: Call stack (API) input parametersINTPlaintextAutomatedElectronic
IE2INT: Call stack (API) output parametersEXTPlaintextAutomatedElectronic
IE3EXT: Loaded from external entropy sourceINTPlaintextAutomatedElectronic
Zeroization MethodDescriptionRationaleOperator Initiation
Z1cleared immediately after useModule does not store SSPs persistentlyZeroise
Z2Per ISO/IEC 19790:2012 section 7.9.7, parameters used solely for self-test purposes in 7.10 need not meet zeroisation requirementsFIPS 140-3 IG 9.7.B
NameDescriptionSize - Strengt hType - CategoryGenerated ByEstablishe d ByUsed By
DS_SGKDigital Signature: Signature Generation using Private KeyRSA: 2048, 3072, 4096; ECDSA: 224, 256, 384, 521; - RSA: 112, 128; ECDSA: 112, 128,Private - CSPECDSA SigGen (FIPS18 6-5) (A7470) RSA SigGen (FIPS18 6-5) (A7470)

Table 16: SSP Input-Output Methods

9.3 SSP Zeroization 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).

Page 34 ↑
NameDescriptionSize - Strengt hType - CategoryGenerated ByEstablishe d ByUsed By
192, 256;
DS_SVKDigital Signature Verification using Public KeyRSA: 1024*, 2048, 3072, 4096; ECDSA: 192*, 224, 256, 384, 521; - RSA: 80*, 112, 128; ECDSA: 80*, 112, 128, 192, 256;Public - PSPECDSA SigGen (FIPS18 6-5) (A7470) RSA SigGen (FIPS18 6-5) (A7470)
GKP_Privat eGenerated Key Pair (Private)RSA: 2048, 3072, 4096; ECDSA: 224, 256, 384, 521; - RSA: 112, 128; ECDSA: 112, 128, 192, 256;Private - CSPRSA Asymmetric Key-Pair Generation ECDSA Key-Pair Generation CKG-1ECDSA KeyGen (FIPS18 6-5) (A7470) RSA KeyGen (FIPS18 6-5) (A7470)
GKP_Publi cGenerated Key Pair (Public)RSA: 2048, 3072, 4096; ECDSA: 224, 256,Public - PSPRSA Asymmetric Key-Pair Generation ECDSA Key-PairECDSA KeyGen (FIPS18 6-5) (A7470) RSA KeyGen

h wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 35 ↑
NameDescriptionSize - Strengt hType - CategoryGenerated ByEstablishe d ByUsed By
384, 521; - RSA: 112, 128; ECDSA: 112, 128, 192, 256;Generation CKG-1(FIPS18 6-5) (A7470)
KAS_Privat eKey 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 - CSPKAS-SSC with KDFKAS- ECC- SSC Sp800- 56Ar3 (A7470) KAS- FFC- SSC Sp800- 56Ar3 (A7470)
KAS_Publi cKey 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 - PSPKAS-SSC with KDFKAS- ECC- SSC Sp800- 56Ar3 (A7470) KAS- FFC- SSC Sp800- 56Ar3 (A7470)
KAS_SSCShared secret calculation; z output value is expected to be used by a KDFFFC: 2048; ECC: 224, 256, 384, 521; - FFC: 112;Shared Secret - CSPKAS-SSC with KDFKAS- ECC- SSC Sp800- 56Ar3 (A7470) KAS- FFC- SSC

h wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 36 ↑
NameDescriptionSize - Strengt hType - CategoryGenerated ByEstablishe d ByUsed By
ECC: 112, 128, 192, 256;Sp800- 56Ar3 (A7470) KDF SSH (A7470) KDF TLS (A7470)
KD_DKMKey Derivation derived keying materialTLS KDF v1.2 RFC 7627: 1024; TLS KDF v1.3: 256, 384; KDF SSH: 256, 384, 512 - 256-bitDerived Key Material - CSPKey-based Derivation FunctionsKDF SSH (A7470) TLS v1.2 KDF RFC762 7 (A7470) TLS v1.3 KDF (A7470)
KH_KeyKeyed Hash keyCMAC: 128, 192, 256; GMAC: 128, 192, 256; HMAC: 160, 256, 512; - CMAC: 128, 192, 256; GMAC: 128, 192, 256; HMAC: 128, 256;Symmetric Key - CSPAES- 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).

Page 37 ↑
NameDescriptionSize - Strengt hType - CategoryGenerated ByEstablishe d ByUsed By 512 (A7470) HMAC- SHA3- 224 (A7470) HMAC- SHA3- 256 (A7470) HMAC- SHA3- 384 (A7470) HMAC- SHA3- 512 (A7470)
Entropy Input StringEntropy input bit string loaded from the external entropy source256-bit - 256-bitEntropy - CSPHash DRBG (A7470)
SeedDRBG Seed_materi al consisting of entropy input string (256-bit) concatenate d with the nonce (128- bit)384-bit - 256-bitEntropy - CSPDRBGHash DRBG (A7470)
Secret CHash DRBG Internal State Secret C440-bits - 256-bitEntropy - CSPDRBGHash DRBG (A7470)
Secret VHash DRBG Internal State Secret V440-bits - 256-bitEntropy - CSPDRBGHash DRBG (A7470)
Internal StateHash DRBG Internal State (SHA- 256) with880-bit - 256-bitEntropy - CSPDRBGHash DRBG (A7470)

h C V wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 38 ↑
NameDescription secret values V and C. V is 440- bits, C is 440-bits.Size - Strengt hType - CategoryGenerated ByEstablishe d ByUsed By
SC_EDKAES key used for symmetric encryption (including AES authenticate d encryption). Modes: CBC, CCM, CTR, ECB, GCM, OFB128, 192 or 256 bits - 128, 192 or 256 bitsSymmetric Key - CSPAES- CBC (A7470) AES- CCM (A7470) AES- CTR (A7470) AES- ECB (A7470) AES- GCM (A7470) AES- OFB (A7470)
MOD_INTModule Integrity Value Computed at Run Time32- bytes - 256-bitMessage Authenticati on - CSPMessage Authenticati onHMAC- SHA2- 256 (A7470)
coreKeyHMAC key for in-core integrity check self- test32- bytes - 256-bitMessage Authenticati on - CSPHMAC- SHA2- 256 (A7470)
AES GCM IVAES GCM IV96-128 - 128, 192 or 256 bitsAES GCM IV - PSPDRBG Symmetric Key GenerationAES- GCM (A7470)
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
DS_SGKIE1S1:PlaintextWhile in useZ1
DS_SVKIE1S1:PlaintextWhile in useZ1
GKP_PrivateIE2S1:PlaintextWhile in useZ1GKP_Public:Paired With

h Table 18: SSP Table 1 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 39 ↑
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
GKP_PublicIE2S1:PlaintextWhile in useZ1GKP_Private:Paired With
KAS_PrivateIE1S1:PlaintextWhile in useZ1
KAS_PublicIE2S1:PlaintextWhile in useZ1
KAS_SSCS1:PlaintextWhile in useZ1KAS_Public:Derived From KAS_Private:Derived From
KD_DKMS1:PlaintextWhile in useZ1
KH_KeyIE1S1:PlaintextWhile in useZ1
Entropy Input StringIE3S1:PlaintextWhile in useZ1
SeedS1:PlaintextWhile in useZ1
Secret CS1:PlaintextWhile in useZ1Seed:Derived From
Secret VS1:PlaintextWhile in useZ1Seed:Derived From
Internal StateS1:PlaintextWhile in useZ1
SC_EDKIE1S1:PlaintextWhile in useZ1
MOD_INTS1:PlaintextWhile in useZ1
coreKeyS1:PlaintextWhile in useZ2
AES GCM IVWhile in useZ1
Algorithm or TestTest PropertiesTest MethodTest TypeIndicatorDetails
HMAC- SHA2-256hash type: SHA256, key length: 32-bytes.KATSW/FW IntegrityFIPS_MODE_NORMAL or FIPS_MODE_FAILEDMAC

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.

10 Self-Tests
10.1 Pre-Operational Self-Tests

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 40 ↑

Algorithm or Test

Test Properties Please note this is the module integrity test

Test Method

Test Type

Indicator

Details

Algorit hm or TestTest PropertiesTest Meth odTest Typ eIndicatorDetailsConditio ns
AES- CBC Encrypt (A7470)key length: 32-bytesKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREEncryptBefore 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-bytesKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREDecryptBefore 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.

10.2 Conditional Self-Tests

wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 41 ↑
Algorit hm or TestTest PropertiesTest Meth odTest Typ eIndicatorDetailsConditio ns AES- CBC, AES- CTR, AES- OFB, AES- GCM, AES- GMAC, AES- CCM or AES- CMAC
AES- GCM Encrypt (A7470)key length: 32-bytesKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREEncryptBefore first use of algorithm( s) AES- GCM or AES- GMAC
AES- GCM Decrypt (A7470)key length: 32-bytesKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREDecryptBefore first use of algorithm( s) AES- GCM or AES- GMAC
HMAC- SHA-1 (A7470)hash type: SHA1; key length: 20- bytesKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREMACBefore first use of algorithm( s) SHA1 or HMAC- SHA1
HMAC- SHA2- 256 (A7470)hash type: SHA256; key length: 20-bytesKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREMACBefore first use of algorithm( s) SHA224, SHA256, HMAC- SHA224

s) wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 42 ↑
Algorit hm or TestTest PropertiesTest Meth odTest Typ eIndicatorDetailsConditio ns or HMAC- SHA256
HMAC- SHA2- 512 (A7470)hash type: SHA2-512, key length: 20-bytesKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREMACBefore first use of algorithm( s) SHA384, SHA512, HMAC- SHA384 or HMAC- SHA512
HMAC- SHA3- 256 (A7470)hash type: SHA3-256, key length: 64-bytesKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREMACBefore 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-bitsKATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURESignBefore first use of algorithm( s) RSA (PKCSv1. 5) or RSA (PSS)
RSA SigVerRSA- PKCSv1.5,KATCAS TFIPS_CAST_STATE_SU CCESS orVerifyBefore first use

s) wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 43 ↑
Algorit hm or TestTest PropertiesTest Meth odTest Typ eIndicatorDetailsConditio ns
(FIPS18 6-5) (A7470)hash type: SHA256, key length: 2048-bitsFIPS_CAST_STATE_FAI LUREof algorithm( s) RSA (PKCSv1. 5) or RSA (PSS)
KAS- ECC- SSC Sp800- 56Ar3 (A7470)hashType: SHA2-256; curve: P-256KATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREComputatio n Shared Secret ZBefore first use of algorithm( s) ECC for shared secret generatio n
KAS- FFC- SSC Sp800- 56Ar3 (A7470)hashType: SHA2-256; keySize: 2048-bit;KATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREComputatio n Shared Secret ZBefore first use of algorithm( s) FFC for shared secret generatio n
ECDSA SigGen (FIPS18 6-5) (A7470)curve: P256; hashType: SHA2-256KATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LURESignBefore first use of algorithm( s) ECDSA
ECDSA SigVer (FIPS18 6-5) (A7470)curve: P256; hashType: SHA2-256KATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREVerifyBefore first use of algorithm( s) ECDSA
TLS v1.2 KDF RFC76 27 (A7470)HMAC- SHA2-256KATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREDerive Keying MaterialBefore first use of TLSv1.2 KDF
TLS v1.3 KDF (A7470)HMAC- SHA2-256KATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREDerive Keying MaterialBefore first use of TLSv1.3 KDF

n n wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 44 ↑
Algorit hm or TestTest PropertiesTest Meth odTest Typ eIndicatorDetailsConditio ns
KDF SSH (A7470)hashType: SHA2-256KATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREDerive Keying MaterialBefore first use of KDF SSH
RSA PCTkey size: 2048,3072,4 096PCTPCTService is successful or an error code RSA_KEY_PAIR_ESign/VerifyInvoked automatic ally during generate key pair service
ECC- PCTcurve size: 224, 256, 384, 521PCTPCTService is successful or an error code ECC_PCT_ESign/VerifyInvoked automatic ally during generate key pair service
DH- PCTkey size: 2048, 3072, 4096PCTPCTService is successful or an error code MP_CMP_EModulus Exponentia tionInvoked automatic ally during generate key pair service
Hash DRBG (A7470)DRBG mode: SHA2-256KATCAS TFIPS_CAST_STATE_SU CCESS or FIPS_CAST_STATE_FAI LUREHealth-Test with sub- elements: Instantiate, Generate, ReseedBefore 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).

Page 45 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
HMAC-SHA2-256KATSW/FW IntegrityP2Automatic or Manually
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
AES-CBC Encrypt (A7470)KATCASTP1Manually
AES-CBC Decrypt (A7470)KATCASTP1Manually
AES-GCM Encrypt (A7470)KATCASTP1Manually
AES-GCM Decrypt (A7470)KATCASTP1Manually
HMAC-SHA-1 (A7470)KATCASTP1Manually
HMAC-SHA2-256 (A7470)KATCASTP2Automatic or Manually
HMAC-SHA2-512 (A7470)KATCASTP1Manually
HMAC-SHA3-256 (A7470)KATCASTP1Manually
RSA SigGen (FIPS186-5) (A7470)KATCASTP1Manually
RSA SigVer (FIPS186-5) (A7470)KATCASTP1Manually
KAS-ECC-SSC Sp800-56Ar3 (A7470)KATCASTP1Manually
KAS-FFC-SSC Sp800-56Ar3 (A7470)KATCASTP1Manually
ECDSA SigGen (FIPS186-5) (A7470)KATCASTP1Manually
ECDSA SigVer (FIPS186-5) (A7470)KATCASTP1Manually
TLS v1.2 KDF RFC7627 (A7470)KATCASTP1Manually
TLS v1.3 KDF (A7470)KATCASTP1Manually
KDF SSH (A7470)KATCASTP1Manually
RSA PCTPCTPCTP3Automatic
ECC-PCTPCTPCTP3Automatic
DH-PCTPCTPCTP3Automatic
Hash DRBG (A7470)KATCASTP4Automatic or Manually
NameDescription
P1Periodic 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.
P2Periodic method 2: Automatically by the module during power on. CO may opt to invoke manually thereafter.
P3Periodic method 3: Automatically during key generation service
10.3 Periodic Self-Test Information

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).

Page 46 ↑
NameDescription
P4Automatically 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.
NameDescriptionConditi onsRecov ery Metho dIndicator
FIPS_MODE_FAILEDModule has failed its software integrity checkHMAC- SHA2- 256 CAST Failure Module Integrity Check FailurePower CyclefipsModeId set to FIPS_MODE_FAILED (3)
FIPS_CAST_STATE_F AILUREOne 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 CycleOne or more algorithms CAST status values set to FIPS_CAST_STATE_F AILURE (3)

Table 24: Periodic Method Descriptions

10.4 Error States

d .5 wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 47 ↑
NameDescriptionConditi ons Hellman ECDSA TLSv1.2 KDF TLSv1.3 KDF KDF SSHRecov ery Metho dIndicator
FIPS_MODE_DEGRA DEDOne 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 FailurePower CyclefipsModeId set to FIPS_MODE_DEGRA DED (2)
RSA_KEY_PAIR_ERSA Pairwise Consistency Test FailureRSA- PCTManual self- test service call or power cycleRSA_KEY_PAIR_E (- 262)
ECC_PCT_EECC Pairwise Consistency Test FailureECC- PCTManual self- test service call or power cycleECC_PCT_E (-286)
MP_CMP_EDH Pairwise Consistency Test FailureDH-PCTManual self- test service call or power cycleMP_CMP_E (-120)

d Table 25: Error States wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).

Page 48 ↑
10.5 Operator Initiation of Self-Tests

For calling applications the following is required:

  1. Include the library configuration header wolfssl/options.h (or user_settings.h via wolfssl/wolfcrypt/settings.h) first.
  2. After including the library configuration header, include wolfssl/wolfcrypt/fips_test.h then use the API specified below to execute a given self-test. CO may initiate all CAST self-tests in one-shot. The API wc_RunAllCast_fips() is provided as a public API to applications using the module that have included the headers above in proper order. CO may initiate CAST self-tests individually using the API wc_RunCast_fips(algorithm type) with any of the below “algorithm type” inputs: • FIPS_CAST_AES_CBC • FIPS_CAST_AES_GCM • FIPS_CAST_HMAC_SHA1 • FIPS_CAST_HMAC_SHA2_256 • FIPS_CAST_HMAC_SHA2_512 • FIPS_CAST_HMAC_SHA3_256 • FIPS_CAST_DRBG • FIPS_CAST_RSA_SIGN_PKCS1v15 • FIPS_CAST_ECC_CDH • FIPS_CAST_ECC_PRIMITIVE_Z • FIPS_CAST_DH_PRIMITIVE_Z • FIPS_CAST_ECDSA • FIPS_CAST_KDF_TLS12 • FIPS_CAST_KDF_TLS13 • FIPS_CAST_KDF_SSH CO may re-run the POST at any time after power on using the public API wolfCrypt_IntegrityTest_fips(). This function always returns a value of zero regardless if the integrity check passed or failed so the CO shall then check the status of the module using the API wolfCrypt_GetStatus_fips(). The return value of the GetStatus API shall then be checked against the status indicators below: • FIPS_MODE_INIT status indicator value is
  3. This indicator means then integrity test has not completed and is likely running in another thread (multi-threaded) • FIPS_MODE_NORMAL status indicator value is
  4. This indicator means the integrity test passed and the module is in a state without errors • FIPS_MODE_FAILED status indicator value is
  5. This indicator means the integrity test failed and the module is unusable. The CO shall power cycle or reloaded (equivalent to power cycle) to restore the module. wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).
Page 49 ↑
11 Life-Cycle Assurance
11.1 Installation, Initialization, and Startup Procedures

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.

Page 50 ↑

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");

11.2 Administrator Guidance

The CO shall use the provided wolfCrypt FIPS 140-3 User Guide [UG].

11.3 Non-Administrator Guidance

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).

Page 51 ↑
11.7 Additional Information

Please defer to wolfCrypt FIPS 140-3 User Guide [UG].

12 Mitigation of Other Attacks

The module does not claim mitigation of other attacks. wolfSSL Inc. Public Material – May be reproduced only in its original entirety (without revision).