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

CryptoComply BoringCrypto Module

Certificate#5264StandardFIPS 140-3Level1TypeSoftwareEmbodimentMultiChipStandStatusActiveVendorSafeLogic, Inc.
Low review priority  ·  no TCB surface named  ·  last validated 7 months ago. How this is derived →

Certificate

StandardFIPS 140-3
Overall level1
Module typeSoftware
EmbodimentMultiChipStand
StatusActive
Sunset date7/22/2029
CaveatNo assurance of the minimum strength of generated SSPs (e.g., keys). When operated in approved mode.
VendorSafeLogic, Inc.

Approved Algorithms (28)

AlgorithmACVP Cert
AES-CBCA2811
AES-CCMA2811
AES-CTRA2811
AES-ECBA2811
AES-GCMA2811
AES-KWA2811
AES-KWPA2811
Counter DRBGA2811
ECDSA KeyGen (FIPS186-4)A2811
ECDSA KeyVer (FIPS186-4)A2811
ECDSA SigGen (FIPS186-4)A2811
ECDSA SigVer (FIPS186-4)A2811
HMAC-SHA-1A2811
HMAC-SHA2-224A2811
HMAC-SHA2-256A2811
HMAC-SHA2-384A2811
HMAC-SHA2-512A2811
KAS-ECC-SSC Sp800-56Ar3A2811
KDF TLSA2811
RSA KeyGen (FIPS186-4)A2811
RSA SigGen (FIPS186-4)A2811
RSA SigVer (FIPS186-4)A2811
SHA-1A2811
SHA2-224A2811
SHA2-256A2811
SHA2-384A2811
SHA2-512A2811
SHA2-512/256A2811

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 CryptoComply BoringCrypto Module
  %% 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>Status Output<br/>Self-Test<br/>Show Status</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"]
    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 CryptoComply BoringCrypto Module
  %% 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>Status Output<br/>Self-Test<br/>Show Status</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 C3,C5,C6 clueLow;

Security Policy, page by page

Page 1 ↑

SafeLogic, Inc. CryptoComply BoringCrypto Module Software Version 2022061300 Document Version 1.0 February 10, 2026 SafeLogic, Inc.

8300 Boone Blvd., Suite 500

Vienna, VA 22182 www.safelogic.com

Page 2 ↑
Table of Contents
#SectionPage
Page 3 ↑

List of Tables List of Figures

Page 4 ↑
1 General
1.1 Overview

This document provides a non-proprietary FIPS 140-3 Security Policy for CryptoComply BoringCrypto Module. SafeLogic, Inc.'s CryptoComply BoringCrypto Module is designed to provide FIPS 140-3 validated cryptographic functionality and is available for licensing. For more information, visit www.safelogic.com/cryptocomply.

1.1.1 About FIPS 140

Federal Information Processing Standards Publication 140-3, Security Requirements for Cryptographic Modules, (FIPS 140-3) specifies the latest requirements for cryptographic modules utilized to protect sensitive but unclassified information. The National Institute of Standards and Technology (NIST) and Canadian Centre for Cyber Security (CCCS) collaborate to run the Cryptographic Module Validation Program (CMVP), which assesses conformance to FIPS 140. NIST (through NVLAP) accredits independent testing labs to perform FIPS 140 testing. The CMVP reviews and validates modules tested against FIPS 140 criteria. Validated is the term given to a module that has successfully gone through this FIPS 140 validation process. Validated modules receive a validation certificate that is posted on the CMVP’s website. More information is available on the CMVP website at: https://csrc.nist.gov/projects/cryptographic-module-validation-program.

1.1.2 About this Document

This non-proprietary cryptographic module Security Policy for CryptoComply BoringCrypto Module from SafeLogic, Inc. (SafeLogic) provides an overview of the product and a high-level description of how it meets the security requirements of FIPS 140-3. This document includes details on the module’s cryptographic capabilities, services, sensitive security parameters, and self-tests. This Security Policy also includes guidance on operating the module while maintaining compliance with FIPS 140-3. CryptoComply BoringCrypto Module may also be referred to as “the module” in this document.

1.1.3 External Resources

The SafeLogic website (www.safelogic.com) contains information on SafeLogic services and products. The CMVP website maintains all FIPS 140 certificates for SafeLogic’s FIPS 140 validations. These certificates also include SafeLogic contact information.

Page 5 ↑
1.1.4 Notices

