From 8bf26e17b2e3c397f30e32e9579925fce0f71a86 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 15 Nov 2022 11:35:50 -0700 Subject: [PATCH] sha3: add `asm` feature (#437) Transitively enables the `asm` feture in the `keccak` crate which was added in RustCrypto/sponges#24. --- sha3/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml index b679b0da..78729028 100644 --- a/sha3/Cargo.toml +++ b/sha3/Cargo.toml @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"] [dependencies] digest = "0.10.4" -keccak = "0.1" +keccak = "0.1.3" [dev-dependencies] digest = { version = "0.10.4", features = ["dev"] } @@ -22,5 +22,7 @@ hex-literal = "0.2.2" [features] default = ["std"] std = ["digest/std"] + +asm = ["keccak/asm"] # Enable ASM (currently ARMv8 only). WARNING: Bumps MSRV to 1.59 oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57 reset = [] # Enable reset functionality