Skip to content

Assembly implementations of cryptographic hash functions

Notifications You must be signed in to change notification settings

RustCrypto/asm-hashes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustCrypto: ASM hashes Rust Version Project Chat dependency status

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.

NOTE: this repo is in maintenance mode only

Now that inline assembly is stable (as of Rust 1.59), assembly should be added directly to the relevant crates at https://github.com/RustCrypto/hashes.

For more information, see #45.

Supported Platforms

All crates are tested on the following platforms:

  • Linux (32-bit and 64-bit x86)
  • Windows (64-bit x86, GNU only)
  • ARM64 (except md5, which is x86 only)

Windows MSVC builds are known to be broken. See #17.

Minimum Supported Rust Version

All crates in this repository support Rust 1.43 or higher.

In the future when the minimum supported Rust version is changed, it will be accompanied by a minor version bump.

License

All crates licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Assembly implementations of cryptographic hash functions

Resources

Stars

Watchers

Forks

Packages

No packages published