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

no-std keccak-asm

Simple wrappers for SHA-3 algorithms written in assembly

2 releases

0.1.1 May 9, 2024
0.1.0 Dec 26, 2023

#396 in Cryptography

Download history 14934/week @ 2024-03-14 14769/week @ 2024-03-21 14003/week @ 2024-03-28 18473/week @ 2024-04-04 18032/week @ 2024-04-11 19048/week @ 2024-04-18 19884/week @ 2024-04-25 20403/week @ 2024-05-02 20135/week @ 2024-05-09 19360/week @ 2024-05-16 17559/week @ 2024-05-23 17575/week @ 2024-05-30 18091/week @ 2024-06-06 21626/week @ 2024-06-13 24820/week @ 2024-06-20 18405/week @ 2024-06-27

86,200 downloads per month
Used in 115 crates (2 directly)

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