Skip to content

Commit 8bf26e1

Browse files
authored
sha3: add asm feature (#437)
Transitively enables the `asm` feture in the `keccak` crate which was added in RustCrypto/sponges#24.
1 parent 7556fe2 commit 8bf26e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sha3/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
1313

1414
[dependencies]
1515
digest = "0.10.4"
16-
keccak = "0.1"
16+
keccak = "0.1.3"
1717

1818
[dev-dependencies]
1919
digest = { version = "0.10.4", features = ["dev"] }
@@ -22,5 +22,7 @@ hex-literal = "0.2.2"
2222
[features]
2323
default = ["std"]
2424
std = ["digest/std"]
25+
26+
asm = ["keccak/asm"] # Enable ASM (currently ARMv8 only). WARNING: Bumps MSRV to 1.59
2527
oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
2628
reset = [] # Enable reset functionality

0 commit comments

Comments
 (0)