diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-02-16 10:52:14 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-05-22 11:03:16 +0200 |
commit | 4bcaebc7515ed15bb403a312532e8870a781fb3a (patch) | |
tree | 2b2b57dc0c64d47a918c5bfe5fa1b6265291f637 /openpgp/Cargo.toml | |
parent | d088cdb56f525beb1306a8145362a13e11704bf6 (diff) |
openpgp: Implement GCM mode.
- The Galois/Counter mode for block ciphers is a FIPS-approved AEAD
mode. It will be added to the upcoming OpenPGP standard so that
we have a FIPS-compliant subset of OpenPGP.
Diffstat (limited to 'openpgp/Cargo.toml')
-rw-r--r-- | openpgp/Cargo.toml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openpgp/Cargo.toml b/openpgp/Cargo.toml index bfae2c4b..ed1f7ded 100644 --- a/openpgp/Cargo.toml +++ b/openpgp/Cargo.toml @@ -58,6 +58,7 @@ botan = { version = "0.10", optional = true } # RustCrypto crates. aes = { version = "0.8", optional = true } +aes-gcm = { version = "0.10", optional = true, features = ["std"] } block-padding = { version = "0.3", optional = true } blowfish = { version = "0.9", optional = true } cast5 = { version = "0.11", optional = true } @@ -127,11 +128,11 @@ crypto-rust = [ "digest", "eax", "ecb", "ed25519", "ed25519-dalek", "generic-array", "idea", "md-5", "num-bigint-dig", "rand", "rand07", "ripemd", "rsa", "sha-1", "sha2", "twofish", "typenum", "x25519-dalek-ng", "p256", - "rand_core", "rand_core/getrandom", "ecdsa" + "rand_core", "rand_core/getrandom", "ecdsa", "aes-gcm" ] crypto-cng = [ "cipher", "eax", "winapi", "win-crypto-ng", "ed25519-dalek", - "num-bigint-dig" + "num-bigint-dig", "aes-gcm" ] crypto-openssl = ["openssl", "openssl-sys"] crypto-botan = ["botan/botan3"] |