30 lines
1.1 KiB
TOML
30 lines
1.1 KiB
TOML
[package]
|
|
name = "ccc-crypto-boring"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "BoringSSL provider for the CCC crypto system, via Cloudflare's boring crate. Licences: boring Apache-2.0, boring-sys MIT, BoringSSL Apache-2.0."
|
|
|
|
[dependencies]
|
|
ccc-crypto-core.workspace = true
|
|
zeroize.workspace = true
|
|
log.workspace = true
|
|
# Pinned exactly: a BoringSSL bump changes the native code we vouch for.
|
|
# `mlkem` exposes BoringSSL's ML-KEM-768/1024 (FIPS 203).
|
|
boring = { version = "=5.5.0", features = ["mlkem"] }
|
|
|
|
[features]
|
|
default = []
|
|
# Build BoringCrypto in FIPS mode (boring/fips) from the vendored source: the
|
|
# update stream of a validated module, not a certified build, so fips_mode()
|
|
# stays false. Linux and Android only.
|
|
fips = ["boring/fips"]
|
|
# The builder attests that BORING_BSSL_FIPS_PATH points at a validated
|
|
# BoringCrypto build; only then does fips_mode() report true. build.rs
|
|
# refuses this feature without that variable.
|
|
fips-validated = ["fips"]
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4"
|