Important News

Cryptography for BoringCrypto and BoringSSL Environments

Build, deploy, and maintain BoringSSL-based applications with FIPS 140-3 validated, BoringCrypto-compatible software, a path to customer-owned validation, and ongoing lifecycle maintenance.

FIPS 140-3 Cryptography for

BoringSSL-Based Architectures

Google’s BoringSSL is used across cloud-native infrastructure, high-throughput proxies, networking stacks, and containerized applications. Designed for Google’s performance and development requirements, it supports modern TLS and cryptographic operations across demanding software environments.

However, incorporating BoringSSL into a commercial product does not automatically make that product FIPS 140-3 validated.

Architects and security leads must distinguish between BoringSSL (the overall TLS and utility library) and BoringCrypto (the specific, isolated C module evaluated under FIPS 140). Achieving FIPS alignment requires verifying the validated cryptographic boundary, approved configuration, applicable operating-environment coverage, and supporting validation evidence.

SafeLogic provides drop-in compatible cryptographic software and accelerated FIPS 140 certification services that allow engineering teams to preserve BoringCrypto-compatible interfaces and integration patterns.

Learn more about CryptoComply for BoringCrypto.

The Technical and Compliance
Burden of BoringCrypto 

BoringSSL was engineered to serve Google’s internal, fast-moving development cycles—not as a static, general purpose open-source library for commercial software vendors. Because Google prioritizes its own infrastructure requirements without guaranteeing backward compatibility, downstream teams face maintenance traps when trying to hold a static FIPS 140-3 boundary.
Relying on upstream open-source BoringCrypto to meet federal compliance creates six critical engineering realities:

1. Upstream API Churn and Build Pipeline Instability

Google regularly refactors BoringSSL internals without deprecation windows or semantic versioning guarantees.

  • Silent Build Breakage: Pulling upstream updates can silently alter underlying low-level symbols, breaking your CI/CD pipelines without warning.
  • Drift from Tested Code: Fixing a critical upstream bug or security vulnerability often requires pulling in dozens of unrelated API commits—moving your codebase away from the exact bits that passed NIST laboratory testing.

Depending on another vendor’s FIPS certificate can create lifecycle and procurement dependencies. A certificate associated with your own organization and product can simplify validation evidence, provide greater control over maintenance, and reduce reliance on an upstream certificate owner’s roadmap.

  • Procurement Wall: Federal procurement officers, CMMC assessors, and FedRAMP 3PAO auditors increasingly require the NIST CMVP database entry to list your company name or exact product brand.
  • No Control over Certificate Status: If the upstream certificate owner chooses not to update their module for FIPS 140-3 transition deadlines, or lets an OE coverage update lapse, your product instantly loses market access with zero recourse.

Teams should verify that the intended deployment environment is covered by the applicable certificate, Security Policy, and CMVP operating-environment rules. Changes to operating systems, processors, cloud environments, or deployment configurations may require additional review, testing, or certificate maintenance.

  • Cloud & Container Drift: Deploying your microservices on AWS Graviton3, new RHEL/Ubuntu kernel revisions, or custom container base images voids the baseline validation posture unless formal OE testing and re-submission documentation exist.
  • Labor-Intensive Testing: Engineering teams must manually maintain matrix coverage for every OS/arch combination across dev, staging, and multi-cloud production targets.

Security patches and upstream changes can affect validated software and may require regression testing, documentation updates, or CMVP maintenance. Without a defined lifecycle process, teams can face tension between rapid vulnerability remediation and preserving validation evidence.

Proxies, sidecars, gateways, and application services may terminate TLS or invoke cryptography independently. Teams need visibility into which implementation performs each protected operation and whether the applicable validated boundary and configuration are preserved.

  • Hidden Dynamic vs. Static Linking: If microservices link dynamically to different system-level SSL libraries while Envoy statically embeds BoringCrypto, your application ends up running dual, conflicting cryptographic engines at runtime.
  • Shadow Cryptography: Microservices operating inside sidecars can bypass the defined FIPS boundary entirely if transit traffic is decrypted at the proxy using unapproved or non-evaluated cipher suites.

ENGINEERING TAKEAWAY:

Without a managed maintenance process, BoringCrypto-dependent products can accumulate significant engineering, validation, and lifecycle overhead.

Defining the FIPS 140-3 Cryptographic
Boundary in BoringCrypto Applications

APPLICATION LAYER

BoringSSL-Based Applications, Proxies, Gateways, and Services

Examples: C/C++ applications, Go Services using CGO, Envoy, NGINX

BoringSSL LIbrary

TLS Protocols, PKI Utilities, Parsing, and Supporting Functions

Calls to approved cryptographic services

FIPS 140-3 Validated cryptographic boundary

