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

Samsung BoringCrypto Android 14

Certificate#5521StandardFIPS 140-3Level1TypeSoftwareEmbodimentMultiChipStandStatusActiveVendorSamsung Electronics Co., Ltd.
Low review priority  ·  no TCB surface named  ·  last validated 2 months ago. How this is derived →

Certificate

StandardFIPS 140-3
Overall level1
Module typeSoftware
EmbodimentMultiChipStand
StatusActive
Sunset date1/26/2030
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.
VendorSamsung Electronics Co., Ltd.

Approved Algorithms (33)

AlgorithmACVP Cert
AES-CBCA5074
AES-CCMA5074
AES-CTRA5074
AES-ECBA5074
AES-GCMA5074
AES-GMACA5074
AES-KWA5074
AES-KWPA5074
Counter DRBGA5074
ECDSA KeyGen (FIPS186-4)A5074
ECDSA KeyVer (FIPS186-4)A5074
ECDSA SigGen (FIPS186-4)A5074
ECDSA SigVer (FIPS186-4)A5074
HMAC-SHA-1A5074
HMAC-SHA2-224A5074
HMAC-SHA2-256A5074
HMAC-SHA2-384A5074
HMAC-SHA2-512A5074
HMAC-SHA2-512/256A5074
KAS-ECC-SSC Sp800-56Ar3A5074
KAS-FFC-SSC Sp800-56Ar3A5074
KDA HKDF Sp800-56Cr1A5074
RSA KeyGen (FIPS186-4)A5074
RSA SigGen (FIPS186-4)A5074
RSA SigVer (FIPS186-4)A5074
SHA-1A5074
SHA2-224A5074
SHA2-256A5074
SHA2-384A5074
SHA2-512A5074
SHA2-512/256A5074
TLS v1.2 KDF RFC7627A5074
TLS v1.3 KDFA5074

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 Samsung BoringCrypto Android 14
  %% Review prompts and evidence gaps, NOT vulnerability findings.
  subgraph CMVP["CMVP-disclosed clues"]
    C2["[low] Firmware update / recovery<br/>/ rollback (referenced in<br/>text)<br/><i>Recovery</i>"]
    C3["[low] Self-test / status surface<br/>(referenced in text)<br/><i>Self-Test<br/>UnAuth<br/>Status Output</i>"]
    C5["[low] Protocol / secure-channel<br/>references (may be KDF<br/>names, not a live channel)<br/><i>TLS<br/>HTTPS<br/>library named: boringssl</i>"]
    C6["[low] Operating system / runtime<br/>referenced (boundary<br/>membership not asserted)<br/><i>operating system<br/>linux<br/>application</i>"]
  end
  subgraph Inference["Derived inference"]
    I2["Possible only, trusted<br/>code is reachable through<br/>update and recovery paths."]
    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"]
    R2["Are update images<br/>authenticated before<br/>parsing, and are<br/>downgrade/rollback paths<br/>constrained?"]
    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"]
    E2["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>update image format ·<br/>signature-before-parse<br/>proof · anti-rollback /<br/>downgrade policy"]
    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
  C2 --> I2 --> R2 --> E2
  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 C2,C3,C5,C6 clue;
  class I2,I3,I5,I6 infer;
  class R2,R3,R5,R6 risk;
  class E2,E3,E5,E6 evidence;
