3 releases (1 stable)
Uses old Rust 2015
1.0.3 | May 9, 2019 |
---|---|
0.3.2 | Mar 29, 2015 |
0.2.2 | Mar 8, 2015 |
#2052 in Cryptography
3,396 downloads per month
Used in 7 crates
125KB
2.5K
SLoC
rust-sha
Rust Secure Hash Algorithm (SHA) Intrinsics Library
Introduction
Intel claims that SHA-1 and SHA-256 instruction set extensions (collectively known as the SHA Extensions) are due to be included in Skylake sometime in 2015, and ARM has almost no documentation on the subject, so until more information is available, the hardware accelerated versions are disabled by default.
Conclusion
If by chance you are running this code on a newer ARM or x86 with these instructions available, and their specifications have not changed, then you will have to manually uncomment the "//pub mod x86;" in mod.rs yourself.
Good luck.