[package]
name = "sha2raw"
version = "12.0.0"
authors = ["RustCrypto Developers", "Friedel Ziegelmayer <me@dignifiedquire.com>"]
license = "MIT OR Apache-2.0"
description = "SHA-2 hash function"
documentation = "https://docs.rs/sha2raw"
repository = "https://github.com/filecoin-project/rust-fil-proofs"
keywords = ["crypto", "sha2", "hash", "digest"]
categories = ["cryptography", "no-std"]
edition = "2018"
[dependencies]
digest = "0.10.3"
fake-simd = "0.1"
opaque-debug = "0.3"
sha2-asm = { version = "0.6", optional = true }
byteorder = "1.3.4"
[dependencies.lazy_static]
version = "1.4.0"
[target.'cfg(target_arch = "x86_64")'.dependencies]
cpufeatures = "0.2.2"
[dev-dependencies]
sha2 = "0.10.2"
rand = "0.8.5"
rand_xorshift = "0.3.0"
[features]
default = ["asm"]
asm = ["sha2-asm"]