Adds HKDF to the Crypto trait (#610)

This commit is contained in:
kaczmarczyck
2023-04-04 17:48:56 +02:00
committed by GitHub
parent 22192a37d2
commit d0cdbec5ce
7 changed files with 79 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ p256 = { version = "0.13.0", features = ["ecdh"], optional = true }
rand_core = { version = "0.6.4", optional = true }
sha2 = { version = "0.10.6", optional = true }
hmac = { version = "0.12.1", optional = true }
hkdf = { version = "0.12.3", optional = true }
[features]
debug_ctap = []
@@ -34,7 +35,7 @@ with_ctap1 = ["crypto/with_ctap1"]
vendor_hid = []
fuzz = ["arbitrary", "std"]
ed25519 = ["ed25519-compact"]
rust_crypto = ["p256", "rand_core", "sha2", "hmac"]
rust_crypto = ["p256", "rand_core", "sha2", "hmac", "hkdf"]
[dev-dependencies]
enum-iterator = "0.6.0"