This document may be freely reproduced and distributed, but only in its entirety and without modification.

1.1.5 Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design, and manufacturing. SafeLogic shall have no liability for any error or damages of any kind resulting from the use of this document.

Page 6 ↑
ISO/IEC 24759 Section 6.FIPS 140-3 ISO Section TitleSecurity 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
1.2 Security Levels

The module meets the overall Level 1 security requirements of FIPS 140-3. The following table lists the level of validation for each area in FIPS 140-3: Table 1 - Security Levels

Page 7 ↑
2 Cryptographic Module Specification
2.1 Description

Purpose and Use: The CryptoComply BoringCrypto Module is a standards-based “Drop-in Compliance™” cryptographic module. The module delivers core cryptographic functions for BoringSSL and other user-space applications, including applications for the Go language. The module is intended for use in environments specified in Table 2 below and any general-purpose environment that requires cryptographic primitives. The installation instructions are provided in Section

11 of this document.

Module Type: Software Module Embodiment: Multi-Chip Stand Alone Cryptographic Boundary: The boundary of the module is defined as a single object file, bcm.o. The Tested Operational Environment’s Physical Perimeter (TOEPP) of the module is the physical perimeter of the tested environment (as listed in Table 2 below). The module’s block diagram and boundary are shown in Figure 1, below.

Page 8 ↑
#Operating SystemHardware PlatformProcessorPAA / Acceleration
1Android 13Google Pixel 7 ProGoogle Tensor G2 64-bit and 32-bitWith PAA
2Android 13Google Pixel 7 ProGoogle Tensor G2 64-bit and 32-bitWithout PAA
3Android 13Google Pixel 6 ProGoogle Tensor 64-bit and 32-bitWith PAA

Figure 1 – Module Block Diagram and Boundary

2.2 Tested and Vendor Affirmed Module Version and Identification

Tested Module Identification – Software, Firmware, Hybrid (Executable Code Sets): The boundary of the module is defined as a single object file, bcm.o. The module version is: 2022061300. Tested Operational Environments - Software, Firmware, Hybrid: The module was tested on the following operational environments: Table 2 - Tested Operational Environments

Page 9 ↑
#Operating SystemHardware PlatformProcessorPAA / Acceleration
4Android 13Google Pixel 6 ProGoogle Tensor 64-bit and 32-bitWithout PAA
5Android 13Google Pixel 5aQualcomm Snapdragon 765 64-bit and 32-bitWith PAA
6Android 13Google Pixel 5aQualcomm Snapdragon 765 64-bit and 32-bitWithout PAA
7Android 13Google Pixel 4aQualcomm Snapdragon 730 64-bit and 32-bitWith PAA
8Android 13Google Pixel 4aQualcomm Snapdragon 730 64-bit and 32-bitWithout PAA
9Android 13Google Pixel 4XLQualcomm Snapdragon 855 64- bit and 32-bitWith PAA
10Android 13Google Pixel 4XLQualcomm Snapdragon 855 64- bit and 32-bitWithout PAA
11Google Prodimage with Linux 5.10.120IN762IN762With PAA
12Google Prodimage with Linux 5.10.120IN762IN762Without PAA
13Google Prodimage with Linux 4.15.0Tau t2aAmpere AltraWith PAA
14Google Prodimage with Linux 4.15.0Tau t2aAmpere AltraWithout PAA
15Debian Linux 5.17.11 (Rodete)n2dAMD EPYC 7B12With PAA
16Debian Linux 5.17.11 (Rodete)n2dAMD EPYC 7B12Without PAA
17Google Prodimage with Linux 4.15.0n1Intel Xeon E5 2696 v4With PAA
18Google Prodimage with Linux 4.15.0n1Intel Xeon E5 2696 v4Without PAA

Vendor-Affirmed Operational Environments - Software, Firmware, Hybrid: The cryptographic module is also supported on the following operational environments for which operational testing and algorithm testing was not performed. Porting guidance is defined in the FIPS 140-3 CMVP Management Manual Section 7.9. FIPS 140-3 validation compliance can be maintained when the following requirements are met:

Page 10 ↑
#Operating SystemHardware Platform
1Linux 4.Xx86_64 architecture ARMv7 architecture ARMv8 architecturex86_64 architecture ARMv7 architecture ARMv8 architecture
2Linux 5.XX86_64 architecture ARMv7 architecture ARMv8 architecture
3Linux 6.Xx86_64 architecture ARMv7 architecture ARMv8 architecture
CAVP Cert1Algorithm and StandardMode/MethodDescription / Key Size(s) / Key Strength(s)Use / Function
A2811AES FIPS 197 SP 800-38ACBC, ECB, CTRKey sizes: 128, 192, 256 bits; Strength: 128, 192, 256 bitsEncryption, Decryption

The 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 specified operational environment is not listed as tested on the validation certificated. Table 3 - Vendor Affirmed Operational Environments

2.3 Modes of Operation

The module supports two modes of operation: Approved and Non-approved. The module will be in Approved mode when all self-tests have completed successfully, and only Approved algorithms are invoked. See Table 4 and Table 5 for a list of the supported Approved algorithms. The non-Approved mode is entered when a non-Approved algorithm is invoked. See Table 6 for a list of non-Approved algorithms.

2.4 Algorithms
2.4.1 Approved Algorithms

Table 4 lists all the approved algorithms implemented in the module: Table 4 - Approved Algorithms There are algorithms that have been CAVP-tested on the same certificate but are not used by any approved service of the module. Only the algorithms, modes/methods, and key lengths/curves/moduli shown in this table are used by an approved service of the module.

Page 11 ↑
CAVP Cert1Algorithm and StandardMode/MethodDescription / Key Size(s) / Key Strength(s)Use / Function
A2811AES FIPS 197 SP 800-38DGCMKey sizes: 128, 192, 256 bits; Strength: 128, 192, 256 bitsAuthenticated Encryption, Authenticated Decryption
A2811AES FIPS 197 SP 800-38CCCMKey size: 128 bits; Strength: 128 bitsAuthenticated Encryption, Authenticated Decryption
A2811AES, KTS FIPS 197 SP 800-38FKW, KWPKey sizes: 128, 192, 256 bits; Strength: 128, 192, 256 bitsKey Transport per IG D.G Key establishment methodology provides between 128 and 256 bits of encryption strength
CVL A2811TLS v1.0/1.1N/ASHA2-256, SHA2- 384,Key Derivation
and v1.2 KDF2SHA2-512;
SP 800-Strength: 256, 384, 512
135rev1bits
Vendor AffirmedCKGSP 800-133rev2Cryptographic Key Generation: Section 5: Generation of Key Pairs for Asymmetric-Key Algorithms, Section 6.1: The “Direct Generation” of Symmetric KeysKey Generation Symmetric keys and seeds are generated as the direct output of the DRBG
A2811DRBGCTR_DRBGAES-256;Random Bit Generation
SP 800-Key size: 256 bits;
90Arev1Strength: 256 bits
A2811ECDSA FIPS 186-4Key Pair Generation, Signature Generation, Signature Verification, Public Key ValidationP-224, P-256, P-384, P- 521; Strength: 112, 128, 192, 256 bitsDigital Signature Services
A2811HMAC FIPS 198-1Generate, VerifyHMAC-SHA-1, HMAC-SHA2-224, HMAC-SHA2-256, HMAC-SHA2-384, HMAC-SHA2-512; Strength: 128, 192, 256, 384, 512 bitsGeneration, Authentication

No parts of this protocol, other than the approved cryptographic algorithms and the KDFs, have been tested by the

Page 12 ↑
CAVP Cert1Algorithm and StandardMode/MethodDescription / Key Size(s) / Key Strength(s)Use / Function
A2811RSA FIPS 186-4Key Generation, Signature Generation, Signature Verification PKCS 1.5 and PSS10243, 2048, 3072, 4096; Strength: 80, 112, 128, 152 bitsDigital Signature Services
A2811SHA FIPS 180-4HashingSHA-14, SHA2-224, SHA2-256, SHA2-384, SHA2-512, SHA2- 512/256; Strength: 80, 112, 128, 192, 256, 128 bitsDigital Signature Generation, Digital Signature Verification, Non-Digital Signature Applications
A2811KAS-SSC SP 800- 56Arev3KAS-ECC-SSC ephemeralUnifiedECC: P-224, P-256, P- 384 and P-521; Strength: 112, 128, 192, 256 bitsKey Agreement Scheme Shared Secret Computation per SP 800-56Arev3; Key establishment methodology provides between 112 and 256 bits of security strength
AlgorithmCaveatUse / Function
MD5As allowed per SP 800-135rev1 (No security claimed)When used with the TLS protocol version 1.0 and 1.1
Algorithm/FunctionUse/Function
MD5, MD4Non-Approved hashing
POLYVALNon-Approved authenticated encryption
DES, Triple-DES (non-compliant)Non-Approved encryption/decryption
AES-GCM-SIV (non-compliant)Non-Approved encryption/decryption
DH (non-compliant)Non-Approved key agreement