Underlying clues
flowchart LR
  %% Deterministic clue tier for Samsung BoringCrypto Android 14
  %% confidence: high = structured record field; medium = structured but soft; low (dashed) = bare keyword hit, context unverified
  subgraph CMVP["CMVP-disclosed clues (deterministic)"]
    C2["[low] Firmware update / recovery / rollback (referenced in text)<br/><i>Recovery</i><br/>src: text:keyword"]
    C3["[low] Self-test / status surface (referenced in text)<br/><i>Self-Test<br/>UnAuth<br/>Status Output</i><br/>src: text:keyword"]
    C5["[low] Protocol / secure-channel references (may be KDF names, not a live channel)<br/><i>TLS<br/>HTTPS<br/>library named: boringssl</i><br/>src: text:keyword"]
    C6["[low] Operating system / runtime referenced (boundary membership not asserted)<br/><i>operating system<br/>linux<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 C2,C3,C5,C6 clueLow;

Security Policy, page by page

Page 1 ↑

Samsung Electronics Co., Ltd. Samsung BoringCrypto Android 14

Page 2 ↑
Table of Contents
#SectionPage
Page 4 ↑
List of Tables
ItemPage
Table 1: Security Levels5
Table 2: Tested Module Identification – Software, Firmware, Hybrid (Executable Code Sets)6
Table 3: Tested Operational Environments - Software, Firmware, Hybrid8
Table 4: Modes List and Description8
Table 5: Approved Algorithms11
Table 6: Vendor-Affirmed Algorithms11
Table 7: Non-Approved, Not Allowed Algorithms12
Table 8: Security Function Implementations15
Table 9: Ports and Interfaces18
Table 10: Roles19
Table 11: Approved Services26
Table 12: Non-Approved Services26
Table 13: Storage Areas28
Table 14: SSP Input-Output Methods28
Table 15: SSP Zeroization Methods28
Table 16: SSP Table 131
Table 17: SSP Table 234
Table 18: Pre-Operational Self-Tests34
Table 19: Conditional Self-Tests36
Table 20: Pre-Operational Periodic Information36
Table 21: Conditional Periodic Information38
Table 22: Error States38
Figure 1: Block Diagram6
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
1.1 Overview

This document describes the cryptographic module Security Policy (SP) for the Samsung BoringCrypto Android 14 (software version: 2023042800) cryptographic module (also referred to as the “module” hereafter). It contains a specification of the security rules under which the cryptographic module operates, including the security rules derived from the requirements of the FIPS 140-3 standard. The module meets the overall Level 1 security requirements of FIPS 140-3.

1.2 Security Levels
2.1 Description

Purpose and Use: The Samsung BoringCrypto Android 14 module is an open-source, general-purpose cryptographic library which provides FIPS 140-3 approved cryptographic algorithms to serve BoringSSL and other user-space applications. Module Embodiment: Multi-Chip Standalone Cryptographic Boundary: The boundary of the module is defined as a single object file, bcm.o, and its instantiation in memory.

Page 6 ↑
Package or File NameSoftware/ Firmware VersionFeaturesIntegrity Test
bcm.o2023042800Yes - single encompassing test

Tested Operational Environment’s Physical Perimeter (TOEPP): The TOEPP is the enclosure of the general purpose computer the module is running on. Figure 1: Block Diagram

2.2 Tested and Vendor Affirmed Module Version and Identification

Tested Module Identification - Software: Table 2: Tested Module Identification – Software, Firmware, Hybrid (Executable Code Sets) Tested Operational Environments - Software:

Page 7 ↑
Operating SystemHardware PlatformProcessorsPAA/PAIHypervisor or Host OSVersion(s)
Android 14Samsung Galaxy A53 5GExynos 1280Yes2023042800
Android 14Samsung Galaxy A53 5GExynos 1280No2023042800
Android 14Samsung Galaxy Z Flip4Snapdragon 8+ Gen1Yes2023042800
Android 14Samsung Galaxy Z Flip4Snapdragon 8+ Gen1No2023042800
Android 14Samsung Galaxy XCover 6 ProSnapdragon 778GYes2023042800
Android 14Samsung Galaxy XCover 6 ProSnapdragon 778GNo2023042800
Android 14Samsung Galaxy S21+ 5GExynos 2100Yes2023042800
Android 14Samsung Galaxy S21+ 5GExynos 2100No2023042800
Android 14Samsung Galaxy S22 Ultra 5G (International)Exynos 2200Yes2023042800
Android 14Samsung Galaxy S22 Ultra 5G (International)Exynos 2200No2023042800
Android 14Samsung Galaxy S22 Ultra 5G (US)Snapdragon 8 Gen1Yes2023042800
Android 14Samsung Galaxy S22 Ultra 5G (US)Snapdragon 8 Gen1No2023042800
Android 14Samsung Galaxy S23 Ultra 5GSnapdragon 8 Gen2Yes2023042800
Android 14Samsung Galaxy S23 Ultra 5GSnapdragon 8 Gen2No2023042800
Android 14Samsung Galaxy S24 5GExynos 2400Yes2023042800
Android 14Samsung Galaxy S24 5GExynos 2400No2023042800
Android 14Samsung Galaxy S24 UltraSnapdragon 8 Gen3Yes2023042800
Android 14Samsung Galaxy S24 UltraSnapdragon 8 Gen3No2023042800
Android 14Samsung Galaxy Tab Active5 5GExynos 1380Yes2023042800
Android 14Samsung Galaxy Tab Active5 5GExynos 1380No2023042800
Android 14Samsung Galaxy Tab S9 FE 5GExynos 1380Yes2023042800
Android 14Samsung Galaxy Tab S9 FE 5GExynos 1380No2023042800
Android 14Samsung Galaxy S21+ 5GSnapdragon 888Yes2023042800
Page 8 ↑
Operating SystemHardware PlatformProcessorsPAA/PAIHypervisor or Host OSVersion(s)
Android 14Samsung Galaxy S21+ 5GSnapdragon 888No2023042800
Android 14Samsung Galaxy A52 5GSnapdragon 750GYes2023042800
Android 14Samsung Galaxy A52 5GSnapdragon 750GNo2023042800
Mode NameDescriptionTypes of ServicesStatus Indicator
ApprovedWhen all self-tests pass and only Approved algorithms are invokedApprovedPer service indication
Non- ApprovedWhen a non-Approved algorithm is invokedNon-ApprovedPer service indication

Table 3: Tested Operational Environments - Software, Firmware, Hybrid CMVP makes no statement as to the correct operation of the module or the security strengths of the generated keys when so ported if the specific operational environment is not listed on the validation certificate.

2.3 Excluded Components

The module contains no excluded components.

2.4 Modes of Operation

Modes List and Description: Table 4: Modes List and Description The module supports two modes of operation: Approved and Non-approved. The module will be in approved mode when all power up self-tests have completed successfully, and only Approved Approved algorithm is invoked (see table below). The module does not enforce a general Approved mode, use the service indicators to determine whether a given service is operated in an Approved mode.

Page 9 ↑
AlgorithmCAVP CertPropertiesReference
AES-CBC, AES-ECBA5074Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CCMA5074Key Length - 128 Tag Length - 32, 64 IV Length - IV Length: 104 Payload Length - Payload Length: 0- 256 Increment 8 AAD Length - AAD Length: 0-8192 Increment 8SP 800-38C
AES-CTRA5074Direction - Decrypt, Encrypt Key Length - 128, 192, 256 Payload Length - Payload Length: 8- 128 Increment 8 Supports Counter larger than maximum value - Yes Incremental Counter - Yes Counter Tests Performed - YesSP 800-38A
AES-GCMA5074Direction - Decrypt, Encrypt IV Generation - Internal IV Generation Mode - 8.2.2 Key Length - 128, 256 Tag Length - 104, 112, 120, 128, 32, 64, 96 IV Length - IV Length: 96 Payload Length - Payload Length: 0- 4096 Increment 8 AAD Length - AAD Length: 0-8192 Increment 8SP 800-38D
AES-GMACA5074Direction - Decrypt, Encrypt IV Generation - External Key Length - 128, 192, 256 Tag Length - 104, 112, 120, 128, 32, 64, 96 IV Length - IV Length: 96 AAD Length - AAD Length: 0-8192 Increment 8SP 800-38D
AES-KWA5074Direction - Decrypt, Encrypt Cipher - Cipher Key Length - 128, 192, 256 Payload Length - Payload Length: 128- 4096 Increment 64SP 800-38F
AES-KWPA5074Direction - Decrypt, Encrypt Cipher - Cipher Key Length - 128, 192, 256 Payload Length - Payload Length: 8- 4096 Increment 8SP 800-38F
Counter DRBGA5074Prediction Resistance - No Supports Reseed - YesSP 800-90A Rev. 1
Page 10 ↑
AlgorithmCAVP CertProperties Mode - AES-256 Derivation Function Enabled - No Additional Input - Additional Input: 0- 384 Increment 16 Entropy Input - Entropy Input: 384 Nonce - Nonce: 0 Personalization String Length - Personalization String Length: 0-384 Increment 16 Returned Bits - 2048Reference
ECDSA KeyGen (FIPS186-4)A5074Curve - P-224, P-256, P-384, P-521 Secret Generation Mode - Testing CandidatesFIPS 186-4
ECDSA KeyVer (FIPS186-4)A5074Curve - P-224, P-256, P-384, P-521FIPS 186-4
ECDSA SigGen (FIPS186-4)A5074Curve - P-224, P-256, P-384, P-521 Hash Algorithm - SHA2-224, SHA2- 256, SHA2-384, SHA2-512, SHA2- 512/256FIPS 186-4
ECDSA SigVer (FIPS186- 4)A5074Curve - P-224, P-256, P-384, P-521 Hash Algorithm - SHA-1, SHA2-224, SHA2-256, SHA2-384, SHA2-512, SHA2-512/256FIPS 186-4
HMAC-SHA-1A5074MAC - MAC: 32-160 Increment 8 Key Length - Key Length: 8-8192 Increment 8FIPS 198-1
HMAC-SHA2-224A5074MAC - MAC: 32-224 Increment 8 Key Length - Key Length: 8-8192 Increment 8FIPS 198-1
HMAC-SHA2-256, HMAC- SHA2-512/256A5074MAC - MAC: 32-256 Increment 8 Key Length - Key Length: 8-8192 Increment 8FIPS 198-1
HMAC-SHA2-384A5074MAC - MAC: 32-384 Increment 8 Key Length - Key Length: 8-8192 Increment 8FIPS 198-1
HMAC-SHA2-512A5074MAC - MAC: 32-512 Increment 8 Key Length - Key Length: 8-8192 Increment 8FIPS 198-1
KAS-ECC-SSC Sp800- 56Ar3A5074Domain Parameter Generation Methods - P-224, P-256, P-384, P-521 Scheme - ephemeralUnified - KAS Role - initiator, responder staticUnified - KAS Role - initiator, responderSP 800-56A Rev. 3
KAS-FFC-SSC Sp800- 56Ar3A5074Domain Parameter Generation Methods - FB, FC Scheme -SP 800-56A Rev. 3
Page 11 ↑
AlgorithmCAVP CertProperties dhEphem - KAS Role - initiatorReference
KDA HKDF Sp800-56Cr1A5074Fixed Info Pattern - uPartyInfo||vPartyInfo Fixed Info Encoding - concatenation Derived Key Length - 2048 Shared Secret Length - Shared Secret Length: 224-8192 Increment 8 HMAC Algorithm - SHA2-224, SHA2- 256, SHA2-384, SHA2-512, SHA2- 512/256SP 800-56C Rev. 2
RSA KeyGen (FIPS186-4)A5074Key Generation Mode - B.3.3 Modulo - 2048, 3072, 4096 Primality Tests - Table C.2 Info Generated By Server - Yes Public Exponent Mode - Fixed Fixed Public Exponent - 010001 Private Key Format - StandardFIPS 186-4
RSA SigGen (FIPS186-4)A5074Signature Type - PKCS 1.5, PKCSPSS Modulo - 2048, 3072, 4096 Hash Pair - Hash Algorithm - SHA2-224FIPS 186-4
RSA SigVer (FIPS186-4)A5074Signature Type - PKCS 1.5, PKCSPSS Modulo - 1024, 2048, 3072, 4096 Hash Pair - Hash Algorithm - SHA2-224 Public Exponent Mode - Fixed Fixed Public Exponent - 010001FIPS 186-4
SHA-1, SHA2-224, SHA2- 256, SHA2-384, SHA2- 512, SHA2-512/256A5074Message Length - Message Length: 0- 8192 Increment 8FIPS 180-4
TLS v1.2 KDF RFC7627 (CVL)A5074Hash Algorithm - SHA2-256, SHA2- 384, SHA2-512 Key Block Length - Key Block Length: 1024SP 800-135 Rev. 1
TLS v1.3 KDF (CVL)A5074HMAC Algorithm - SHA2-256, SHA2- 384 KDF Running Modes - DHE, PSK, PSK-DHESP 800-135 Rev. 1
NamePropertiesImplementationReference
CKGKey Type:AsymmetricN/ASection 4, example 1: U is directly output without XORing V

Table 5: Approved Algorithms Vendor-Affirmed Algorithms: Table 6: Vendor-Affirmed Algorithms

Page 12 ↑
NameUse and Function
MD5, MD4Non-Approved Hashing
POLYVALNon-Approved authenticated encryption
DES, Triple-DES (non-compliant)Non-Approved encryption/decryption
AES (non-compliant)Non-Approved encryption/decryption
DH (non-compliant)Non-Approved key agreement
RSA PKCS #1 v1.5 key wrapping (non-compliant)Non-Approved key wrapping
TLS 1.0/1.1 KDF (non-compliant)Non-Approved TLS key derivation
NameTypeDescriptionPropertiesAlgorithms
Authenticated DecryptionBC-AuthSymmetric authenticated decryption of calling application dataAES-CCM: (A5074) Key Length: 128, 192, 256 bits AES-GCM: (A5074) Key Length: 128, 192, 256 bits
Authenticated EncryptionBC-AuthSymmetric authenticated encryption of calling application dataAES-CCM: (A5074) Key Length: 128, 192, 256 bits AES-GCM: (A5074) Key Length: 128, 192, 256 bits
DecryptionBC-UnAuthSymmetric decryption of calling application dataAES-CBC: (A5074) Key Length:

N/A for this module. Non-Approved, Allowed Algorithms with No Security Claimed: N/A for this module. Table 7: Non-Approved, Not Allowed Algorithms

2.6 Security Function Implementations
Page 13 ↑
NameTypeDescriptionPropertiesAlgorithms
128, 192, 256 bits AES-CTR: (A5074) Key Length: 128, 192, 256 bits AES-ECB: (A5074) Key Length: 128, 192, 256 bits
EncryptionBC-UnAuthSymmetric encryption of calling application dataAES-CBC: (A5074) Key Length: 128, 192, 256 bits AES-CTR: (A5074) Key Length: 128, 192, 256 bits AES-ECB: (A5074) Key Length: 128, 192, 256 bits
HashingSHAHashing of calling application dataSHA-1: (A5074) SHA2-224: (A5074) SHA2-256: (A5074) SHA2-384: (A5074) SHA2-512: (A5074) SHA2- 512/256: (A5074)
KAS-ECC- SSCKAS-SSCSP 800-56Arev3. KAS_ECC_SSC per IG D.F Scenario 2, path (1)Caveat:providing 128, 192, or 256 bits of encryption strengthKAS-ECC- SSC Sp800- 56Ar3: (A5074) Curves: P- 256. P-384, P-521
Page 14 ↑
NameTypeDescriptionPropertiesAlgorithms
KAS-FFC-SSCKAS-SSCSP 800-56Arev3. KAS_ECC_SSC per IG D.F Scenario 2, path (1)Caveat:providing 112 bits of encryption strengthKAS-FFC- SSC Sp800- 56Ar3: (A5074)
Key Derivation Hash BasedKAS-56CKDFHash Based Key Derivation to support calling applicationKDA HKDF Sp800- 56Cr1: (A5074)
Key Derivation TLS 1.2KAS-135KDFKey derivation to support calling application's TLS implementTLS v1.2 KDF RFC7627: (A5074)
Key Derivation TLS 1.3KAS-135KDFKey derivation to support calling application's TLS implementTLS v1.3 KDF: (A5074)
AES-KeyWrapBC-AuthSymmetric key wrapping to support calling application's key transportCaveat:providing 128, 192, or 256 bits of encryption strengthAES-KW: (A5074) Key Length: 128, 192, 256 bits AES-KWP: (A5074) Key Length: 128, 192, 256 bits
Message AuthenticationMACMessage authentication of calling application dataAES-GCM: (A5074) HMAC-SHA- 1: (A5074) HMAC- SHA2-224: (A5074) HMAC- SHA2-256: (A5074) HMAC- SHA2-384: (A5074) HMAC- SHA2-512: (A5074) HMAC- SHA2- 512/256: (A5074) AES-GMAC: (A5074)
Page 15 ↑
NameTypeDescriptionPropertiesAlgorithms
Random Bit GenerationDRBGRandom Bit GenerationCounter DRBG: (A5074)
Signature GenerationDigSig- SigGenDigital signature generation to support calling applicationECDSA SigGen (FIPS186-4): (A5074) Curves: P- 256. P-384, P-521 RSA SigGen (FIPS186-4): (A5074) Modulus: 2048, 3072, 4096 bits
Signature Key GenerationAsymKeyPair- KeyGenGeneration of digital signature key pairsECDSA KeyGen (FIPS186-4): (A5074) Curves: P- 256. P-384, P-521 RSA KeyGen (FIPS186-4): (A5074) Modulus: 2048, 3072, 4096 bits
Signature Key ValidationAsymKeyPair- KeyVerVerification of ECDSA digital signature key pairECDSA KeyVer (FIPS186-4): (A5074) Curves: P- 256. P-384, P-521
Signature VerificationDigSig-SigVerVerification of digital signature to support calling applicationECDSA SigVer (FIPS186-4): (A5074) Curves: P- 256. P-384, P-521 RSA SigVer (FIPS186-4): (A5074) Modulus: 2048, 3072, 4096 bits

Table 8: Security Function Implementations

Page 16 ↑
2.7 Algorithm Specific Information

AES-CTR Reuse of a counter value under the same AES key in AES-CTR is a serious cryptographic vulnerability. The developer integrating the module must prevent this vulnerability by never providing a counter start value that is the same or earlier than the last counter value used under that key for AES-CTR encryption. AES-GCM In the case of AES-GCM, the IV generation method is user-selectable, and the value can be computed in more than one manner. The module does not implement the TLS protocol but offers cryptographic primitives that can be used by an external operator/application to implement TLS. The following restrictions must be followed when an external operator/application uses the module’s AES-GCM within a TLS implementation. In the context of the TLS protocol version 1.3, AES-GCM encryption and decryption is used compliant to Scenario 1 in FIPS 140-3 IG C.H. The module is compliant with NIST SP 80052rev2 and the mechanism for IV generation is compliant with RFC 8446. The module ensures that it is strictly increasing and thus cannot repeat. When the IV exhausts the maximum number of possible values for a given session key, the first party (client or server) to encounter this condition may either send a TLS 1.3 KeyUpdate message to establish a new encryption key, or fail. In either case, the module prevents any IV duplication and thus enforces the security property. In the context of the TLS protocol version 1.2, AES-GCM encryption and decryption is used compliant to Scenario 1 in FIPS 140-3 IG C.H. The module is compatible with TLS protocol version 1.2 using AES-GCM ciphersuites as specified in NIST SP 800-52rev2, Section 3.3.1, and the mechanism for IV generation is compliant with RFC 5288. The module ensures that it is strictly increasing and thus cannot repeat. When the IV exhausts the maximum number of possible values for a given session key, the first party (client or server) to encounter this condition may either trigger a handshake to establish a new encryption key in accordance with RFC 5246 or fail. In either case, the module prevents any IV duplication and thus enforces the security property. The module’s IV is generated internally by the module’s Approved DRBG, which is internal to the module’s boundary. The IV is 96 bits in length per NIST SP 800-38D, Section 8.2.2 and FIPS 140-3 IG C.H scenario 2. The selection of the IV construction method is the responsibility of the user of this cryptographic module. In approved mode, only internally generated IVs, or the TLS modes described above, are considered compliant for use. Per IG C.H, in the event module power is lost and restored, the consuming application must ensure that any of its AES-GCM keys used for encryption or decryption are re-distributed. AES-KW / AES-KWP

Page 17 ↑

The module does not establish SSPs using an approved key transport scheme (KTS). However, it does offer approved authenticated algorithms that can be used by an external operator/application as part of an approved KTS. Counter DRBG The CTR_DRBG is used without a derivation function. IG D.L requires that a CTR_DRNG used without a derivation function shall be seeded from an entropy source producing full-entropy outputs, and the entropy source shall be located within the TOEPP. The module relies on passively provided entropy and it is the responsibility of the developer integrating the module to ensure that the entropy used to seed the DRBG comes from a source located within the TOEPP which CMVP has evaluated as producing full entropy output. KAS-ECC-SSC and KAS-FFC-SSC The module does not establish SSPs using an approved key agreement scheme (KAS). However, it does offer some or all of the underlying KAS cryptographic functionality to be used by an external operator/application as part of an approved KAS. Hashing The module does not perform truncation of hash outputs except as part of the approved SHA2224, SHA2-512/256, and SHA2-384 algorithms. These algorithms inherently produce hash outputs of 224, 256, and 384 bits, respectively, as defined by FIPS 180-4. The module complies with IG C.L because no additional or manual truncation of hash outputs is implemented by the module in any other context. Legacy Use Algorithms SHA-1 is categorized as Legacy Use when using as part of digital signature verification. Algorithms designated as “Legacy” can only be used on data that was generated prior to the Legacy Date specified in FIPS 140-3 IG C.M. It is the responsibility of the developer integrating the module to ensure this restriction is met.

2.8 RBG and Entropy

The module passively receives entropy, per IG 9.3.A case 2(b), and shall be provided at least

384 bits of entropy. Use a SP 800-90B compliant entropy source with at least 256 bits of

security strength. Entropy is supplied to the Module via callback functions. The callback functions shall return an error if the minimum entropy strength cannot be met. The caveat “No assurance of the minimum strength of generated SSPs (e.g., keys)” is applicable.

2.9 Key Generation

The module produces several key generation methods.

8446 TLS v1.3 KDF.

• Derivation of symmetric keys from a key agreement shared secret per SP 800-133r2 section 6.2.1 and SP 800-56Cr2 KDA HKDF.

Page 18 ↑
Physical PortLogical Interface(s)Data That Passes
n/aData InputAPI input parameters
n/aData OutputAPI output parameters and return values
n/aControl InputAPI input parameters
n/aStatus OutputAPI return values

The module does not have a key generation service for symmetric keys; however, a calling application may create one using output from the module’s Approved DRBG.

2.10 Key Establishment

The module provides the cryptographic building blocks for key agreement in its SP 800-56Arev3 KAS-ECC-SSC and KAS-FFC-SSC algorithms. A calling application may link these to the module’s SP 800-135rev1 TLS v1.2 KDF or RFC 8446 TLS v1.3 KDF to form a complete key agreement scheme. No other part of the TLS protocol, other than the approved cryptographic algorithms and the KDFs, have been tested by the CAVP and CMVP.

2.11 Industry Protocols

The module does not implement any complete industry protocols, however it provides the key agreement and key derivation cryptographic algorithm building blocks to allow calling applications to implement the industry standard TLS v1.2 RFC 7627 or TLS v1.3 protocols using FIPS approved key establishment. The key establishment and generation primitives are described in sections 2.9 and 2.10, and the use of AES-GCM within them described in section 2.7.

3 Cryptographic Module Interfaces
3.1 Ports and Interfaces

Table 9: Ports and Interfaces consists of the actual API input parameters. The Status Output interface includes the return values of the API functions. As a software module, control of the physical ports is outside the module scope. However, when the module is performing self-tests, or is in an error state, all output on the module’s logical data output interfaces is inhibited. The module does not implement a power interface or a control output interface.

Page 19 ↑
NameTypeOperator TypeAuthentication Methods
Crypto Officer (CO)RoleCrypto OfficerNone
NameDescriptio nIndicatorInputsOutputsSecurity FunctionsSSP Access
Module Initializati onModule Initializatio nN/AN/AReturn CodeNoneCrypto Officer (CO)
Symmetr ic Encryptio nSymmetric encryption of calling application datafips_service_indi cator set to 1Plaintext, AAD, IV, encryptio n keyReturn code, ciphertext, tagAuthenticat ed Encryption EncryptionCrypto Officer (CO) - AES Key: W,E - AES- GCM Key: W,E
Symmetr ic Decrypti onSymmetric decryption of calling application datafips_service_indi cator set to 1Cipherte xt, AAD, IV, tag, decryptio n keyReturn code, plaintextAuthenticat ed Decryption DecryptionCrypto Officer (CO) - AES Key: W,E - AES- GCM Key: W,E
Keyed HashingSymmetric message authenticat ion of calling application datafips_service_indi cator set to 1Message , keyReturn code, Message Authenticat ion CodeMessage Authenticat ionCrypto Officer (CO) - HMAC Key: W,E - AES-
4 Roles, Services, and Authentication

The module does not support operator authentication.

4.2 Roles

Table 10: Roles The cryptographic module only implements a Crypto Officer (CO) role. The CO role is implicitly assumed by the entity accessing services implemented by the module. An operator is considered the owner of the thread that instantiates the module and, therefore, only one concurrent operator is allowed.

4.3 Approved Services
Page 20 ↑
NameDescriptio nIndicatorInputsOutputsSecurity FunctionsSSP Access
GCM Key: W,E
HashingHashing of calling application datafips_service_indi cator set to 1MessageReturn code, hashHashingCrypto Officer (CO)
Random Bit Generati onGeneration of random bits for calling applicationfips_service_indi cator set to 1API call paramete rsReturn code, random bitsRandom Bit GenerationCrypto Officer (CO) - CTR_DR BG Entropy Input: W,E - CTR_DR BG Seed: G,E - CTR_DR BG V: G,E - CTR_DR BG Key: G,E
Signatur e Generati onDigital signature of calling application datafips_service_indi cator set to 1Message , signing keyReturn code, signatureSignature GenerationCrypto Officer (CO) - ECDSA Signing Key: W,E - RSA Signature Generatio n Key: W,E - CTR_DR BG V: E - CTR_DR BG Key: E
Signatur eDigital signature verificationfips_service_indi cator set to 1Signatur e,Return codeSignature VerificationCrypto Officer (CO)
Page 21 ↑
NameDescriptio nIndicatorInputsOutputsSecurity FunctionsSSP Access
Verificati onof calling application dataverificatio n key- ECDSA Verificatio n Key: W,E - RSA Signature Verificatio n Key: W,E
Key Wrap ServiceSymmetric key wrapping service of calling application keyfips_service_indi cator set to 1API call paramete rs, unwrapp ed key, wrapping keyReturn code, wrapped keyAES- KeyWrapCrypto Officer (CO) - AES Wrapping Key: W,E - Unwrapp ed Key: W - Wrapped Key: G,R
Key Unwrap ServiceSymmetric key unwrappin g service of calling application keyfips_service_indi cator set to 1API call paramete rs, wrapped keyReturn code, unwrapped keyAES- KeyWrapCrypto Officer (CO) - AES Wrapping Key: W,E - Wrapped Key: W - Unwrapp ed Key: G,R
Key Agreeme nt ServiceAPI service call parameter sfips_service_indi cator set to 1Return code, shared secretReturn code, shared secretKAS-ECC- SSC KAS-FFC- SSCCrypto Officer (CO) - EC DH Private Key: G,E - EC DH Public Key: G,R - Other Party EC DH Public
Page 22 ↑
NameDescriptio nIndicatorInputsOutputsSecurity FunctionsSSP Access
Key: W,E - DH Private Key: G,E - DH Public Key: W,E - Other Party DH Public Key: W,E - KAS Shared Secret: G,R
Key Derivatio n KDAHash based key derivation for calling applicationfips_service_indi cator set to 1API call paramete rs, shared secretReturn code, derived keying materialKey Derivation Hash BasedCrypto Officer (CO) - KDA Shared Secret: W,E - Derived Keying Material: G,R
TLS Key Derivatio nTLS Key derivation for calling applicationfips_service_indi cator set to 1API call paramete rs, TLS master secretReturn code, TLS KeyKey Derivation TLS 1.2 Key Derivation TLS 1.3Crypto Officer (CO) - TLS Master Secret: W,E - TLS Key Material: G,R
Key Generati onAsymmetri c key generationfips_service_indi cator set to 1API call paramete rsReturn code, key pairSignature Key GenerationCrypto Officer (CO) - ECDSA Signing Key: G,R - ECDSA Verificatio n Key: G,R - RSA
Page 23 ↑
NameDescriptio nIndicatorInputsOutputsSecurity FunctionsSSP Access
Signature Generatio n Key: G,R - RSA Signature Verificatio n Key: G,R - CTR_DR BG V: E - CTR_DR BG Key: E
Key Verificati onAsymmetri c key pair validationfips_service_indi cator set to 1API call paramete rs, key pairReturn codeSignature Key ValidationCrypto Officer (CO) - ECDSA Signing Key: W,E - ECDSA Verificatio n Key: W,E
On- Demand Self-TestOn- Demand Self-Testfips_service_indi cator set to 1N/AReturn CodeAuthenticat ed Decryption Authenticat ed Encryption Decryption Encryption Hashing KAS-ECC- SSC KAS-FFC- SSC Key Derivation Hash Based Key Derivation TLS 1.2 Key Derivation TLS 1.3Crypto Officer (CO)
Page 24 ↑
NameDescriptio nIndicatorInputsOutputsSecurity FunctionsSSP Access
Message Authenticat ion Random Bit Generation Signature Generation Signature Verification
Zeroisati onZeroisationfips_service_indi cator set to 1N/AN/ANoneCrypto Officer (CO) - AES Key: Z - AES- GCM Key: Z - AES Wrapping Key: Z - Wrapped Key: Z - Unwrapp ed Key: Z - ECDSA Signing Key: Z - ECDSA Verificatio n Key: Z - EC DH Private Key: Z - EC DH Public Key: Z - Other Party EC DH Public Key: Z - DH Private Key: Z - DH Public
Page 25 ↑
NameDescriptio nIndicatorInputsOutputsSecurity FunctionsSSP Access
Key: Z - Other Party DH Public Key: Z - KAS Shared Secret: Z - KDA Shared Secret: Z - HMAC Key: Z - RSA Signature Generatio n Key: Z - RSA Signature Verificatio n Key: Z - TLS Master Secret: Z - CTR_DR BG Entropy Input: Z - CTR_DR BG Seed: Z - CTR_DR BG V: Z - CTR_DR BG Key: Z - Derived Keying Material: Z
Show Statusfips_service_indi cator set to 1API call paramete rsReturn code, statusNoneCrypto Officer (CO)
Page 26 ↑
NameDescriptio nIndicatorInputsOutputsSecurity FunctionsSSP Access
Show NameShow module namefips_service_indi cator set to 1API call paramete rsReturn code, string of module nameNoneCrypto Officer (CO)
Show VersionShow module versionfips_service_indi cator set to 1API call paramete rsReturn code, string of module versionNoneCrypto Officer (CO)
NameDescriptionAlgorithmsRole
TLS 1.0/1.1 KDFPerform hashing operations when used with the TLS protocol version 1.0 and 1.1TLS 1.0/1.1 KDF (non-compliant)Crypto Officer (CO)
HashingPerform hashing operationsMD5, MD4Crypto Officer (CO)
Hashing for GCM-SIVUsed as part of AES-GCM- SIVPOLYVALCrypto Officer (CO)
Symmetric encryption/decryptionPerform symmetric encryption and/or decryption operationsDES, Triple-DES (non-compliant) AES (non-compliant)Crypto Officer (CO)
Key TransportPerform RSA PKCS #1 v1.5 key transportRSA PKCS #1 v1.5 key wrapping (non- compliant)Crypto Officer (CO)
Key AgreementPerform non-compliant DH key agreementDH (non-compliant)Crypto Officer (CO)

Table 11: Approved Services The Approved services supported by the module and access rights within services accessible over the module’s public interface are listed in the table above. The corresponding FIPS_service_indicator_xxx function can be called to query the approved algorithm status of the proceeding service call, or the macro CALL_SERVICE_AND_CHECK_APPROVED can be used to automatically check the approved service indicator and inform the calling application whether the service called through the macro was FIPSStatus::APPROVED or FIPSStatus::NOT_APPROVED.

4.4 Non-Approved Services

Table 12: Non-Approved Services Non-Approved Services are listed in the table above.

Page 27 ↑
Target PlatformTools
Android 14• clang compiler version 16.0.0 (http://releases.llvm.org/download.html) • go programming language version 1.21.1 (https://golang.org/dl/) • ninja build system version 1.11.1 (https://github.com/ninjabuild/ninja/releases) • cmake version 3.27.4 (https://cmake.org/download/)
4.5 External Software/Firmware Loaded

This module does not support external software loading.

5 Software/Firmware Security
5.1 Integrity Techniques

The pre-operational integrity test is performed using HMAC-SHA-256.

5.2 Initiate on Demand

The integrity test can be executed on demand by power-cycling the host platform and reloading the module.

5.3 Open-Source Parameters

The module is open-source. To build the approved version of the module the following tools are required to build and compile the module.

6 Operational Environment
6.1 Operational Environment Type and Requirements

Type of Operational Environment: Modifiable The module runs on a GPC, which is a modifiable operational environment, running one of the operating systems specified in Table 2. Each tested operating system manages processes and threads in a logically separated manner. The module’s user is considered the owner of the calling application that instantiates the module. No special configuration of the operating system is required. The module is designed to ensure that the power-up tests are initiated automatically when the module is loaded.

7 Physical Security

As a software module, the physical security requirements are not applicable.

Page 28 ↑
Storage Area NameDescriptionPersistence Type
RAMEphemeral storage in RAMDynamic
NameFromToFormat TypeDistribution TypeEntry TypeSFI or Algorithm
PT InputCalling ApplicationRAMPlaintextN/AElectronic
PT OutputRAMCalling ApplicationPlaintextN/AElectronic
Zeroization MethodDescriptionRationaleOperator Initiation
Power Cycle HostTurn off or power cycle the host computer to clear all RAM contentsAll module SSPs are held ephemerally in RAM, so turning off or power cycling the computer will cause them to be irretrievably lost.Procedural - turn off or power cycle host
8 Non-Invasive Security

The module does not claim any non-invasive security measures.

9 Sensitive Security Parameters Management
9.1 Storage Areas

Table 13: Storage Areas zeroised once no longer needed.

9.2 SSP Input-Output Methods

Table 14: SSP Input-Output Methods The software module inputs and outputs SSP only as part of its API, and normally they are input or output in plaintext. The exceptions are the services that provide key wrapping or key unwrapping, where the wrapped key is entered or output encrypted.

9.3 SSP Zeroization Methods

Table 15: SSP Zeroization Methods The software module has no persistent SSP storage and the zeroisation method for all SSP is currently holds.

Page 29 ↑
NameDescriptio nSize - Strengt hType - CategoryGenerate d ByEstablishe d ByUsed By
AES KeyAES Key128 192 256 - 128 192 256Symmetri c Key - CSPDecryption Encryption
AES-GCM KeyAES-GCM Key128 192 256 - 128 192 256Symmetri c Key - CSPAuthenticated Decryption Authenticated Encryption Message Authenticatio n
AES Wrapping KeyAny calling application keying material the module AES Key Wraps128 192 256 - 128 192 256Symmetri c Key - CSP
Wrapped KeyAny calling application key the module AES Key WrapsAny - AnyAny - CSP
Unwrapped KeyAny calling application keying material the module AES Key UnwrapsAny - AnyAny - CSP
ECDSA Signing KeyECDSA Signing KeyP-224 P- 256 P- 384 P- 521 - 112 128 192 256Private - CSPSignature Key Generatio nSignature Generation Signature Key Validation
ECDSA Verification KeyECDSA Verification KeyP-224 P- 256 P- 384 P- 521 - 112 128 192 256Public - PSPSignature Key Generatio nSignature Key Validation Signature Verification
9.4 SSPs
Page 30 ↑
NameDescriptio nSize - Strengt hType - CategoryGenerate d ByEstablishe d ByUsed By
EC DH Private KeyEC DH Private KeyP-256 P- 384 P- 521 - 128 192 256Private - CSPKAS-ECC- SSCKAS-ECC- SSC
EC DH Public KeyEC DH Private KeyP-256 P- 384 P- 521 - 128 192 256Public - PSPKAS-ECC- SSCKAS-ECC- SSC
Other Party EC DH Public KeyOther Party EC DH Public KeyP-256 P- 384 P- 521 - 128 192 256Public - PSPKAS-ECC- SSC
DH Private KeyDH Private Key2048 - 112Private - CSPKAS-FFC- SSCKAS-FFC- SSC
DH Public KeyDH Public Key2048 - 112Public - PSPKAS-FFC- SSCKAS-FFC- SSC
Other Party DH Public KeyOther Party DH Public Key2048 - 112Public - PSPKAS-FFC- SSC
KAS Shared SecretKAS Shared SecretAt least 112-bit - At least 112-bitShared Secret - CSPKAS-ECC- SSC KAS-FFC- SSC
KDA Shared SecretKDA Shared SecretAt least 112-bit - At least 112-bitShared Secret - CSPKey Derivation Hash Based
Derived Keying MaterialDerived Key112 - 512 - 112 - 512Symmetri c Key - CSPKey Derivation Hash Based
HMAC KeyHMAC KeyAt least 112-bit - At least 112-bitSymmetri c Key - CSPMessage Authenticatio n
RSA Signature Generation KeyRSA Signature Generation Key2048 3072 4096 - 112 128 150Private - CSPSignature Key Generatio nSignature Generation
RSA SignatureRSA Signature2048 3072Public - PSPSignature KeySignature Verification
Page 31 ↑
NameDescriptio nSize - Strengt hType - CategoryGenerate d ByEstablishe d ByUsed By
Verification KeyVerification Key4096 - 112 128 150Generatio n
TLS Master SecretTLS Master SecretAt least 112-bit - At least 112-bitShared Secret - CSPKey Derivation TLS 1.2 Key Derivation TLS 1.3Key Derivation TLS 1.2 Key Derivation TLS 1.3
TLS Key MaterialTLS Keying material from TLS KDF, for use by calling application TLS protocolAt least 112-bit - At least 112-bitSymmetri c Key - CSPKey Derivation TLS 1.2 Key Derivation TLS 1.3
CTR_DRB G Entropy InputCTR_DRB G Entropy Input384 - 384Entropy Input - CSP
CTR_DRB G KeyCTR_DRB G Key256 - 256DRBG CSP - CSPRandom Bit Generatio n
CTR_DRB G SeedCTR_DRB G Seed384 - 384DRBG CSP - CSPRandom Bit Generatio n
CTR_DRB G VCTR_DRB G V128 - 128DRBG CSP - CSPRandom Bit Generatio n
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
AES KeyPT InputRAM:PlaintextUntil function completionPower Cycle Host
AES-GCM KeyPT InputRAM:PlaintextUntil function completionPower Cycle Host
AES Wrapping KeyPT InputRAM:PlaintextUntil function completionPower Cycle HostWrapped Key:Encrypts Unwrapped Key:Decrypts
Page 32 ↑
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
Wrapped KeyPT Input PT OutputRAM:Encrypted RAM:EncryptedUntil function completionPower Cycle HostAES Wrapping Key:Wrapped By
Unwrapped KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostAES Wrapping Key:Unwrapped By
ECDSA Signing KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostECDSA Verification Key:Paired With
ECDSA Verification KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostECDSA Signing Key:Paired With
EC DH Private KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostEC DH Public Key:Paired With Other Party EC DH Public Key:Used With
EC DH Public KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostEC DH Private Key:Paired With
Other Party EC DH Public KeyPT InputRAM:PlaintextUntil function completionPower Cycle HostEC DH Private Key:Used With KAS Shared Secret:Establishes
DH Private KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostDH Public Key:Paired With Other Party DH Public Key:Used With KAS Shared Secret:Establishes
DH Public KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostDH Private Key:Paired With
Other Party DH Public KeyPT InputRAM:PlaintextUntil function completionPower Cycle HostDH Private Key:Used With KAS Shared Secret:Establishes
KAS Shared SecretPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostEC DH Private Key:Established By Other Party EC DH
Page 33 ↑
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs Public Key:Established By DH Private Key:Established By Other Party DH Public Key:Established By
KDA Shared SecretPT InputRAM:PlaintextUntil function completionPower Cycle HostDerived Keying Material:Derives
Derived Keying MaterialPT OutputRAM:PlaintextUntil function completionPower Cycle HostKDA Shared Secret:Derived From
HMAC KeyPT InputRAM:PlaintextUntil function completionPower Cycle Host
RSA Signature Generation KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostRSA Signature Verification Key:Paired With
RSA Signature Verification KeyPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostRSA Signature Generation Key:Paired With
TLS Master SecretPT Input PT OutputRAM:PlaintextUntil function completionPower Cycle HostTLS Key Material:Derives
TLS Key MaterialPT OutputRAM:PlaintextUntil function completionPower Cycle HostTLS Master Secret:Derived From
CTR_DRBG Entropy InputPT InputRAM:PlaintextUntil function completionPower Cycle HostCTR_DRBG Seed:Derives
CTR_DRBG KeyRAM:PlaintextUntil DRBG iunnstantiationPower Cycle HostCTR_DRBG Seed:Derived From
CTR_DRBG SeedRAM:PlaintextUntil DRBG iunnstantiationPower Cycle HostCTR_DRBG Entropy Input:Derived From CTR_DRBG V:Derives CTR_DRBG Key:Derives
CTR_DRBG VRAM:PlaintextUntil DRBG iunnstantiationPower Cycle HostCTR_DRBG Seed:Derived From
Page 34 ↑
Algorithm or TestTest PropertiesTest MethodTest TypeIndicatorDetails
HMAC-SHA2- 256 (A5074)Hardcoded 512 bit keyIntegritySW/FW Integrityreturn code of 1 for success, 0 for failureSingle HMAC over entire module
Algorith m or TestTest Properti esTest MethodTest TypeIndicatorDetailsConditio ns
AES- CBC Encrypt KAT128KATCAS TNone on success. "AES- CBC-encrypt KAT failed" on stderr on failure.Encryptmodule power-up
AES- CBC Decrypt KAT128KATCAS TNone on success. "AES- CBC-decrypt KAT failed" on stderr on failure.Decryptmodule power-up
AES- GCM Encrypt KAT128KATCAS TNone on success. "AES- GCM-encrypt KAT failed" on stderr on failure.Encryptmodule power-up
AES- GCM Decrypt KAT128KATCAS TNone on success. "AES- GCM-decrypt KAT failed" on stderr on failure.Decryptmodule power-up
Counter DRBG KATinitialize, reseed, generate tests, per SP 800- 90Arev1KATCAS TNone on success. "CTR- DRBG failed" on stderr on failure.Instantiat e, Reseed, Generatemodule power-up
10 Self-Tests
10.1 Pre-Operational Self-Tests

Table 18: Pre-Operational Self-Tests Pre-operational self-tests are run upon the initialization of the module. The CAST (Cryptographic Algorithm Self-Test) for HMAC-SHA2-256 is performed before the integrity test. Self-tests do not require operator intervention to run. If any of the tests fail, the module will not initialize and enter an error state where no services can be accessed.

10.2 Conditional Self-Tests
Page 35 ↑
Algorith m or TestTest Properti esTest MethodTest TypeIndicatorDetailsConditio ns
Section 11.3
ECDSA SigGen KATP-256KATCAS TNone on success. "ECDSA-sign KAT failed" on stderr on failure.SignOn first use
ECDSA SigVer KATP-256KATCAS TNone on success. "ECDSA-verify KAT failed" on stderr on failure.VerifyOn first use
HMAC- SHA2- 256 KAT128KATCAS TNone on success. "HMAC-SHA-256 KAT failed" on stderr on failure.MACmodule power-up
KAS- ECC- SSC Sp800- 56Ar3 KATP-256KATCAS TNone on success. "Z- computation KAT failed." on stderr on failure.SSCOn first use
KAS- FFC- SSC Sp800- 56Ar3 KAT2048KATCAS TNone on success. "FFDH failed" on stderr on failure.SSCOn first use
KDA HKDF Sp800- 56Cr1 KATHMAC SHA-256KATCAS TNone on success. "HKDF failed" on stderr on failure.KDFmodule power-up
RSA SigGen KAT2048KATCAS TNone on success. "RSA- sign KAT failed" on stderr on failure.SignOn first use
RSA SigVer KAT2048KATCAS TNone on success. "RSA- verify KAT failed" on stderr on failure.VerifyOn first use
SHA-1 KATn/aKATCAS TNone on success. "SHA- 1 KAT failed" on stderr on failure.Hashmodule power-up
SHA2- 256 KATn/aKATCAS TNone on success. "SHA- 256 KAT failed" on stderr on failure.Hashmodule power-up
SHA2- 512 KATn/aKATCAS TNone on success. "SHA- 512 KAT failed" on stderr on failure.Hashmodule power-up
Page 36 ↑
Algorith m or TestTest Properti esTest MethodTest TypeIndicatorDetailsConditio ns
TLS v1.2 KDF RFC762 7 KATSHA-256KATCAS TNone on success. "TLS12-KDF KAT failed" on stderr on failure.KDFmodule power-up
TLS v1.3 KDF KATSHA-256KATCAS TNone on success. "TLS13-KDF KAT failed" on stderr on failure.KDFmodule power-up
ECDSA KeyGen PCTGenerate d key- pairSign/Veri fy PCTPCTNone on success. "EC_KEY_generate_key_ fips failed" on stderr on failure.Sign/Veri fy PCTKeypair generated
RSA KeyGen PCTGenerate d key- pairSign/Veri fy PCTPCTNone on success. "RSA_generate_key_fips failed" on stderr on failure.Sign/Veri fy PCTKeypair generated
KAS- ECC- SSC Sp800- 56Ar3 PCTGenerate d key- pairSP 800- 56Arev3 validity testsPCTNone on success. Module aborted on failure.SP 800- 56Arev3 validity testsKeypair generated
KAS- FFC- SSC Sp800- 56Ar3 PCTGenerate d key- pairSP 800- 56Arev3 validity testsPCTNone on success. Module aborted on failure.SP 800- 56Arev3 validity testsKeypair generated
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
HMAC-SHA2-256 (A5074)IntegritySW/FW Integrity

Table 19: Conditional Self-Tests Conditional cryptographic algorithm self-tests (CAST) are run prior to the first use of the cryptographic algorithm. CASTs do not require operator intervention to run. If any of the tests fail, the module will enter an error state and no services can be accessed. Pair-wise consistency tests (PCT) are run during the module’s operation when a new asymmetric keypair is generated. If any of these tests fail, the module will enter an error state, where no services can be accessed by the operators. The module can be re-initialized to clear the error and resume approved mode of operation.

10.3 Periodic Self-Test Information

Table 20: Pre-Operational Periodic Information

Page 37 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
AES-CBC Encrypt KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
AES-CBC Decrypt KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
AES-GCM Encrypt KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
AES-GCM Decrypt KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
Counter DRBG KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
ECDSA SigGen KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
ECDSA SigVer KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
HMAC-SHA2-256 KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
KAS-ECC-SSC Sp800-56Ar3 KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
KAS-FFC-SSC Sp800-56Ar3 KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
KDA HKDF Sp800- 56Cr1 KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
RSA SigGen KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
RSA SigVer KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
SHA-1 KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
SHA2-256 KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
Page 38 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
SHA2-512 KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
TLS v1.2 KDF RFC7627 KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
TLS v1.3 KDF KATKATCASTOperator chosenManually call On-Demand Self-Test service or restart module
ECDSA KeyGen PCTSign/Verify PCTPCTn/an/a
RSA KeyGen PCTSign/Verify PCTPCTn/an/a
KAS-ECC-SSC Sp800-56Ar3 PCTSP 800-56Arev3 validity testsPCTn/an/a
KAS-FFC-SSC Sp800-56Ar3 PCTSP 800-56Arev3 validity testsPCTn/an/a
NameDescriptionConditionsRecovery MethodIndicator
Error stateThe module's error stateFailure of any FIPS self-testRestart the modulePossible indication of failed test on stderr. Module aborts.

Table 21: Conditional Periodic Information A level 1 module does not require automatic periodic self-testing, however self-tests can be

10.4 Error States

Table 22: Error States The module’s single error state is shown above.

11 Life-Cycle Assurance
11.1 Installation, Initialization, and Startup Procedures

The cryptographic module is initialized by loading the module before any cryptographic functionality is available. In User Space the operating system is responsible for the initialization process and loading of the library. General guidance about the module can be found at https://boringssl.googlesource.com/boringssl. This includes information about the APIs, building

Page 39 ↑

and specific information related to FIPS can be found at https://github.com/google/boringssl/blob/main/crypto/fipsmodule/FIPS.md. The module is open source and must be built on a Linux workstation using the tools in section

5.3 Open Source Parameters.

The necessary Android build tools that are configured as part of the manifest. Running the envsetup.sh script will ensure that the proper environment is set to build the library for Android. Download the manifest from https://ci.android.com/builds/submitted/10050109/aosp_cf_arm64_phone-userdebug/latest by clicking the Download button. Verify the manifest using the following command: sha256sum ~/manifest_10050109.xml Manually validate that the output from the final command indicates the following expected hash values for this file: 5f8701016e3c39503e26c81e0facb6ab386319b94f5d2508288907e652060d92 manifest_10050109.xml The module can be obtained by issuing the following commands: mkdir aosp cd aosp ~/repo init -u https://android.googlesource.com/platform/manifest --depth 1 ~/repo init -m ~/manifest_10050109.xml ~/repo sync -q -c -j 50 To build the correct test tools (the test_fips components below, not the module), the following additional steps need to be followed: cd external/boringssl git fetch https://android.googlesource.com/platform/external/boringssl refs/changes/99/2775199/2 && git cherry-pick FETCH_HEAD git fetch https://android.googlesource.com/platform/external/boringssl refs/changes/28/2778328/2 && git cherry-pick FETCH_HEAD cd src/util/fipstools nano break-kat.go Change the first line of the file to be: //go:build ignore Save and exit Once downloaded, the module and testing components can be built using the following commands: croot . build/envsetup.sh lunch aosp_arm64-eng m clean m test_fips

Page 40 ↑

Retrieving Module name and version The following methods will provide the module name and versions:

11.2 Administrator Guidance

CSP Sharing Non-Approved cryptographic algorithms shall not share the same key or CSP as an approved algorithm. As such, Approved algorithms shall not use the keys generated by the module’s NonApproved key generation methods or the converse.

11.3 Non-Administrator Guidance

The module does not support a non-administrator role.

11.7 Additional Information

The source code for the module is maintained in a git repository. While in development, work on the code is maintained internally, before eventually being released externally. BoringCrypto is released publicly to https://boringssl.googlesource.com/boringssl (this is the generic version, available under the Building for Linux instructions). The version number is determined by the developer releasing the version, though git attaches hashes to every single file and branch in the repository.

12 Mitigation of Other Attacks

The module is not designed to mitigate against attacks that are outside of the scope of FIPS 140-3.