CryptoComply | BoringCrypto

Examples of Cryptographic Services

AES / GCM Symmetric Encryption

SHA-2Hash Functions

HMAC Message Authentication

RSA / ECDSA Digital Signatures

ECDH Key Agreement

SP 800-90A DRBG Random Number Generation

Outside the Validated Boundary

Inside the Validated Boundary

BoringSSL as a whole is not FIPS validated. The relevant validation applies to the defined BoringCrypto core, also referred to as the BoringCrypto Module. The applicable Security Policy establishes the authoritative cryptographic boundary, approved services, operating environments, and configuration requirements. 

In a BoringSSL-based application, TLS protocol handling, certificate parsing, formatting, and other supporting functions may occur outside the validated boundary. Approved cryptographic operations must be routed through the validated CryptoComply BoringCrypto implementation in accordance with its documented configuration.

Engineering teams should verify

Architecture Checklist:
Evaluating
BoringCrypto Software

Engineering and compliance leads evaluating BoringCrypto implementations should verify:

Drop-in Compatibility

Can the software preserve BoringCrypto-compatible interfaces and minimize application changes during integration?

Corporate Certificate Ownership

If customer-owned validation is required, does the solution provide a practical path to a CMVP certificate associated with your organization and product?

Operating Environment Coverage

Does the applicable validation documentation cover your intended operating system, processor architecture, and deployment configuration?

Managed Software & Validation Maintenance

Is there a defined process for evaluating upstream changes, incorporating supported patches, performing regression testing, and handling applicable CMVP maintenance?

CBOM and Runtime Visibility

Can your security teams generate a Cryptographic Bill of Materials (CBOM) to verify BoringCrypto usage across microservices?

PQC & Agility Roadmap

Does the broader cryptographic architecture provide a practical path to PQC and hybrid migration as requirements evolve?

Post-Quantum Migration
Beyond BoringCrypto

CryptoComply BoringCrypto provides FIPS 140-3 validated cryptography for current BoringCrypto-based architectures. As PQC requirements evolve, organizations also need visibility into where cryptography is deployed and a practical path for introducing new algorithms across broader environments.

Cryptographic Visibility with SafeLogic CPM

SafeLogic CPM helps discover and inventory cryptography across applications and infrastructure, correlate findings with operational context, prioritize remediation, and govern cryptographic change over time.

Extend PQC Beyond BoringCrypto with SafePQ

SafePQ supports broader deployment of NIST-standardized post-quantum cryptography and hybrid migration approaches across heterogeneous applications and infrastructure.

Explore Other Open-Source
Cryptography Compatibility

Building products across multiple cryptographic ecosystems? SafeLogic helps engineering teams adopt validated cryptography while preserving the compatibility their applications require.

CryptoComply Core provides OpenSSL-compatible cryptographic software for systems, applications, embedded products, and infrastructure.

CryptoComply Java provides validated, provider-based cryptography for Java applications and JVM environments.

Explore compatibility and validation considerations for applications built around the AWS-LC cryptographic ecosystem.

BoringCrypto and BoringSSL FAQs

Is standard Google BoringCrypto automatically FIPS 140-3 validated for my product?

No. BoringCrypto has undergone FIPS validation, but using its open-source code does not automatically make your application or product validated. Your deployment must preserve the applicable cryptographic boundary, tested configuration, operating-environment requirements, and Security Policy conditions. BoringSSL as a whole is not FIPS validated.

BoringSSL is the overall open-source SSL/TLS library containing protocol logic, key parsing, and networking code. BoringCrypto is the specific, isolated core module within BoringSSL that performs FIPS-approved primitive cryptographic operations (such as AES encryption or RSA signatures).

CryptoComply BoringCrypto provides drop-in compatibility with BoringCrypto and an accelerated path to customer-owned FIPS 140-3 validation through RapidCert. MaintainCert supports the certificate and software lifecycle as operating environments, vulnerabilities, and requirements evolve.

Federal agencies, prime contractors, and compliance frameworks (like FedRAMP and CMMC) verify compliance against NIST’s CMVP database. A certificate associated with your organization and product can simplify procurement evidence and give your team greater control over validation maintenance and lifecycle decisions. Whether a customer-owned certificate is required depends on the applicable procurement, customer, and program requirements.

SafeLogic CPM helps discover and inventory BoringCrypto and other cryptographic implementations across applications and infrastructure, add runtime and business context, prioritize findings, generate CBOM evidence, and govern remediation over time.

Modernize BoringCrypto-Based Cryptography with SafeLogic

Preserve your existing BoringCrypto architecture while establishing a clearer path to FIPS 140-3 certification, ongoing maintenance, cryptographic visibility, and future algorithm migration.