#crypto #sha2 #asm

no-std sha2-asm

Assembly implementation of SHA-2 compression functions

8 releases (4 breaking)

0.5.2 Apr 15, 2019
0.5.1 May 15, 2018
0.5.0 Apr 27, 2018
0.4.0 Mar 19, 2018
0.1.0 May 7, 2017

#128 in Cryptography

Download history 132/week @ 2018-12-31 231/week @ 2019-01-07 150/week @ 2019-01-14 150/week @ 2019-01-21 91/week @ 2019-01-28 152/week @ 2019-02-04 448/week @ 2019-02-11 514/week @ 2019-02-18 559/week @ 2019-02-25 242/week @ 2019-03-04 236/week @ 2019-03-11 169/week @ 2019-03-18 793/week @ 2019-03-25 406/week @ 2019-04-01 479/week @ 2019-04-08

1,455 downloads per month
Used in 8 crates (2 directly)

MIT license

48KB
967 lines

Assembly implementations of hash functions core functionality based on code from Project Nayuki.

Crates in this repository provide only core compression functions, for full hash functionality please refer to the crates from RustCrypto/hashes repository. With enabled asm feature md5, sha-1, sha2 and whirlpool crates will use code from this repository.


lib.rs:

Assembly implementation of SHA-2 compression functions.

For full SHA-2 hash functions with this implementation of compression functions use sha-2 crate with the enabled "asm" feature.

Only x86 and x86-64 architectures are currently supported.

No runtime deps

~112KB

  • build build.rs
  • build cc 1.0