92 Commits

Author SHA1 Message Date
Tony Arcieri
c0e71471c2 Rename ascon-hash => ascon-hash256 (#767)
We no longer control the `ascon-hash` name.

This follows a similar rename we did for AEADs:
`ascon-aead` => `ascon-aead128`
2026-01-03 09:43:29 -07:00
Tony Arcieri
cc17fbaf98 CI: fix security audit (#764) 2025-12-24 13:03:27 -07:00
dependabot[bot]
1f880bfd7a ci: bump actions/cache from 4 to 5 (#762) 2025-12-15 10:25:01 +03:00
dependabot[bot]
44b2e75f9a ci: bump actions/checkout from 5 to 6 (#758) 2025-11-24 10:08:00 +03:00
Alexandr Kitaev
65f855157b bash-hash: initial implementation (#745) 2025-10-24 14:36:15 +03:00
Tony Arcieri
c9c0ffa485 Bump digest to v0.11.0-rc.1 (#727)
Notably this includes `hybrid-array` v0.4 support
2025-09-02 16:05:20 -06:00
dependabot[bot]
55f7510b79 build(deps): bump actions/checkout from 4 to 5 (#721) 2025-08-18 13:38:44 +03:00
Charles Edward Gagnon
b75762d991 Only run CI on latest commit of PR branches (#714)
Some checks failed
ascon-hash / set-msrv (push) Has been cancelled
ascon-hash / minimal-versions (push) Has been cancelled
belt-hash / set-msrv (push) Has been cancelled
belt-hash / minimal-versions (push) Has been cancelled
blake2 / set-msrv (push) Has been cancelled
blake2 / minimal-versions (push) Has been cancelled
fsb / set-msrv (push) Has been cancelled
fsb / minimal-versions (push) Has been cancelled
gost94 / set-msrv (push) Has been cancelled
gost94 / minimal-versions (push) Has been cancelled
groestl / set-msrv (push) Has been cancelled
groestl / minimal-versions (push) Has been cancelled
jh / set-msrv (push) Has been cancelled
jh / minimal-versions (push) Has been cancelled
k12 / set-msrv (push) Has been cancelled
k12 / minimal-versions (push) Has been cancelled
md2 / set-msrv (push) Has been cancelled
md2 / minimal-versions (push) Has been cancelled
md4 / set-msrv (push) Has been cancelled
md4 / minimal-versions (push) Has been cancelled
ripemd / set-msrv (push) Has been cancelled
ripemd / minimal-versions (push) Has been cancelled
sha1-checked / set-msrv (push) Has been cancelled
sha1-checked / minimal-versions (push) Has been cancelled
sha1 / set-msrv (push) Has been cancelled
sha1 / minimal-versions (push) Has been cancelled
sha2 / set-msrv (push) Has been cancelled
sha2 / riscv64-zknh (push) Has been cancelled
sha2 / riscv32-zknh (push) Has been cancelled
sha2 / minimal-versions (push) Has been cancelled
sha3 / set-msrv (push) Has been cancelled
sha3 / minimal-versions (push) Has been cancelled
shabal / set-msrv (push) Has been cancelled
shabal / minimal-versions (push) Has been cancelled
skein / set-msrv (push) Has been cancelled
skein / minimal-versions (push) Has been cancelled
sm3 / set-msrv (push) Has been cancelled
sm3 / minimal-versions (push) Has been cancelled
streebog / set-msrv (push) Has been cancelled
streebog / minimal-versions (push) Has been cancelled
whirlpool / set-msrv (push) Has been cancelled
whirlpool / minimal-versions (push) Has been cancelled
Workspace / clippy (push) Has been cancelled
Workspace / rustfmt (push) Has been cancelled
Workspace / typos (push) Has been cancelled
ascon-hash / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
ascon-hash / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
ascon-hash / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
ascon-hash / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
ascon-hash / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
ascon-hash / test (stable) (push) Has been cancelled
belt-hash / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
belt-hash / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
belt-hash / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
belt-hash / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
belt-hash / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
belt-hash / test (stable) (push) Has been cancelled
blake2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
blake2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
blake2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
blake2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
blake2 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
blake2 / test (stable) (push) Has been cancelled
blake2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
fsb / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
fsb / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
fsb / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
fsb / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
fsb / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
fsb / test (stable) (push) Has been cancelled
gost94 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
gost94 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
gost94 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
gost94 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
gost94 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
gost94 / test (stable) (push) Has been cancelled
groestl / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
groestl / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
groestl / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
groestl / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
groestl / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
groestl / test (stable) (push) Has been cancelled
jh / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
jh / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
jh / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
jh / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
jh / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
jh / test (stable) (push) Has been cancelled
k12 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
k12 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
k12 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
k12 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
k12 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
k12 / test (stable) (push) Has been cancelled
md2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
md2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
md2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
md2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
md2 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
md2 / test (stable) (push) Has been cancelled
md4 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
md4 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
md4 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
md4 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
md4 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
md4 / test (stable) (push) Has been cancelled
ripemd / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
ripemd / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
ripemd / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
ripemd / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
ripemd / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
ripemd / test (stable) (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha1-checked / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha1-checked / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha1-checked / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1-checked / macos (stable) (push) Has been cancelled
sha1-checked / windows (x86_64-pc-windows-gnu, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1-checked / windows (x86_64-pc-windows-gnu, stable) (push) Has been cancelled
sha1-checked / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha1 / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha1 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha1 / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1 / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1 / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1 / macos (stable) (push) Has been cancelled
sha1 / windows (x86_64-pc-windows-gnu, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1 / windows (x86_64-pc-windows-gnu, stable) (push) Has been cancelled
sha1 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha2 / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha2 / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (sudo apt update && sudo apt install gcc-multilib, ${{needs.set-msrv.outputs.msrv}}, i686-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (sudo apt update && sudo apt install gcc-multilib, stable, i686-unknown-linux-gnu) (push) Has been cancelled
sha2 / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / macos (stable) (push) Has been cancelled
sha2 / windows (${{needs.set-msrv.outputs.msrv}}, x86_64-pc-windows-gnu) (push) Has been cancelled
sha2 / windows (stable, x86_64-pc-windows-gnu) (push) Has been cancelled
sha2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / wasm (-C target-feature=+simd128, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / wasm (-C target-feature=+simd128, stable) (push) Has been cancelled
sha2 / wasm (-C target-feature=-simd128, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / wasm (-C target-feature=-simd128, stable) (push) Has been cancelled
sha3 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha3 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha3 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha3 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha3 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha3 / test (stable) (push) Has been cancelled
sha3 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
shabal / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
shabal / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
shabal / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
shabal / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
shabal / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
shabal / test (stable) (push) Has been cancelled
skein / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
skein / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
skein / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
skein / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
skein / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
skein / test (stable) (push) Has been cancelled
sm3 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sm3 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sm3 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sm3 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sm3 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sm3 / test (stable) (push) Has been cancelled
streebog / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
streebog / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
streebog / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
streebog / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
streebog / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
streebog / test (stable) (push) Has been cancelled
whirlpool / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
whirlpool / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
whirlpool / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
whirlpool / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
whirlpool / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
whirlpool / test (stable) (push) Has been cancelled
Security Audit / Security Audit (push) Has been cancelled
2025-08-05 19:25:52 -06:00
Artyom Pavlov
5173bebd1d ci: move cross-tests action (#699)
Some checks failed
ascon-hash / set-msrv (push) Has been cancelled
ascon-hash / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
ascon-hash / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
ascon-hash / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
ascon-hash / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
ascon-hash / minimal-versions (push) Has been cancelled
ascon-hash / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
ascon-hash / test (stable) (push) Has been cancelled
belt-hash / set-msrv (push) Has been cancelled
belt-hash / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
belt-hash / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
belt-hash / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
belt-hash / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
belt-hash / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
belt-hash / test (stable) (push) Has been cancelled
belt-hash / minimal-versions (push) Has been cancelled
blake2 / set-msrv (push) Has been cancelled
blake2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
blake2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
blake2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
blake2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
blake2 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
blake2 / test (stable) (push) Has been cancelled
blake2 / minimal-versions (push) Has been cancelled
blake2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
fsb / set-msrv (push) Has been cancelled
fsb / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
fsb / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
fsb / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
fsb / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
fsb / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
fsb / test (stable) (push) Has been cancelled
fsb / minimal-versions (push) Has been cancelled
gost94 / set-msrv (push) Has been cancelled
gost94 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
gost94 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
gost94 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
gost94 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
gost94 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
gost94 / test (stable) (push) Has been cancelled
gost94 / minimal-versions (push) Has been cancelled
groestl / set-msrv (push) Has been cancelled
groestl / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
groestl / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
groestl / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
groestl / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
groestl / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
groestl / test (stable) (push) Has been cancelled
groestl / minimal-versions (push) Has been cancelled
jh / set-msrv (push) Has been cancelled
jh / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
jh / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
jh / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
jh / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
jh / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
jh / test (stable) (push) Has been cancelled
jh / minimal-versions (push) Has been cancelled
k12 / set-msrv (push) Has been cancelled
k12 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
k12 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
k12 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
k12 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
k12 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
k12 / test (stable) (push) Has been cancelled
k12 / minimal-versions (push) Has been cancelled
md2 / set-msrv (push) Has been cancelled
md2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
md2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
md2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
md2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
md2 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
md2 / test (stable) (push) Has been cancelled
md2 / minimal-versions (push) Has been cancelled
md4 / set-msrv (push) Has been cancelled
md4 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
md4 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
md4 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
md4 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
md4 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
md4 / test (stable) (push) Has been cancelled
md4 / minimal-versions (push) Has been cancelled
ripemd / set-msrv (push) Has been cancelled
ripemd / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
ripemd / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
ripemd / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
ripemd / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
ripemd / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
ripemd / test (stable) (push) Has been cancelled
ripemd / minimal-versions (push) Has been cancelled
sha1-checked / set-msrv (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha1-checked / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha1-checked / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha1-checked / minimal-versions (push) Has been cancelled
sha1-checked / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1-checked / macos (stable) (push) Has been cancelled
sha1-checked / windows (x86_64-pc-windows-gnu, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1-checked / windows (x86_64-pc-windows-gnu, stable) (push) Has been cancelled
sha1-checked / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1 / set-msrv (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha1 / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha1 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha1 / minimal-versions (push) Has been cancelled
sha1 / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1 / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1 / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1 / macos (stable) (push) Has been cancelled
sha1 / windows (x86_64-pc-windows-gnu, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1 / windows (x86_64-pc-windows-gnu, stable) (push) Has been cancelled
sha1 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / set-msrv (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha2 / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha2 / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (sudo apt update && sudo apt install gcc-multilib, ${{needs.set-msrv.outputs.msrv}}, i686-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (sudo apt update && sudo apt install gcc-multilib, stable, i686-unknown-linux-gnu) (push) Has been cancelled
sha2 / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / macos (stable) (push) Has been cancelled
sha2 / windows (${{needs.set-msrv.outputs.msrv}}, x86_64-pc-windows-gnu) (push) Has been cancelled
sha2 / windows (stable, x86_64-pc-windows-gnu) (push) Has been cancelled
sha2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / riscv64-zknh (push) Has been cancelled
sha2 / riscv32-zknh (push) Has been cancelled
sha2 / wasm (-C target-feature=+simd128, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / wasm (-C target-feature=+simd128, stable) (push) Has been cancelled
sha2 / wasm (-C target-feature=-simd128, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / wasm (-C target-feature=-simd128, stable) (push) Has been cancelled
sha2 / minimal-versions (push) Has been cancelled
sha3 / set-msrv (push) Has been cancelled
sha3 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha3 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha3 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha3 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha3 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha3 / test (stable) (push) Has been cancelled
sha3 / minimal-versions (push) Has been cancelled
sha3 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
shabal / set-msrv (push) Has been cancelled
shabal / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
shabal / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
shabal / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
shabal / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
shabal / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
shabal / test (stable) (push) Has been cancelled
shabal / minimal-versions (push) Has been cancelled
skein / set-msrv (push) Has been cancelled
skein / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
skein / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
skein / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
skein / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
skein / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
skein / test (stable) (push) Has been cancelled
skein / minimal-versions (push) Has been cancelled
sm3 / set-msrv (push) Has been cancelled
sm3 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sm3 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sm3 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sm3 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sm3 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sm3 / test (stable) (push) Has been cancelled
sm3 / minimal-versions (push) Has been cancelled
streebog / set-msrv (push) Has been cancelled
streebog / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
streebog / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
streebog / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
streebog / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
streebog / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
streebog / test (stable) (push) Has been cancelled
streebog / minimal-versions (push) Has been cancelled
whirlpool / set-msrv (push) Has been cancelled
whirlpool / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
whirlpool / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
whirlpool / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
whirlpool / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
whirlpool / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
whirlpool / test (stable) (push) Has been cancelled
whirlpool / minimal-versions (push) Has been cancelled
Workspace / clippy (push) Has been cancelled
Workspace / rustfmt (push) Has been cancelled
Workspace / typos (push) Has been cancelled
Moved to the actions repository in https://github.com/RustCrypto/actions/pull/46
2025-06-25 01:42:22 +03:00
Raj Rajeshwar Singh Bisen
2bcfb5a0a8 refactor: Kupyna - replace byte-level operations with word-level operations (#693) 2025-06-02 19:31:52 +03:00
Artyom Pavlov
7d44caf065 Migrate to buffering macros (#678) 2025-05-26 05:44:46 +03:00
Artyom Pavlov
9b497ddfe6 sha2: add soft-compact backend (#686)
The new backend results in a much smaller binary code (e.g. for SHA-256
on `thumbv7em-none-eabi` we get [~150 instructions][0] vs [~1680
instructions][1], for SHA-512 it's [~330][2] vs [~7950][3]) while being
somewhat slower on non-embedded CPUs (e.g. for SHA-256 on my x86-64
laptop with `opt-level=s` it results in 289 MB/s vs 315 MB/s).

[0]: https://rust.godbolt.org/z/c5cT5chGz
[1]: https://rust.godbolt.org/z/rWMTqaxdc
[2]: https://rust.godbolt.org/z/EKoxxdqrv
[3]: https://rust.godbolt.org/z/Td81PxsdW
2025-04-30 17:39:34 +03:00
Artyom Pavlov
dfac1d6c13 kupyna: add CI config (#674) 2025-03-24 06:05:46 +03:00
Artyom Pavlov
dd9a52cb36 ci: use crate-ci/typos@v1 instead of the full version (#666) 2025-03-10 09:17:23 +03:00
dependabot[bot]
c36b893c9b build(deps): bump crate-ci/typos from 1.29.4 to 1.30.0 (#661) 2025-03-03 09:14:20 +03:00
Artyom Pavlov
479ad0b5b4 Upgrade all crates to the 2024 edition and bump MSRV to 1.85 (#652) 2025-02-24 14:59:15 +03:00
Artyom Pavlov
ae568d4fb2 ci: add typos job (#644)
Some checks failed
ascon-hash / set-msrv (push) Has been cancelled
ascon-hash / minimal-versions (push) Has been cancelled
belt-hash / set-msrv (push) Has been cancelled
belt-hash / minimal-versions (push) Has been cancelled
blake2 / set-msrv (push) Has been cancelled
blake2 / minimal-versions (push) Has been cancelled
fsb / set-msrv (push) Has been cancelled
fsb / minimal-versions (push) Has been cancelled
gost94 / set-msrv (push) Has been cancelled
gost94 / minimal-versions (push) Has been cancelled
groestl / set-msrv (push) Has been cancelled
groestl / minimal-versions (push) Has been cancelled
jh / set-msrv (push) Has been cancelled
jh / minimal-versions (push) Has been cancelled
k12 / set-msrv (push) Has been cancelled
k12 / minimal-versions (push) Has been cancelled
md2 / set-msrv (push) Has been cancelled
md2 / minimal-versions (push) Has been cancelled
md4 / set-msrv (push) Has been cancelled
md4 / minimal-versions (push) Has been cancelled
ripemd / set-msrv (push) Has been cancelled
ripemd / minimal-versions (push) Has been cancelled
sha1-checked / set-msrv (push) Has been cancelled
sha1-checked / minimal-versions (push) Has been cancelled
sha1 / set-msrv (push) Has been cancelled
sha1 / minimal-versions (push) Has been cancelled
sha2 / set-msrv (push) Has been cancelled
sha2 / riscv64-zknh (push) Has been cancelled
sha2 / riscv32-zknh (push) Has been cancelled
sha2 / minimal-versions (push) Has been cancelled
sha3 / set-msrv (push) Has been cancelled
sha3 / minimal-versions (push) Has been cancelled
shabal / set-msrv (push) Has been cancelled
shabal / minimal-versions (push) Has been cancelled
skein / set-msrv (push) Has been cancelled
skein / minimal-versions (push) Has been cancelled
sm3 / set-msrv (push) Has been cancelled
sm3 / minimal-versions (push) Has been cancelled
streebog / set-msrv (push) Has been cancelled
streebog / minimal-versions (push) Has been cancelled
whirlpool / set-msrv (push) Has been cancelled
whirlpool / minimal-versions (push) Has been cancelled
Workspace / clippy (push) Has been cancelled
Workspace / rustfmt (push) Has been cancelled
Workspace / typos (push) Has been cancelled
ascon-hash / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
ascon-hash / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
ascon-hash / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
ascon-hash / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
ascon-hash / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
ascon-hash / test (stable) (push) Has been cancelled
belt-hash / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
belt-hash / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
belt-hash / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
belt-hash / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
belt-hash / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
belt-hash / test (stable) (push) Has been cancelled
blake2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
blake2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
blake2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
blake2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
blake2 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
blake2 / test (stable) (push) Has been cancelled
blake2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
blake2 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
fsb / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
fsb / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
fsb / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
fsb / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
fsb / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
fsb / test (stable) (push) Has been cancelled
gost94 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
gost94 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
gost94 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
gost94 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
gost94 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
gost94 / test (stable) (push) Has been cancelled
groestl / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
groestl / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
groestl / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
groestl / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
groestl / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
groestl / test (stable) (push) Has been cancelled
jh / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
jh / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
jh / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
jh / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
jh / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
jh / test (stable) (push) Has been cancelled
k12 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
k12 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
k12 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
k12 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
k12 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
k12 / test (stable) (push) Has been cancelled
md2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
md2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
md2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
md2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
md2 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
md2 / test (stable) (push) Has been cancelled
md4 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
md4 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
md4 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
md4 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
md4 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
md4 / test (stable) (push) Has been cancelled
ripemd / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
ripemd / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
ripemd / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
ripemd / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
ripemd / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
ripemd / test (stable) (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha1-checked / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha1-checked / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha1-checked / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha1-checked / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1-checked / macos (stable) (push) Has been cancelled
sha1-checked / windows (x86_64-pc-windows-gnu, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1-checked / windows (x86_64-pc-windows-gnu, stable) (push) Has been cancelled
sha1-checked / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1-checked / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha1 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha1 / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha1 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha1 / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1 / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha1 / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1 / macos (stable) (push) Has been cancelled
sha1 / windows (x86_64-pc-windows-gnu, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha1 / windows (x86_64-pc-windows-gnu, stable) (push) Has been cancelled
sha1 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha1 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha2 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha2 / build (stable, loongarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha2 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha2 / linux (${{needs.set-msrv.outputs.msrv}}, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (sudo apt update && sudo apt install gcc-multilib, ${{needs.set-msrv.outputs.msrv}}, i686-unknown-linux-gnu) (push) Has been cancelled
sha2 / linux (sudo apt update && sudo apt install gcc-multilib, stable, i686-unknown-linux-gnu) (push) Has been cancelled
sha2 / macos (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / macos (stable) (push) Has been cancelled
sha2 / windows (${{needs.set-msrv.outputs.msrv}}, x86_64-pc-windows-gnu) (push) Has been cancelled
sha2 / windows (stable, x86_64-pc-windows-gnu) (push) Has been cancelled
sha2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha2 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha2 / wasm (-C target-feature=+simd128, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / wasm (-C target-feature=+simd128, stable) (push) Has been cancelled
sha2 / wasm (-C target-feature=-simd128, ${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha2 / wasm (-C target-feature=-simd128, stable) (push) Has been cancelled
sha3 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sha3 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sha3 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sha3 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sha3 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sha3 / test (stable) (push) Has been cancelled
sha3 / cross (default, ${{needs.set-msrv.outputs.msrv}}, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, ${{needs.set-msrv.outputs.msrv}}, powerpc-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
sha3 / cross (default, stable, powerpc-unknown-linux-gnu) (push) Has been cancelled
shabal / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
shabal / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
shabal / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
shabal / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
shabal / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
shabal / test (stable) (push) Has been cancelled
skein / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
skein / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
skein / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
skein / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
skein / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
skein / test (stable) (push) Has been cancelled
sm3 / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
sm3 / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
sm3 / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
sm3 / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
sm3 / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
sm3 / test (stable) (push) Has been cancelled
streebog / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
streebog / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
streebog / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
streebog / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
streebog / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
streebog / test (stable) (push) Has been cancelled
whirlpool / build (${{needs.set-msrv.outputs.msrv}}, thumbv7em-none-eabi) (push) Has been cancelled
whirlpool / build (${{needs.set-msrv.outputs.msrv}}, wasm32-unknown-unknown) (push) Has been cancelled
whirlpool / build (stable, thumbv7em-none-eabi) (push) Has been cancelled
whirlpool / build (stable, wasm32-unknown-unknown) (push) Has been cancelled
whirlpool / test (${{needs.set-msrv.outputs.msrv}}) (push) Has been cancelled
whirlpool / test (stable) (push) Has been cancelled
2025-01-28 22:49:21 +03:00
Artyom Pavlov
1146b9a118 Fix lints (#639) 2025-01-20 17:29:33 +03:00
Artyom Pavlov
2795b4fc66 sha2: fix RISC-V CI job (#637) 2025-01-03 06:34:44 +03:00
Artyom Pavlov
4f3cd253b9 Bump MSRV to 1.81 (#631) 2024-11-22 10:20:39 +03:00
Maximilian Teegen
a68c77e769 sha2: wasm32 simd128 backends (#562)
This PR ports the AVX implementation of SHA-512 to simd128. It also
implements the related version of SHA-256 from
https://github.com/aws-samples/sha2-with-c-intrinsic/blob/master/src/sha256_compress_x86_64_avx.c
in simd128.
Also added wasm32 testing in CI using wasmtime. Since wasm does not have
feature detection, this backend is only used if the `-C
target-feature=+simd128` flag is set.


Benchmarks on AMD Ryzen 9 7950X3D, running with wasmtime 26.0.0
(c92317bcc 2024-10-22) on rustc 1.84.0-nightly (b3f75cc87 2024-11-02):

```
+ RUSTFLAGS='-C target-feature=+simd128'
+ cargo +nightly bench -q --bench mod --target wasm32-wasip1

running 8 tests
test sha256_10    ... bench:          18.71 ns/iter (+/- 1.62) = 555 MB/s
test sha256_100   ... bench:         167.94 ns/iter (+/- 0.62) = 598 MB/s
test sha256_1000  ... bench:       1,656.93 ns/iter (+/- 142.75) = 603 MB/s
test sha256_10000 ... bench:      15,601.30 ns/iter (+/- 1,268.65) = 640 MB/s
test sha512_10    ... bench:          14.35 ns/iter (+/- 0.09) = 714 MB/s
test sha512_100   ... bench:         137.37 ns/iter (+/- 0.87) = 729 MB/s
test sha512_1000  ... bench:       1,261.63 ns/iter (+/- 105.65) = 793 MB/s
test sha512_10000 ... bench:      12,434.24 ns/iter (+/- 24.46) = 804 MB/s

test result: ok. 0 passed; 0 failed; 0 ignored; 8 measured; 0 filtered out; finished in 4.40s

+ RUSTFLAGS='-C target-feature=-simd128'
+ cargo +nightly bench -q --bench mod --target wasm32-wasip1

running 8 tests
test sha256_10    ... bench:         155.59 ns/iter (+/- 1.08) = 64 MB/s
test sha256_100   ... bench:       1,539.48 ns/iter (+/- 9.18) = 64 MB/s
test sha256_1000  ... bench:      15,207.34 ns/iter (+/- 81.67) = 65 MB/s
test sha256_10000 ... bench:     151,547.98 ns/iter (+/- 1,170.30) = 65 MB/s
test sha512_10    ... bench:          98.59 ns/iter (+/- 0.45) = 102 MB/s
test sha512_100   ... bench:         980.99 ns/iter (+/- 3.43) = 102 MB/s
test sha512_1000  ... bench:       9,622.94 ns/iter (+/- 29.97) = 103 MB/s
test sha512_10000 ... bench:      95,977.25 ns/iter (+/- 310.30) = 104 MB/s

test result: ok. 0 passed; 0 failed; 0 ignored; 8 measured; 0 filtered out; finished in 6.55s

+ RUSTFLAGS='--cfg sha2_backend="soft" -C target-feature=+simd128'
+ cargo +nightly bench -q --bench mod --target wasm32-wasip1

running 8 tests
test sha256_10    ... bench:         142.07 ns/iter (+/- 13.71) = 70 MB/s
test sha256_100   ... bench:       1,404.58 ns/iter (+/- 10.83) = 71 MB/s
test sha256_1000  ... bench:      14,823.81 ns/iter (+/- 1,346.05) = 67 MB/s
test sha256_10000 ... bench:     139,001.94 ns/iter (+/- 978.58) = 71 MB/s
test sha512_10    ... bench:          90.39 ns/iter (+/- 7.82) = 111 MB/s
test sha512_100   ... bench:         893.20 ns/iter (+/- 72.22) = 111 MB/s
test sha512_1000  ... bench:       8,812.46 ns/iter (+/- 878.60) = 113 MB/s
test sha512_10000 ... bench:      87,887.02 ns/iter (+/- 394.70) = 113 MB/s

test result: ok. 0 passed; 0 failed; 0 ignored; 8 measured; 0 filtered out; finished in 8.62s

```
2024-11-03 15:45:39 +03:00
Tony Arcieri
a467ac63d8 CI: fix security audit (#624)
New Ubuntu images are being deployed, which is causing the cached
binaries not to work due to a GLIBC upgrade:

https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/

To ensure we're caching consistently on the new image, switches from
using `ubuntu-latest` to `ubuntu-24.04`.

We can revert this change after October 30th, when the blog post says
the deployment is complete.
2024-10-19 09:57:49 -06:00
Tony Arcieri
a281383495 CI: fix sha2 build (#623)
Moves `cargo install cross` prior to the installation of `nightly`,
because `cross` no longer compiles on nightly.
2024-10-12 10:04:15 -06:00
Tony Arcieri
7d1f6b5b7d CI: bump cargo-audit to v0.20 (#622) 2024-10-12 08:00:17 -06:00
Artyom Pavlov
b2312fa696 sha2: improve RISC-V Zknh backends (#617)
Annoyingly, RISC-V is really inconvenient when we have to deal with
misaligned loads/stores. LLVM by default generates very [inefficient
code](https://rust.godbolt.org/z/3Yaj4fq5o) which loads every byte
separately and combines them into a 32/64 bit integer. The `ld`
instruction "may" support misaligned loads and for Linux user-space it's
even
[guaranteed](https://www.kernel.org/doc/html/v6.10/arch/riscv/uabi.html#misaligned-accesses),
but it can be (and IIUC often in practice is) "extremely slow", so we
should not rely on it while writing performant code.

After asking around, it looks like this mess is here to stay, so we have
no choice but to work around it. To do that this PR introduces two
separate paths for loading block data: aligned and misaligned. The
aligned path should be the most common one. In the misaligned path we
have to rely on inline assembly since we have to load some bits outside
of the block.

Additionally, this PR makes inlining in the `riscv-zknh` backend less
aggressive, which makes generated binary code 3-4 times smaller at the
cost of one additional branch.

Generated assembly for RV64:
- SHA-256, unrolled: https://rust.godbolt.org/z/GxPM8PE3P (2278 bytes)
- SHA-256, compact: https://rust.godbolt.org/z/4KWrcve9E (538 bytes)
- SHA-512, unrolled: https://rust.godbolt.org/z/Th8ro8Tbo (2278 bytes)
- SHA-512: compact: https://rust.godbolt.org/z/dqrv48ax3 (530 bytes)
2024-08-27 12:56:21 +03:00
Artyom Pavlov
bca5389861 sha2: replace soft crate feature with configuration flag (#615)
To force use of the software backend users now have to use
`RUSTFLAGS='--cfg sha2_backend="soft"'`.
2024-08-23 16:37:18 +03:00
Artyom Pavlov
03e1d29d1f sha2: RISC-V scalar crypto extension support (#614)
The support is Nightly-only and requires to enable the `sha2_backend`
configuration flag with a value equal to `riscv-zknh` or `riscv-zknh-compact`.

The resulting assembly and binary size of the `compress` function (not
counting the `K32` and `K64` statics):
- SHA-256, unrolled: https://rust.godbolt.org/z/177bqKd3h (5280 bytes)
- SHA-256, compact: https://rust.godbolt.org/z/Kzx59bsdP (1308 bytes)
- SHA-512, unrolled: https://rust.godbolt.org/z/ExqqrfE1r (7964 bytes)
- SHA-512: compact: https://rust.godbolt.org/z/z41v6d4do (2852 bytes)
2024-08-23 16:02:10 +03:00
Tony Arcieri
4e6dd6b71c sha2: use stabilized core::arch::aarch64 intrinsics (#607)
We were previously using inline assembly to "emulate" these intrinsics
since the ones in `core::arch` had not yet been stabilized.

They are now stable as of Rust 1.79.

Redux of #570.
2024-07-28 11:16:39 -06:00
Tony Arcieri
3dc588bd18 Bump digest to v0.11.0-pre.9 (#605) 2024-07-26 14:49:28 -06:00
Friedel Ziegelmayer
e766aecfe3 sha1: implement collision detection and mitigation (#566)
This implements sha1 collision detection, including rehashing for mitigation.
As the code is 1-1 based on the version that git uses, the mitigation
hashes should match as well.

## Limitations

Can only be used with the pure software implementation, asfaiu. The
reason for this is, that the algorithm needs access to all intermediary
states, and so processing 4 rounds at once through the intrinsics will
screw things up.
For that reason I have made it it's own implementation, instead of
adapting the existing `compress` implementations.

It might be possible to add support for the "simpler" assembly
implementations that do round for round processing, but I think this
could be a follow up in the future, if this is too slow for these
platforms.


## Prior art 

- Paper: https://marc-stevens.nl/research/papers/C13-S.pdf
- C reference implementation: https://github.com/cr-marcstevens/sha1collisiondetection
- C2Rust translation: https://gitlab.com/sequoia-pgp/sha1collisiondetection/
2024-03-28 00:15:11 +03:00
dependabot[bot]
31ff8830e2 build(deps): bump actions/cache from 3 to 4 (#554) 2024-01-22 06:44:37 -07:00
Artyom Pavlov
05db3aefbb Add zeroize support (#545) 2024-01-11 23:56:40 +03:00
Artyom Pavlov
d5eefb0bb3 Remove dependency on crates from asm-hashes (#542) 2024-01-11 03:24:14 +03:00
Tony Arcieri
7febf02bfe Bump digest to v0.11.0-pre.3; MSRV 1.71 (#523)
Also bumps crate editions to 2021 where appropriate
2024-01-05 23:14:13 -07:00
Artyom Pavlov
62b6ff1c59 Fix blake2 and ascon-hash CI (#521) 2023-11-22 21:01:45 +03:00
hev
c6decdf36f sha2: Add inline-asm backend for LoongArch64 targets (#507) 2023-09-26 16:06:49 +03:00
Artyom Pavlov
026b0e81e9 md5: minor code tweaks, bump to v0.10.6 (#506) 2023-09-22 14:18:35 +00:00
Artyom Pavlov
7aba4b5271 Add asm!-based backend for LoongArch64 targets (#504)
Based on code from https://github.com/RustCrypto/asm-hashes/pull/66
2023-09-21 16:10:53 +03:00
dependabot[bot]
dcfd5a5016 build(deps): bump actions/checkout from 3 to 4 (#501)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 14:19:34 -06:00
Tony Arcieri
4372c776a5 CI: replace MIPS cross tests with PPC32 (#503)
mips-unknown-linux-gnu is now a Tier 3 target: rust-lang/rust#115218.

This means we can't use it for cross tests anymore since std is no
longer built for it.

This commit replaces it with powerpc-unknown-linux-gnu, a big endian
Tier 2 target.
2023-09-19 13:34:45 -06:00
Artyom Pavlov
342dbfabd4 Update asm dependencies (#498) 2023-08-07 23:22:27 +03:00
Артём Павлов [Artyom Pavlov]
59176e068a Update Clippy and fix lints 2023-08-07 16:10:25 +03:00
Coda Hale
3fa561ed2e sha2: Add aarch64 backends (#490) 2023-06-15 16:13:13 +00:00
Artem Vorotnikov
1affb24f1a JH hash implementation (#484) 2023-06-11 08:38:12 +03:00
Tony Arcieri
c24e4b8264 k12: 2021 edition upgrade; MSRV 1.56 (#487) 2023-06-10 10:38:59 -06:00
Artyom Pavlov
ca07d232e8 Use cargo-hack in CI jobs (#485) 2023-06-09 10:10:21 +03:00
Artem Vorotnikov
d174ad743c Skein hash implementation (#483) 2023-06-09 07:10:25 +03:00
Sebastian Ramacher
70cceab5de Import ascon-hash (#459)
* Import `ascon-hash`

* Relicense as Apache-2.0 OR MIT

* GA: test ascon-hash

* Move benchmarks to benches crate

* Update documentation

* Move ascon-hash to exclude

* Follow UpperCamelCase naming convention

Also bump the version number to 0.2.0-pre as names of public types
change.
2023-03-21 15:23:23 +01:00
Dirk Stolle
852feb9b91 Replace unmaintained actions-rs/cargo action in CI workflow (#455)
Basically all of the `actions-rs/*` actions are unmaintained. See
<https://github.com/actions-rs/toolchain/issues/216> for more
information. Due to their age they generate several warnings in
CI runs.

To get rid of those warnings the occurrences of `actions-rs/cargo`
are replaced by direct invocations of `cargo`.
2023-03-03 17:01:16 -07:00
Dirk Stolle
b059d4bd37 Replace unmaintained actions-rs/toolchain action in CI workflows (#454)
Basically all of the `actions-rs/*` actions are unmaintained. See
<https://github.com/actions-rs/toolchain/issues/216> for more
information. Due to their age they generate several warnings in
CI runs.

To get rid of some of those warnings the occurrences of
`actions-rs/toolchain` are replaced by `dtolnay/rust-toolchain`.
2023-03-03 23:30:13 +00:00