[package]
authors = ["Jarkko Sakkinen <jarkko@kernel.org>"]
description = "TPM 2.0 cryptographic routines"
edition = "2021"
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/tpm2-crypto.git/about"
license = "MIT OR Apache-2.0"
name = "tpm2-crypto"
readme = "README.md"
repository = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/tpm2-crypto.git"
rust-version = "1.81"
version = "0.9.0"

[dependencies]
num-bigint = { version = "0.4", features = ["rand"] }
num-traits = "0.2"
openssl = { version = "0.10" }
rand = "0.8"
strum = { version = "0.26", features = ["derive"] }
thiserror = "1.0"
tpm2-protocol = "0.15.10"

[[test]]
name = "hmac"
path = "tests/hmac.rs"
harness = true

[[test]]
name = "public"
path = "tests/public.rs"
harness = true

[dev-dependencies]
hex = "0.4"
rstest = "0.18"
