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

no-std keccak-asm

Simple wrappers for SHA-3 algorithms written in assembly

1 unstable release

0.1.0 Dec 26, 2023

#626 in Cryptography

Download history 509/week @ 2023-12-22 2146/week @ 2023-12-29 3693/week @ 2024-01-05 5680/week @ 2024-01-12 7033/week @ 2024-01-19 9404/week @ 2024-01-26 9001/week @ 2024-02-02 7926/week @ 2024-02-09 9940/week @ 2024-02-16 10362/week @ 2024-02-23 11010/week @ 2024-03-01 11590/week @ 2024-03-08 15314/week @ 2024-03-15 14634/week @ 2024-03-22 16074/week @ 2024-03-29 14620/week @ 2024-04-05

62,527 downloads per month
Used in 19 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 342 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
x86
x86_64 ✅[1]
aarch64 ✅[2]
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 [2] Theoretically supported, but untested in CI

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