33 lines
1.1 KiB
TOML
33 lines
1.1 KiB
TOML
[package]
|
|
name = "ccc-crypto-rustcrypto"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "Pure-Rust (RustCrypto) provider for the CCC crypto system."
|
|
|
|
[dependencies]
|
|
ccc-crypto-core.workspace = true
|
|
zeroize.workspace = true
|
|
log.workspace = true
|
|
|
|
# AEAD
|
|
aes-gcm = { version = "0.11", default-features = false, features = ["aes", "alloc", "zeroize"] }
|
|
aes-gcm-siv = { version = "0.12", default-features = false, features = ["aes", "alloc", "zeroize"] }
|
|
chacha20poly1305 = { version = "0.11", default-features = false, features = ["alloc", "zeroize"] }
|
|
# Ascon-AEAD128 as standardised in NIST SP 800-232 (not the pre-standard Ascon-128a).
|
|
# Default features are needed: they pull in the optional zeroize dependency
|
|
# that the crate's own "zeroize" feature forgets to enable.
|
|
ascon-aead = { version = "0.6", features = ["zeroize"] }
|
|
|
|
# Hash and MAC
|
|
sha2 = "0.11"
|
|
sha3 = "0.12"
|
|
blake2 = "0.11"
|
|
hmac = "0.13"
|
|
poly1305 = "0.9"
|
|
subtle = "2.6"
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4"
|