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

no-std keccak-asm

Simple wrappers for SHA-3 algorithms written in assembly

5 releases

0.1.4 Sep 10, 2024
0.1.3 Aug 5, 2024
0.1.2 Aug 5, 2024
0.1.1 May 9, 2024
0.1.0 Dec 26, 2023

#174 in Cryptography

Download history 35728/week @ 2024-08-04 37919/week @ 2024-08-11 37732/week @ 2024-08-18 39283/week @ 2024-08-25 43637/week @ 2024-09-01 43871/week @ 2024-09-08 43028/week @ 2024-09-15 48314/week @ 2024-09-22 51275/week @ 2024-09-29 59525/week @ 2024-10-06 58380/week @ 2024-10-13 59225/week @ 2024-10-20 55192/week @ 2024-10-27 51955/week @ 2024-11-03 45941/week @ 2024-11-10 50435/week @ 2024-11-17

206,414 downloads per month
Used in 207 crates (2 directly)

BSD-3-Clause

2MB
60K SLoC

Perl 58K 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 396 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
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
  • ❌: Currently not supported.
  • 🟨: Compiles, but is only built, not tested in CI. Should still work normally.
  • ✅: Fully supported, with full CI coverage for the most popular target triples, e.g. x86_64-unknown-linux-gnu, aarch64-apple-darwin, x86_64-pc-windows-msvc.

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