Tony Arcieri 7ac1920198
keccak: ARMv8 asm! cleanups (#101)
We pass in `state.as_mut_ptr()` as `x0`, which was previously marked as
`in`. However, it's modified in the `asm!`, e.g.:

    sub x0, x0, #192

Note: it's also post-incremented by `ld1.1d` as state is loaded.

Since it's modified, it needs to be `inout`. This marks it as such,
using the `=> _` syntax to discard the result, then it's reset, then
modified as state is written).

Similar mutations were occurring with `x1` and `x8` as well, which have
been modified accordingly.
2026-02-13 07:29:27 -07:00
2026-02-13 07:29:27 -07:00
2022-11-14 12:30:19 -07:00
2025-10-24 01:26:08 +03:00
2023-04-23 20:02:13 -06:00

RustCrypto: Sponge Functions

Project Chat Apache2/MIT licensed Dependency Status

Collection of sponge functions written in pure Rust.

Supported Algorithms

Crate Algorithm Crates.io Documentation
ascon Ascon crates.io Documentation
bash-f bash-f crates.io Documentation
keccak Keccak crates.io Documentation

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Description
Collection of sponge functions written in pure Rust
Readme
Languages
Rust 100%