| Standard | FIPS 140-3 |
|---|---|
| Overall level | 1 |
| Module type | Software |
| Embodiment | MultiChipStand |
| Status | Active |
| Sunset date | 7/22/2029 |
| Caveat | No assurance of the minimum strength of generated SSPs (e.g., keys). When operated in approved mode. |
| Vendor | SafeLogic, Inc. |
| Algorithm | ACVP Cert |
|---|---|
| AES-CBC | A2811 |
| AES-CCM | A2811 |
| AES-CTR | A2811 |
| AES-ECB | A2811 |
| AES-GCM | A2811 |
| AES-KW | A2811 |
| AES-KWP | A2811 |
| Counter DRBG | A2811 |
| ECDSA KeyGen (FIPS186-4) | A2811 |
| ECDSA KeyVer (FIPS186-4) | A2811 |
| ECDSA SigGen (FIPS186-4) | A2811 |
| ECDSA SigVer (FIPS186-4) | A2811 |
| HMAC-SHA-1 | A2811 |
| HMAC-SHA2-224 | A2811 |
| HMAC-SHA2-256 | A2811 |
| HMAC-SHA2-384 | A2811 |
| HMAC-SHA2-512 | A2811 |
| KAS-ECC-SSC Sp800-56Ar3 | A2811 |
| KDF TLS | A2811 |
| RSA KeyGen (FIPS186-4) | A2811 |
| RSA SigGen (FIPS186-4) | A2811 |
| RSA SigVer (FIPS186-4) | A2811 |
| SHA-1 | A2811 |
| SHA2-224 | A2811 |
| SHA2-256 | A2811 |
| SHA2-384 | A2811 |
| SHA2-512 | A2811 |
| SHA2-512/256 | A2811 |
Compare key sizes and PQC transition dates for your jurisdiction and protection horizon.
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;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;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
| # | Section | Page |
|---|
List of Tables List of Figures
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.
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.
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.
This document may be freely reproduced and distributed, but only in its entirety and without modification.
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.
| ISO/IEC 24759 Section 6. | FIPS 140-3 ISO Section Title | Security Level |
|---|---|---|
| 1 | General | 1 |
| 2 | Cryptographic Module Specification | 1 |
| 3 | Cryptographic Module Interfaces | 1 |
| 4 | Roles, Services, and Authentication | 1 |
| 5 | Software/Firmware Security | 1 |
| 6 | Operational Environment | 1 |
| 7 | Physical Security | N/A |
| 8 | Non-Invasive Security | N/A |
| 9 | Sensitive Security Parameter Management | 1 |
| 10 | Self-Tests | 1 |
| 11 | Life-Cycle Assurance | 1 |
| 12 | Mitigation of Other Attacks | N/A |
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
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
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.
| # | Operating System | Hardware Platform | Processor | PAA / Acceleration | |
|---|---|---|---|---|---|
| 1 | Android 13 | Google Pixel 7 Pro | Google Tensor G2 64-bit and 32-bit | With PAA | |
| 2 | Android 13 | Google Pixel 7 Pro | Google Tensor G2 64-bit and 32-bit | Without PAA | |
| 3 | Android 13 | Google Pixel 6 Pro | Google Tensor 64-bit and 32-bit | With PAA |
Figure 1 – Module Block Diagram and Boundary
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
| # | Operating System | Hardware Platform | Processor | PAA / Acceleration | |
|---|---|---|---|---|---|
| 4 | Android 13 | Google Pixel 6 Pro | Google Tensor 64-bit and 32-bit | Without PAA | |
| 5 | Android 13 | Google Pixel 5a | Qualcomm Snapdragon 765 64-bit and 32-bit | With PAA | |
| 6 | Android 13 | Google Pixel 5a | Qualcomm Snapdragon 765 64-bit and 32-bit | Without PAA | |
| 7 | Android 13 | Google Pixel 4a | Qualcomm Snapdragon 730 64-bit and 32-bit | With PAA | |
| 8 | Android 13 | Google Pixel 4a | Qualcomm Snapdragon 730 64-bit and 32-bit | Without PAA | |
| 9 | Android 13 | Google Pixel 4XL | Qualcomm Snapdragon 855 64- bit and 32-bit | With PAA | |
| 10 | Android 13 | Google Pixel 4XL | Qualcomm Snapdragon 855 64- bit and 32-bit | Without PAA | |
| 11 | Google Prodimage with Linux 5.10.120 | IN762 | IN762 | With PAA | |
| 12 | Google Prodimage with Linux 5.10.120 | IN762 | IN762 | Without PAA | |
| 13 | Google Prodimage with Linux 4.15.0 | Tau t2a | Ampere Altra | With PAA | |
| 14 | Google Prodimage with Linux 4.15.0 | Tau t2a | Ampere Altra | Without PAA | |
| 15 | Debian Linux 5.17.11 (Rodete) | n2d | AMD EPYC 7B12 | With PAA | |
| 16 | Debian Linux 5.17.11 (Rodete) | n2d | AMD EPYC 7B12 | Without PAA | |
| 17 | Google Prodimage with Linux 4.15.0 | n1 | Intel Xeon E5 2696 v4 | With PAA | |
| 18 | Google Prodimage with Linux 4.15.0 | n1 | Intel Xeon E5 2696 v4 | Without 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:
| # | Operating System | Hardware Platform | |
|---|---|---|---|
| 1 | Linux 4.X | x86_64 architecture ARMv7 architecture ARMv8 architecture | x86_64 architecture ARMv7 architecture ARMv8 architecture |
| 2 | Linux 5.X | X86_64 architecture ARMv7 architecture ARMv8 architecture | |
| 3 | Linux 6.X | x86_64 architecture ARMv7 architecture ARMv8 architecture |
| CAVP Cert1 | Algorithm and Standard | Mode/Method | Description / Key Size(s) / Key Strength(s) | Use / Function | |
|---|---|---|---|---|---|
| A2811 | AES FIPS 197 SP 800-38A | CBC, ECB, CTR | Key sizes: 128, 192, 256 bits; Strength: 128, 192, 256 bits | Encryption, 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
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.
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.
| CAVP Cert1 | Algorithm and Standard | Mode/Method | Description / Key Size(s) / Key Strength(s) | Use / Function |
|---|---|---|---|---|
| A2811 | AES FIPS 197 SP 800-38D | GCM | Key sizes: 128, 192, 256 bits; Strength: 128, 192, 256 bits | Authenticated Encryption, Authenticated Decryption |
| A2811 | AES FIPS 197 SP 800-38C | CCM | Key size: 128 bits; Strength: 128 bits | Authenticated Encryption, Authenticated Decryption |
| A2811 | AES, KTS FIPS 197 SP 800-38F | KW, KWP | Key sizes: 128, 192, 256 bits; Strength: 128, 192, 256 bits | Key Transport per IG D.G Key establishment methodology provides between 128 and 256 bits of encryption strength |
| CVL A2811 | TLS v1.0/1.1 | N/A | SHA2-256, SHA2- 384, | Key Derivation |
| and v1.2 KDF2 | SHA2-512; | |||
| SP 800- | Strength: 256, 384, 512 | |||
| 135rev1 | bits | |||
| Vendor Affirmed | CKG | SP 800-133rev2 | Cryptographic Key Generation: Section 5: Generation of Key Pairs for Asymmetric-Key Algorithms, Section 6.1: The “Direct Generation” of Symmetric Keys | Key Generation Symmetric keys and seeds are generated as the direct output of the DRBG |
| A2811 | DRBG | CTR_DRBG | AES-256; | Random Bit Generation |
| SP 800- | Key size: 256 bits; | |||
| 90Arev1 | Strength: 256 bits | |||
| A2811 | ECDSA FIPS 186-4 | Key Pair Generation, Signature Generation, Signature Verification, Public Key Validation | P-224, P-256, P-384, P- 521; Strength: 112, 128, 192, 256 bits | Digital Signature Services |
| A2811 | HMAC FIPS 198-1 | Generate, Verify | HMAC-SHA-1, HMAC-SHA2-224, HMAC-SHA2-256, HMAC-SHA2-384, HMAC-SHA2-512; Strength: 128, 192, 256, 384, 512 bits | Generation, Authentication |
No parts of this protocol, other than the approved cryptographic algorithms and the KDFs, have been tested by the
| CAVP Cert1 | Algorithm and Standard | Mode/Method | Description / Key Size(s) / Key Strength(s) | Use / Function | |
|---|---|---|---|---|---|
| A2811 | RSA FIPS 186-4 | Key Generation, Signature Generation, Signature Verification PKCS 1.5 and PSS | 10243, 2048, 3072, 4096; Strength: 80, 112, 128, 152 bits | Digital Signature Services | |
| A2811 | SHA FIPS 180-4 | Hashing | SHA-14, SHA2-224, SHA2-256, SHA2-384, SHA2-512, SHA2- 512/256; Strength: 80, 112, 128, 192, 256, 128 bits | Digital Signature Generation, Digital Signature Verification, Non-Digital Signature Applications | |
| A2811 | KAS-SSC SP 800- 56Arev3 | KAS-ECC-SSC ephemeralUnified | ECC: P-224, P-256, P- 384 and P-521; Strength: 112, 128, 192, 256 bits | Key Agreement Scheme Shared Secret Computation per SP 800-56Arev3; Key establishment methodology provides between 112 and 256 bits of security strength |
| Algorithm | Caveat | Use / Function |
|---|---|---|
| MD5 | As allowed per SP 800-135rev1 (No security claimed) | When used with the TLS protocol version 1.0 and 1.1 |
| Algorithm/Function | Use/Function |
|---|---|
| MD5, MD4 | Non-Approved hashing |
| POLYVAL | Non-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
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.
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.
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.
| Logical interface | Data that passes over port/interface |
|---|---|
| Data Input | API input parameters |
| Data Output | API output parameters and return values |
| Control Input | API input parameters |
| Status Output | API return values |
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.
| Role | Service | Input | Output |
|---|---|---|---|
| CO | Symmetric Encryption | Plaintext, encryption key | Return code, ciphertext |
| CO | Symmetric Decryption | Ciphertext, decryption key | Return code, plaintext |
| CO | Keyed Hashing | Message, key | Return code, Message Authentication Code |
| CO | Hashing | Message | Return code, hash |
| CO | Random Bit Generation | API call parameters | Return code, random bits |
| CO | Signature Generation | Message, signing key | Return code, signature |
| CO | Signature Verification | Signature, verification key | Return code |
| CO | Key Transport | API call parameters, wrapping key | Return code, wrapped key |
| CO | Key Agreement | API call parameters | Return code, shared secret |
| CO | TLS Key Derivation | API call parameters, TLS pre-master secret | Return code, TLS Key |
| CO | Key Generation | API call parameters | Return code, key pair |
| CO | Key Verification | API call parameters, key pair | Return code |
| CO | On-Demand Self-Test | N/A | Return code |
| CO | Zeroization | N/A | N/A |
| CO | Show Status | API call parameters | Return code, status |
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.
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:
| Service | Description | Approved Security Functions | Keys and/or SSPs | Roles | Access Rights to Keys and/or SSPs | Indicator |
|---|---|---|---|---|---|---|
| Symmetric Encryption | Perform symmetric encryption operations | AES CBC, ECB, CTR, CCM (Cert. #A2811) CKG | AES Key, AES- GCM Key | CO | W, E | 1 |
| Symmetric Decryption | Perform symmetric decryption operations | AES CBC, ECB, CTR, GCM, CCM (Cert. #A2811) CKG | AES Key, AES- GCM Key, AES- GCM IV | CO | W, E | 1 |
| Keyed Hashing | Perform keyed hashing operations | HMAC-SHA-1, HMAC-SHA2-224, HMAC-SHA2-256, HMAC-SHA2-384, HMAC-SHA2-512 (Cert. #A2811) | HMAC Key | CO | W, E | 1 |
| Hashing | Perform hashing operations | SHA-1, SHA2-224, SHA2-256, SHA2-384, SHA2-512, SHA2- 512/256 (Cert. #A2811) | N/A | CO | N/A | 1 |
| Random Bit Generation | Generate random numbers | CTR_DRBG (Cert. #A2811) CKG | DRBG Seed, CTR_DRBG V, CTR_DRBG Key | CO | G, E | 1 |
| DRBG output | CO | G, R | ||||
| CTR_DRBG Entropy Input | CO | W, E | ||||
| Signature Generation | Perform signing operations | CTR_DRBG, RSA SigGen, ECDSA SigGen (Cert. #A2811) | RSA Signature Generation Key, ECDSA Signing Key | CO | G, W, E | 1 |
| Signature Verification | Perform verification operations | RSA SigVer, ECDSA SigVer (Cert. #A2811) | RSA Signature Verification Key, ECDSA Verification Key | CO | G, W, E | 1 |
| Key Transport | Perform key encryption operations; KTS using AES-KW, AES-KWP per IG D.G | AES KW, KWP (Cert. #A2811) CKG | AES Wrapping Key | CO | W, E | 1 |
| Service | Description | Approved Security Functions | Keys and/or SSPs | Roles | Access Rights to Keys and/or SSPs | Indicator | |
|---|---|---|---|---|---|---|---|
| Key Agreement | Perform key agreement operations | KAS-ECC-SSC (Cert. #A2811) | EC DH Private Key, EC DH Public Key | CO | G, W, E | 1 | |
| Shared Secret | G | ||||||
| TLS Key Derivation | Perform key derivation operations | TLS KDF (Cert. #A2811) | TLS Pre-Master Secret | CO | W, E | 1 | |
| TLS Master Secret | G, E | ||||||
| Key Generation | Perform generation operations | CTR_DRBG, RSA KeyGen, ECDSA KeyGen (Cert. #A2811) CKG | RSA Signature Generation Key, ECDSA Signing Key | CO | G, W, E | 1 | |
| Key Verification | Perform key pair verification operations | ECDSA KeyVer (Cert. #A2811) | ECDSA Signing Key, ECDSA Verification Key | CO | G, W, E | 1 | |
| On-Demand | Execute self-tests on | N/A | N/A | CO | N/A | 1 | |
| Self-Test | demand | ||||||
| Zeroization | Zeroize all SSPs | N/A | All SSPs | CO | Z | N/A | |
| Show Status | Obtain the module status and versioning information | N/A | N/A | CO | N/A | N/A |
| Service | Description | Algorithms Accessed | Role | Indicator | ||
|---|---|---|---|---|---|---|
| Hashing (as allowed per SP 800- | Perform hashing operations when used | MD5 | CO | 0 | ||
| 135rev1) | with the TLS protocol version 1.0 and 1.1 | |||||
| Hashing | Perform hashing operations | MD4 | CO | 0 | ||
| Hashing | Used as part of AES-GCM-SIV | POLYVAL | CO | 0 | ||
| Symmetric encryption/decryption | Perform symmetric encryption and/or decryption operations | DES Triple-DES AES | CO | 0 | ||
| Key Generation | Perform generation operations | DH | CO | 0 | ||
| RSA Primitives (RSADP, RSAEP, RSASP, RSAVP) | Perform RSA related primitive operations (decrypt, encrypt, sign, verify) | RSA | CO | 0 |
Non-Approved Services are listed in Table 10 below: Table 10 - Non-Approved Services
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.
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.
As a software module, the physical security requirements are not applicable.
The module does not claim any non-invasive security measures.
| Key/SSP Name/Type | Strength | Security Function and Cert. Number | Generation | Import/ Export | Establishment | Storage | Zeroisation | Use & Related Keys |
|---|---|---|---|---|---|---|---|---|
| AES Key (CSP) | 128/192/256 bits | AES-CBC, ECB, CTR, CCM A2811 | External | Input via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | AES encrypt / decrypt |
| AES-GCM Key (CSP) | 128/192/256 bits | AES-GCM A2811 | External | Input via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | AES decrypt / verify |
| AES-GCM IV5 (CSP) | 96 bits | AES-GCM A2811 | External | Input via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | AES decrypt / verify |
| AES Wrapping Key (CSP) | 128/192/256 bits | AES-KW, AES-KWP A2811 | External | Input via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle Host | AES key wrapping |
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.
| Key/SSP Name/Type | Strength | Security Function and Cert. Number | Generation | Import/ Export | Establishment | Storage | Zeroisation | Use & Related Keys |
|---|---|---|---|---|---|---|---|---|
| ECDSA Signing Key (CSP) | 112/128/192/256 bits | ECDSA SigGen A2811 | Internally Generated | Input via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | ECDSA signature generation |
| ECDSA Verification Key (PSP) | 112/128/192/256 bits | ECDSA SigVer A2811 | Internally Generated | Input via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle Host | ECDSA signature verification |
| EC DH Private Key (CSP) | 112/128/192/256 bits | ECDSA KeyGen A2811 | Internally Generated | Input via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | Key Agreement |
| Key/SSP Name/Type | Strength | Security Function and Cert. Number | Generation | Import/ Export | Establishment | Storage | Zeroisation | Use & Related Keys | ||
|---|---|---|---|---|---|---|---|---|---|---|
| EC DH Public Key (PSP) | 112/128/192/256 bits | ECDSA KeyGen A2811 | Internally Generated | Input via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | Key Agreement | ||
| HMAC Key (CSP) | 128/192/256/384/512 bits | HMAC-SHA-1, HMAC-SHA2- 224, HMAC- SHA2-256, HMAC-SHA2- 384, HMAC- SHA2-512 A2811 | External | Input via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | Keyed hashing | ||
| Shared Secret (CSP) | 112/128/192/256 bits | KAS-ECC-SSC A2811 | Internally Generated | N/A | SP 800- 56Arev3 | Plaintext in RAM | Power-cycle host | Key Agreement | ||
| RSA Signature Generation Key (CSP) | 112, 128, 152 bits | RSA SigGen A2811 | Internally Generated | Input via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | RSA signature generation |
| Key/SSP Name/Type | Strength | Security Function and Cert. Number | Generation | Import/ Export | Establishment | Storage | Zeroisation | Use & Related Keys | |
|---|---|---|---|---|---|---|---|---|---|
| RSA Signature Verification Key (PSP) | 80, 112, 128, 152 bits | RSA SigVer A2811 | Internally Generated | Input via API in plaintext (Electronic Entry); Output via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | RSA signature verification | |
| TLS Master Secret (CSP) | 384 bits | TLS KDF A2811 | Internally Derived via key derivation function defined in SP 800-135rev1 KDF (TLS) | N/A | N/A | Plaintext in RAM | Power-cycle host | TLS key derivation | |
| TLS Pre- Master Secret (CSP) | 112-256 bits | TLS KDF A2811 | External | Input via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | TLS key derivation | |
| DRBG Seed (CSP) | 384 bits | CTR_DRBG A2811 | Internally Generated | N/A | N/A | Plaintext in RAM | Power-cycle host | DRBG Seeding material | |
| CTR_DRBG V (CSP) | 128 bits | CTR_DRBG A2811 | Internally Generated | N/A | N/A | Plaintext in RAM | Power-cycle host | DRBG internal state | |
| CTR_DRBG Key (CSP) | 256 bits | CTR_DRBG A2811 | Internally Generated | N/A | N/A | Plaintext in RAM | Power-cycle host | DRBG internal state |
| Key/SSP Name/Type | Strength | Security Function and Cert. Number | Generation | Import/ Export | Establishment | Storage | Zeroisation | Use & Related Keys | |
|---|---|---|---|---|---|---|---|---|---|
| CTR_DRBG Entropy Input (CSP) | 384 bits used as seed, quality of entropy at least 112 bits | CTR_DRBG A2811 | External | Input via API in plaintext (Electronic Entry) | N/A | Plaintext in RAM | Power-cycle host | DRBG entropy | |
| DRBG output | 2048 bits | CTR_DRBG A2811 | Internally Generated | N/A | N/A | Plaintext in RAM | Power-cycle host | Random bits provided for the calling application |
| Entropy sources | Minimum number of bits of entropy | Details | |
|---|---|---|---|
| Passive Entropy | 112 bits and above | Use 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
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.
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)
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
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:
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.
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).
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/)
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
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
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
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
The following methods will provide the module name and versions:
The module is not designed to mitigate attacks which are outside of the scope of FIPS 140-3.
| Abbreviation | Full Specification Name |
|---|---|
| FIPS 140-3 | Security Requirements for Cryptographic modules |
| FIPS 180-4 | Secure Hash Standard (SHS) |
| FIPS 186-4 | Digital Signature Standard (DSS) |
| FIPS 197 | Advanced Encryption Standard |
| FIPS 198-1 | The Keyed-Hash Message Authentication Code (HMAC) |
| IG | Implementation Guidance for FIPS PUB 140-3 and the Cryptographic Module Validation Program |
| SP 800-38A | Recommendation for Block Cipher Modes of Operation: Three Variants of Ciphertext Stealing for CBC Mode |
| SP 800-38C | Recommendation for Block Cipher Modes of Operation: the CCM Mode for Authentication and Confidentiality |
| SP 800-38D | Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC |
| SP 800-38F | Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping |
| SP 800-52 | Guidelines for the Selection, Configuration, and Use of Transport Layer Security (TLS) Implementations |
| SP 800-56A | Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography |
| SP 800-90A | Recommendation for Random Number Generation Using Deterministic Random Bit Generators |
| SP 800-131A | Transitioning the Use of Cryptographic Algorithms and Key Lengths |
| SP 800-133 | Recommendation for Cryptographic Key Generation |
| SP 800-135 | Recommendation 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
| Acronym | Definition |
|---|---|
| AES | Advanced Encryption Standard |
| API | Application Programming Interface |
| CAVP | Cryptographic Algorithm Validation Program |
| CBC | Cipher-Block Chaining |
| CCCS | Canadian Centre for Cyber Security |
| CFB | Cipher Feedback |
| CKG | Cooperative Key Generation |
| CMVP | Crypto Module Validation Program |
| CO | Cryptographic Officer |
| CRNGT | Continuous Random Number Generator Test |
| CSP | Critical Security Parameter |
| CTR | Counter-mode |
| DES | Data Encryption Standard |
| DH | Diffie-Hellman |
| DRBG | Deterministic Random Bit Generator |
| DSS | Digital Signature Standard |
| EC | Elliptic Curve |
| ECB | Electronic Code Book |
| ECC | Elliptic Curve Cryptography |
| EC DH | Elliptic Curve Diffie-Hellman |
| ECDSA | Elliptic Curve Digital Signature Authority |
| FIPS | Federal Information Processing Standards |
| GCM | Galois/Counter Mode |
| GMAC | Galois Message Authentication Code |
| GPC | General Purpose Computer |
| HMAC | Key-Hashed Message Authentication Code |
| IG | Implementation Guidance |
| IV | Initialization Vector |
| KAS | Key Agreement Scheme |
| KAT | Known Answer Test |
| KDF | Key Derivation Function |
| KW | Key Wrap |
| KWP | Key Wrap with Padding |
| LLC | Limited Liability Company |
| MAC | Message Authentication Code |
| MD4 | Message Digest algorithm MD4 |
| MD5 | Message Digest algorithm MD5 |
| N/A | Not-Applicable |
The following acronyms are used in this Security Policy. Table 14 - Acronyms
| Acronym | Definition |
|---|---|
| NIST | National Institute of Standards and Technology |
| NVLAP | National Voluntary Lab Accreditation Program |
| OFB | Output Feedback |
| PAA | Processor Algorithm Accelerator |
| RAM | Random Access Memory |
| RFC | Request For Comment |
| RSA | Rivest Shamir Adleman |
| SHA | Secure Hash Algorithm |
| SHS | Secure Hash Standard |
| SP | Special Publication |
| SSL | Secure Socket Layer |
| TLS | Transport Layer Security |
| Triple-DES | Triple Data Encryption Standard |