[package]
edition = "2024"
rust-version = "1.85"
name = "ghash"
version = "0.6.0"
authors = ["RustCrypto Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Universal hash over GF(2^128) useful for constructing a Message Authentication Code (MAC),
as in the AES-GCM authenticated encryption cipher.
"""
documentation = "https://docs.rs/ghash"
readme = "README.md"
keywords = [
"aes-gcm",
"crypto",
"universal-hashing",
]
categories = [
"cryptography",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/universal-hashes"
[features]
zeroize = [
"polyval/zeroize",
"dep:zeroize",
]
[lib]
name = "ghash"
path = "src/lib.rs"
[[test]]
name = "lib"
path = "tests/lib.rs"
[[bench]]
name = "ghash"
path = "benches/ghash.rs"
[dependencies.polyval]
version = "0.7"
features = ["hazmat"]
[dependencies.zeroize]
version = "1"
optional = true
default-features = false
[dev-dependencies.hex-literal]
version = "1"