#assembly #sha-3 #keccak256 #primitive #wrapper #api-bindings

no-std keccak-asm

Simple wrappers for SHA-3 algorithms written in assembly

2 releases

new 0.1.1 May 9, 2024
0.1.0 Dec 26, 2023

#437 in Cryptography

Download history 8054/week @ 2024-01-24 9130/week @ 2024-01-31 8498/week @ 2024-02-07 9529/week @ 2024-02-14 10456/week @ 2024-02-21 9742/week @ 2024-02-28 12385/week @ 2024-03-06 14507/week @ 2024-03-13 14102/week @ 2024-03-20 13587/week @ 2024-03-27 18894/week @ 2024-04-03 17848/week @ 2024-04-10 19214/week @ 2024-04-17 20130/week @ 2024-04-24 20178/week @ 2024-05-01 18061/week @ 2024-05-08

81,402 downloads per month
Used in 24 crates (via alloy-primitives)

BSD-3-Clause

2MB
59K SLoC

Perl 56K SLoC // 0.1% comments JavaScript 1K SLoC // 0.0% comments WebAssembly 586 SLoC // 0.1% comments GNU Style Assembly 560 SLoC // 0.0% comments Rust 341 SLoC // 0.1% comments C# 101 SLoC // 0.0% comments

keccak-asm

Simple wrappers for SHA-3 algorithms written in assembly.

Forked from OpenSSL, Cryptogams, and RustCrypto's sha3.

[!WARNING] Code is somewhat tested and benchmarked. Use at your own risk.

Support

Architecture Linux macOS Windows[1]
x86
x86_64
aarch64
powerpc{,64} N/A N/A
powerpc64le N/A N/A
riscv32 N/A N/A
riscv64 N/A N/A
mips{,el} N/A N/A

[1] The MSVC toolchain is not supported, so only gnu and gnullvm targets will compile

License

Cryptogams is either licensed under BSD-3-Clause (the "new" BSD license, as specified here), or the Linux Kernel's license GPL-2.0-only. See the LICENSE file for more information.

Dependencies