These algorithms are Allowed in Approved mode. These algorithms are not Allowed in Approved mode. Table 6 - Non-Approved Algorithms Not Allowed in the Approved Mode of Operation Key size 1024 should be only used for Signature Verification Used for non-digital signature applications or to verify existing digital signatures only

Page 13 ↑
2.5 Overall Security Design and Rules of Operation
2.5.1 Usage of AES-GCM

AES GCM encryption and decryption are used in the context of the TLS protocol version 1.2 (compliant to Scenario 1a in FIPS 140-3 IG C.H). The module is compliant with NIST SP 800-52 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, users of the module must not utilize GCM with an externally generated IV. 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. The module implements the KDF TLS 1.2, and other cryptographic primitives used in TLS 1.2, but does not implement the TLS 1.2 protocol itself.

2.5.2 RSA and ECDSA Keys

The module allows the use of 1024-bit RSA keys for legacy purposes including signature generation, which is disallowed in Approved mode as per NIST SP 800-131Arev2. Therefore, cryptographic operations with the Non-Approved key sizes will result in the module operating in Non-Approved mode. The elliptic curves utilized shall be the validated NIST-recommended curves and shall provide a minimum of 112 bits of encryption strength.

2.5.3 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 Non-Approved key generation methods or the converse.

Page 14 ↑
Logical interfaceData that passes over port/interface
Data InputAPI input parameters
Data OutputAPI output parameters and return values
Control InputAPI input parameters
Status OutputAPI return values
3 Cryptographic Module Interfaces

consists of the output parameters of the API functions. The Control Input interface consists of the actual Table 7 - Ports and Interfaces The module does not implement a power input interface or a control output interface. As a software module, control of the physical ports is outside the module scope. When the module is performing selftests, or is in an error state, all output on the module’s logical data output interfaces is inhibited.

Page 15 ↑
RoleServiceInputOutput
COSymmetric EncryptionPlaintext, encryption keyReturn code, ciphertext
COSymmetric DecryptionCiphertext, decryption keyReturn code, plaintext
COKeyed HashingMessage, keyReturn code, Message Authentication Code
COHashingMessageReturn code, hash
CORandom Bit GenerationAPI call parametersReturn code, random bits
COSignature GenerationMessage, signing keyReturn code, signature
COSignature VerificationSignature, verification keyReturn code
COKey TransportAPI call parameters, wrapping keyReturn code, wrapped key
COKey AgreementAPI call parametersReturn code, shared secret
COTLS Key DerivationAPI call parameters, TLS pre-master secretReturn code, TLS Key
COKey GenerationAPI call parametersReturn code, key pair
COKey VerificationAPI call parameters, key pairReturn code
COOn-Demand Self-TestN/AReturn code
COZeroizationN/AN/A
COShow StatusAPI call parametersReturn code, status
4 Roles, Services, and Authentication
4.1 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 operator is allowed, and no concurrent operators are allowed. The module does not support operator authentication.

4.3 Approved Services

The Approved services supported by the module and access rights within services accessible over the module’s public interface are listed in Table 8 below: Table 8 - Roles, Service Commands, Input and Output Approved services are listed in Table 9. The modes of SSP access shown in the table are defined as:

Page 16 ↑
ServiceDescriptionApproved Security FunctionsKeys and/or SSPsRolesAccess Rights to Keys and/or SSPsIndicator
Symmetric EncryptionPerform symmetric encryption operationsAES CBC, ECB, CTR, CCM (Cert. #A2811) CKGAES Key, AES- GCM KeyCOW, E1
Symmetric DecryptionPerform symmetric decryption operationsAES CBC, ECB, CTR, GCM, CCM (Cert. #A2811) CKGAES Key, AES- GCM Key, AES- GCM IVCOW, E1
Keyed HashingPerform keyed hashing operationsHMAC-SHA-1, HMAC-SHA2-224, HMAC-SHA2-256, HMAC-SHA2-384, HMAC-SHA2-512 (Cert. #A2811)HMAC KeyCOW, E1
HashingPerform hashing operationsSHA-1, SHA2-224, SHA2-256, SHA2-384, SHA2-512, SHA2- 512/256 (Cert. #A2811)N/ACON/A1
Random Bit GenerationGenerate random numbersCTR_DRBG (Cert. #A2811) CKGDRBG Seed, CTR_DRBG V, CTR_DRBG KeyCOG, E1
DRBG outputCOG, R
CTR_DRBG Entropy InputCOW, E
Signature GenerationPerform signing operationsCTR_DRBG, RSA SigGen, ECDSA SigGen (Cert. #A2811)RSA Signature Generation Key, ECDSA Signing KeyCOG, W, E1
Signature VerificationPerform verification operationsRSA SigVer, ECDSA SigVer (Cert. #A2811)RSA Signature Verification Key, ECDSA Verification KeyCOG, W, E1
Key TransportPerform key encryption operations; KTS using AES-KW, AES-KWP per IG D.GAES KW, KWP (Cert. #A2811) CKGAES Wrapping KeyCOW, E1
Page 17 ↑
ServiceDescriptionApproved Security FunctionsKeys and/or SSPsRolesAccess Rights to Keys and/or SSPsIndicator
Key AgreementPerform key agreement operationsKAS-ECC-SSC (Cert. #A2811)EC DH Private Key, EC DH Public KeyCOG, W, E1
Shared SecretG
TLS Key DerivationPerform key derivation operationsTLS KDF (Cert. #A2811)TLS Pre-Master SecretCOW, E1
TLS Master SecretG, E
Key GenerationPerform generation operationsCTR_DRBG, RSA KeyGen, ECDSA KeyGen (Cert. #A2811) CKGRSA Signature Generation Key, ECDSA Signing KeyCOG, W, E1
Key VerificationPerform key pair verification operationsECDSA KeyVer (Cert. #A2811)ECDSA Signing Key, ECDSA Verification KeyCOG, W, E1
On-DemandExecute self-tests onN/AN/ACON/A1
Self-Testdemand
ZeroizationZeroize all SSPsN/AAll SSPsCOZN/A
Show StatusObtain the module status and versioning informationN/AN/ACON/AN/A
ServiceDescriptionAlgorithms AccessedRoleIndicator
Hashing (as allowed per SP 800-Perform hashing operations when usedMD5CO0
135rev1)with the TLS protocol version 1.0 and 1.1
HashingPerform hashing operationsMD4CO0
HashingUsed as part of AES-GCM-SIVPOLYVALCO0
Symmetric encryption/decryptionPerform symmetric encryption and/or decryption operationsDES Triple-DES AESCO0
Key GenerationPerform generation operationsDHCO0
RSA Primitives (RSADP, RSAEP, RSASP, RSAVP)Perform RSA related primitive operations (decrypt, encrypt, sign, verify)RSACO0
4.4 Non-Approved Services

Non-Approved Services are listed in Table 10 below: Table 10 - Non-Approved Services

Page 18 ↑
5 Software/Firmware Security

The form of the module is a single object file, bcm.o. The pre-operational integrity test is performed using HMAC-SHA2-256. The integrity test can be executed on demand by power-cycling the host platform and reloading the module. The module does not support software loading. Please refer to Section 11.1 for instructions on compiling the source code into executable.

Page 19 ↑
6 Operational Environment

The module runs on a General Purpose Computer (GPC), which is a modifiable operational environment, running one of the operating systems specified in Table 2. Each approved 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 specific security rules, settings or restrictions to the configuration of the operational environment apply to the module. The module is designed to ensure that all the self-tests are initiated automatically when the module is loaded.

Page 20 ↑
7 Physical Security

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

Page 21 ↑
8 Non-Invasive Security

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

Page 22 ↑
Key/SSP Name/TypeStrengthSecurity Function and Cert. NumberGenerationImport/ ExportEstablishmentStorageZeroisationUse & Related Keys
AES Key (CSP)128/192/256 bitsAES-CBC, ECB, CTR, CCM A2811ExternalInput via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostAES encrypt / decrypt
AES-GCM Key (CSP)128/192/256 bitsAES-GCM A2811ExternalInput via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostAES decrypt / verify
AES-GCM IV5 (CSP)96 bitsAES-GCM A2811ExternalInput via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostAES decrypt / verify
AES Wrapping Key (CSP)128/192/256 bitsAES-KW, AES-KWP A2811ExternalInput via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle HostAES key wrapping
9 Sensitive Security Parameter Management

All the SSPs are zeroized implicitly when the host platform is restarted. The various SSPs used by the module are listed in Table 11 below: Table 11 - SSPs As specified in Section 2.5.1, usage of externally generated IV is only allowed for AES-GCM decryption in the approved mode of operation.

Page 23 ↑
Key/SSP Name/TypeStrengthSecurity Function and Cert. NumberGenerationImport/ ExportEstablishmentStorageZeroisationUse & Related Keys
ECDSA Signing Key (CSP)112/128/192/256 bitsECDSA SigGen A2811Internally GeneratedInput via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostECDSA signature generation
ECDSA Verification Key (PSP)112/128/192/256 bitsECDSA SigVer A2811Internally GeneratedInput via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle HostECDSA signature verification
EC DH Private Key (CSP)112/128/192/256 bitsECDSA KeyGen A2811Internally GeneratedInput via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostKey Agreement
Page 24 ↑
Key/SSP Name/TypeStrengthSecurity Function and Cert. NumberGenerationImport/ ExportEstablishmentStorageZeroisationUse & Related Keys
EC DH Public Key (PSP)112/128/192/256 bitsECDSA KeyGen A2811Internally GeneratedInput via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostKey Agreement
HMAC Key (CSP)128/192/256/384/512 bitsHMAC-SHA-1, HMAC-SHA2- 224, HMAC- SHA2-256, HMAC-SHA2- 384, HMAC- SHA2-512 A2811ExternalInput via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostKeyed hashing
Shared Secret (CSP)112/128/192/256 bitsKAS-ECC-SSC A2811Internally GeneratedN/ASP 800- 56Arev3Plaintext in RAMPower-cycle hostKey Agreement
RSA Signature Generation Key (CSP)112, 128, 152 bitsRSA SigGen A2811Internally GeneratedInput via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostRSA signature generation
Page 25 ↑
Key/SSP Name/TypeStrengthSecurity Function and Cert. NumberGenerationImport/ ExportEstablishmentStorageZeroisationUse & Related Keys
RSA Signature Verification Key (PSP)80, 112, 128, 152 bitsRSA SigVer A2811Internally GeneratedInput via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostRSA signature verification
TLS Master Secret (CSP)384 bitsTLS KDF A2811Internally Derived via key derivation function defined in SP 800-135rev1 KDF (TLS)N/AN/APlaintext in RAMPower-cycle hostTLS key derivation
TLS Pre- Master Secret (CSP)112-256 bitsTLS KDF A2811ExternalInput via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostTLS key derivation
DRBG Seed (CSP)384 bitsCTR_DRBG A2811Internally GeneratedN/AN/APlaintext in RAMPower-cycle hostDRBG Seeding material
CTR_DRBG V (CSP)128 bitsCTR_DRBG A2811Internally GeneratedN/AN/APlaintext in RAMPower-cycle hostDRBG internal state
CTR_DRBG Key (CSP)256 bitsCTR_DRBG A2811Internally GeneratedN/AN/APlaintext in RAMPower-cycle hostDRBG internal state
Page 26 ↑
Key/SSP Name/TypeStrengthSecurity Function and Cert. NumberGenerationImport/ ExportEstablishmentStorageZeroisationUse & Related Keys
CTR_DRBG Entropy Input (CSP)384 bits used as seed, quality of entropy at least 112 bitsCTR_DRBG A2811ExternalInput via API in plaintext (Electronic Entry)N/APlaintext in RAMPower-cycle hostDRBG entropy
DRBG output2048 bitsCTR_DRBG A2811Internally GeneratedN/AN/APlaintext in RAMPower-cycle hostRandom bits provided for the calling application
Entropy sourcesMinimum number of bits of entropyDetails
Passive Entropy112 bits and aboveUse of 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

Table 12 - Non-Deterministic Random Number Generation Specification

Page 27 ↑
10 Self-Tests

ISO/IEC 19790 requires the module to perform self-tests to ensure the integrity of the module and the correctness of the cryptographic functionality. Some functions also require conditional tests during normal operation of the module. The self-tests can be requested on demand by power cycling the host platform.

10.1 Pre-Operational Self-Tests

Pre-operational self-tests are run upon the initialization of the module and further reboots of the host platform. 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. The module implements the following pre-operational self-tests: • Software Integrity Test (HMAC-SHA2-256)

10.2 Conditional Self-Tests
10.2.1 Cryptographic Algorithm Self-Tests
Table, extracted as text (did not parse into structured rows)
Conditional Cryptographic Algorithm Self-Tests (CASTs) 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. The module implements the following CASTs: •   AES CBC Encryption KAT (128 bits) •   AES CBC Decryption KAT (128 bits) •   AES-GCM Encryption KAT (128 bits) •   AES-GCM Decryption KAT (128 bits) •   DRBG CAST, per SP 800-90Arev1 Section 11.3 (Instantiate, Generate, Reseed) •   ECDSA Signature Generation KAT (P-256) •   ECSDA Signature Verification KAT (P-256) •   KAS-ECC SP 800-56Arev3 KAT (P-256) •   HMAC-SHA2-256 KAT •   RSA Signature Generation KAT (2048 bits, PKCSv1.5) •   RSA Signature Verification KAT (2048 bits, PKCSv1.5) •   SHA-1 KAT •   SHA2-256 KAT
Page 28 ↑
10.2.2 Pairwise Consistency Self-Tests

Conditional pairwise consistency self-tests are run during the module’s operation. 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. The module implements the following conditional pairwise consistency tests. The below PCTs are executed whenever a new key pair is generated:

10.3 Error States

The module has a single error state, which is called the error state. This state is entered upon failure of a self-test. The module indicates this error state by providing the output status “*** KAT failed” where *** is the algorithm name (example: ECDSA-sign KAT failed). The module can be recovered by terminating execution of the host program and reclamation by the host operating system. The supported tests are listed and described in this section.

Page 29 ↑
11 Life-Cycle Assurance

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. There are no maintenance requirements applicable. General guidance about the module can be found at https://boringssl.googlesource.com/boringssl. This includes information about the APIs and building the module. Specific information related to FIPS can be found at https://boringssl.googlesource.com/boringssl.git/+/refs/heads/fips20220613/crypto/fipsmodule/FIPS.md (note this still mentions FIPS 140-2, but the information there is the same for FIPS 140-3).

11.1 Installation Instructions

The module may be provided as source code or as a compiled module. A Linux workstation with the following tools is required to build and compile the module: Android 13 git 2.23 or later (https://git-scm.com/download/linux) base64, curl, sha256sum (these should come with the Linux installation) Linux Clang compiler version 14.0.0 (http://releases.llvm.org/download.html) Go programming language version 1.18.1 (https://golang.org/dl/) Ninja build system version 1.10.2 (https://github.com/ninjabuild/ninja/releases) Cmake version 3.22.1 (https://cmake.org/download/)

11.1.1 Building for Android

Once a Linux workstation with the above tools has been obtained, issue the following commands to download and verify repo: curl 'https://gerrit.googlesource.com/git-repo/+/e778e57f11/repo?format=TEXT' | base64 -d > ~/repo chmod u+x ~/repo gpg --recv-key 8BB9AD793E8E6153AF0F9A4416530D5E920F5C65 curl https://storage.googleapis.com/git-repo-downloads/repo.asc | gpg --verify - ~/repo

Page 30 ↑

Download the manifest from https://ci.android.com/builds/submitted/8918218/aosp_arm64userdebug/latest/manifest_8918218.xml by clicking the Download button. Verify the manifest using the following command: Sha256sum ~/manifest_8918218.xml Manually validate that the output from the final command indicates the following expected hash values for this file: fae7a587167b3b3ebdf5b2c53335a1d1827beddcf23d2788d07f3bbbe9ff7182manifest_8918218.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_8918218.xml ~/repo sync -q -c -j 20 Once downloaded, the module can be built using the following command: . build/envsetup.sh lunch aosp_arm64-eng m clean m test_fips

11.1.2 Building for Linux

Once the above tools have been obtained, issue the following command to create a Cmake toolchain file to specify the use of Clang: printf "set(CMAKE_C_COMPILER \"clang\")\nset(CMAKE_CXX_COMPILER \"clang++\")\n" > ${HOME}/toolchain The FIPS 140-3 validated release of the module can be obtained by downloading the tarball containing the source code at the following location: https://commondatastorage.googleapis.com/chromium-boringssl-fips/boringssl0c6f40132b828e92ba365c6b7680e32820c63fa7.tar.xz

Page 31 ↑

or by issuing the following command: wget https://commondatastorage.googleapis.com/chromium-boringssl-fips/boringssl0c6f40132b828e92ba365c6b7680e32820c63fa7.tar.xz The set of files specified in the archive constitutes the complete set of source files of the validated module. There shall be no additions, deletions, or alterations of this set as used during module build. The downloaded tarball file can be verified using the below SHA2-256 digest value: 62f733289f2d677c2723f556aa58034c438f3a7bbca6c12b156538a88e38da8a By issuing the following command: sha256sum boringssl-0c6f40132b828e92ba365c6b7680e32820c63fa7.tar.xz The tarball can be extracted using the following command: tar xJ < boringssl-0c6f40132b828e92ba365c6b7680e32820c63fa7.tar.xz After the tarball has been extracted, the following commands will compile the module: cd boringssl mkdir build && cd build && cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=${HOME}/toolchain -DFIPS=1 DCMAKE_BUILD_TYPE=Release .. ninja && ninja run_tests

11.2 Retrieving Module Name and Version

The following methods will provide the module name and versions:

Page 32 ↑
12 Mitigation of Other Attacks

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

Page 33 ↑
AbbreviationFull Specification Name
FIPS 140-3Security Requirements for Cryptographic modules
FIPS 180-4Secure Hash Standard (SHS)
FIPS 186-4Digital Signature Standard (DSS)
FIPS 197Advanced Encryption Standard
FIPS 198-1The Keyed-Hash Message Authentication Code (HMAC)
IGImplementation Guidance for FIPS PUB 140-3 and the Cryptographic Module Validation Program
SP 800-38ARecommendation for Block Cipher Modes of Operation: Three Variants of Ciphertext Stealing for CBC Mode
SP 800-38CRecommendation for Block Cipher Modes of Operation: the CCM Mode for Authentication and Confidentiality
SP 800-38DRecommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC
SP 800-38FRecommendation for Block Cipher Modes of Operation: Methods for Key Wrapping
SP 800-52Guidelines for the Selection, Configuration, and Use of Transport Layer Security (TLS) Implementations
SP 800-56ARecommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography
SP 800-90ARecommendation for Random Number Generation Using Deterministic Random Bit Generators
SP 800-131ATransitioning the Use of Cryptographic Algorithms and Key Lengths
SP 800-133Recommendation for Cryptographic Key Generation
SP 800-135Recommendation for Existing Application-Specific Key Derivation Functions

Appendix: References and Acronyms The following standards are referenced in this Security Policy. Table 13 - References and Standards

Page 34 ↑
AcronymDefinition
AESAdvanced Encryption Standard
APIApplication Programming Interface
CAVPCryptographic Algorithm Validation Program
CBCCipher-Block Chaining
CCCSCanadian Centre for Cyber Security
CFBCipher Feedback
CKGCooperative Key Generation
CMVPCrypto Module Validation Program
COCryptographic Officer
CRNGTContinuous Random Number Generator Test
CSPCritical Security Parameter
CTRCounter-mode
DESData Encryption Standard
DHDiffie-Hellman
DRBGDeterministic Random Bit Generator
DSSDigital Signature Standard
ECElliptic Curve
ECBElectronic Code Book
ECCElliptic Curve Cryptography
EC DHElliptic Curve Diffie-Hellman
ECDSAElliptic Curve Digital Signature Authority
FIPSFederal Information Processing Standards
GCMGalois/Counter Mode
GMACGalois Message Authentication Code
GPCGeneral Purpose Computer
HMACKey-Hashed Message Authentication Code
IGImplementation Guidance
IVInitialization Vector
KASKey Agreement Scheme
KATKnown Answer Test
KDFKey Derivation Function
KWKey Wrap
KWPKey Wrap with Padding
LLCLimited Liability Company
MACMessage Authentication Code
MD4Message Digest algorithm MD4
MD5Message Digest algorithm MD5
N/ANot-Applicable

The following acronyms are used in this Security Policy. Table 14 - Acronyms

Page 35 ↑
AcronymDefinition
NISTNational Institute of Standards and Technology
NVLAPNational Voluntary Lab Accreditation Program
OFBOutput Feedback
PAAProcessor Algorithm Accelerator
RAMRandom Access Memory
RFCRequest For Comment
RSARivest Shamir Adleman
SHASecure Hash Algorithm
SHSSecure Hash Standard
SPSpecial Publication
SSLSecure Socket Layer
TLSTransport Layer Security
Triple-DESTriple Data Encryption Standard