31 Commits

Author SHA1 Message Date
agureev
c4b35a1346 chore: add Risc0 zkVM dependency 2026-06-23 16:25:41 +04:00
Artyom Pavlov
1efeff7d02
keccak: refactor to a closure-based API (#113)
The new API provides a better way for exposing support for parallel
processing in implemented backends and resolves the issue with branching
on each application of a Keccak permutation.
2026-03-06 16:07:46 +03:00
Tony Arcieri
cf29ae32c6
keccak v0.2.0-rc.2 (#111) 2026-02-26 10:56:38 -07:00
Tony Arcieri
c3a9ef249e
keccak: bump cpufeatures to v0.3 (#99) 2026-02-12 12:20:53 -07:00
Tony Arcieri
d0c9b2a828
keccak v0.2.0-rc.1 (#98) 2026-01-22 11:10:05 -07:00
Artyom Pavlov
868527a13c
bash-f: minor tweaks (#93) 2025-10-24 01:26:08 +03:00
Alexandr Kitaev
4d778574a6
Add bash-f (STB 34.101.77-2020) (#92) 2025-10-24 00:49:57 +03:00
Tony Arcieri
95a176c25b
Cut new prereleases (#90)
Releases the following:
- `ascon` v0.5.0-rc.0
- `keccak` v0.2.0-rc.0
2025-09-02 20:15:00 -06:00
Артём Павлов [Artyom Pavlov]
13e501fa4e Update Cargo.lock 2025-01-25 18:38:04 +03:00
Artyom Pavlov
e47d6337ff
Update Cargo.lock (#83) 2024-11-22 09:46:14 +03:00
dependabot[bot]
5902ea6e37
build(deps): bump cpufeatures from 0.2.14 to 0.2.15 (#81) 2024-11-12 07:49:19 -07:00
dependabot[bot]
7b7196894d
build(deps): bump cpufeatures from 0.2.12 to 0.2.14 (#79) 2024-09-09 06:09:25 -06:00
Tony Arcieri
3c63bd4e6c
Cargo.lock: bump zeroize to v1.8.1 (#76)
This is possible now that we've bumped `ascon`'s MSRV to 1.60
2024-06-05 08:05:33 -06:00
Sebastian Ramacher
8ef2e47617
ascon: MSRV 1.60 (#75) 2024-06-01 12:37:24 -06:00
Tony Arcieri
b67665f9bb
keccak v0.2.0-pre.0 (#71) 2024-01-16 12:13:55 -07:00
Tony Arcieri
7675b171ad
keccak: 2021 edition upgrade; MSRV 1.60 (#70)
`keccak` was previously excluded from the toplevel workspace due to its
MSRV of 1.41 and incompatibilities with packages used by `ascon`.

This bumps the edition, changes the version to `0.2.0-pre` to denote it
contains breaking changes (though this is not intended to be a
`0.2.0-pre` release), and bumps MSRV.

With the MSRV bumped, `keccak` can and has been re-added to the toplevel
workspace.
2024-01-12 14:45:05 -07:00
Tony Arcieri
a3a4e01607
Revert "Update Cargo.lock" (#67)
This reverts commit 3a9a29ef77f4718b6a385d08779d098dded51ef7.

This update is higher than the current Ascon MSRV and broke the build
2023-12-09 14:46:16 -07:00
Артём Павлов [Artyom Pavlov]
3a9a29ef77 Update Cargo.lock 2023-11-18 15:32:47 +03:00
Sebastian Ramacher
aa5da2013e
ascon v0.4.0 (#58) 2023-07-27 22:09:49 +02:00
Sebastian Ramacher
c48f3310d9
ascon v0.3.1 (#52) 2023-03-19 16:40:52 +01:00
Sebastian Ramacher
fc88ab5cc3
ascon: drop MSRV to 1.56 (#51)
* ascon: make tests compatible with Rust 1.56

* ascon: drop MSRV to 1.56

MSRV was raised for `ascon` in c8b07a46c86b240d3ce9c5e75a4f23117a874e19.
After the merge of `ascon-core`, 1.56 provides all required features.
2023-03-19 16:23:24 +01:00
Sebastian Ramacher
633777a1c9
ascon v0.3.0 (#50) 2023-03-17 15:45:49 +01:00
Sebastian Ramacher
3e38152a4a
ascon: replace implementation with ascon-core (#49)
Originally from https://github.com/sebastinas/ascon-aead/tree/main/ascon-core
2023-03-12 09:25:14 -06:00
dependabot[bot]
d8f8fbca7d
build(deps): bump subtle from 2.4.1 to 2.5.0 (#46)
Bumps [subtle](https://github.com/dalek-cryptography/subtle) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/dalek-cryptography/subtle/releases)
- [Changelog](https://github.com/dalek-cryptography/subtle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dalek-cryptography/subtle/compare/2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: subtle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 14:36:52 -07:00
Tony Arcieri
a3906aab48
ascon v0.2.0 (#45) 2023-02-25 21:12:23 -07:00
Tony Arcieri
c8b07a46c8
ascon: use aead crate for AEAD API; MSRV 1.60 (#44)
Impls the standard AEAD API from the `aead` crate.

Eventually we can split this API out into a separate crate, e.g.
`ascon-aead`, but for now this just gets things working initially.

Uses weak/namespaced features which requires MSRV 1.60.
2023-02-25 20:48:50 -07:00
Tony Arcieri
37bc658306
ascon: Key type alias; cache key in Ascon state (#42)
- Adds a type alias for Ascon keys (16-byte)
- Stores key internally in `struct Ascon` so it doesn't need to be
  passed separately to `Ascon::finalize`.
2023-02-25 19:00:09 -07:00
Tony Arcieri
6de759ac15
ascon: remove byteorder dependency (#37)
We can use the support in `core` instead
2023-02-25 15:49:52 -07:00
Tony Arcieri
2e113f5f96
ascon: 2018 edition upgrade, lints, docs (#34)
- Bumps the crate's edition to 2018, which is MSRV-compatible
- Adds a more expansive set of lints
- Adds the `missing_docs` lint, and adds docs where missing
2023-02-11 11:54:59 -07:00
Tony Arcieri
dac6767968
ascon: import crate sources (#30)
Imports the source code of the `ascon` crate originally from:

https://github.com/quininer/ascon

Code is imported as of this commit:

    commit 997e51ff0cad48510ad31934f9c361d25bf5f938
    Author: quininer kel <quininer@live.com>
    Date:   Mon Feb 20 09:52:28 2017 +0800

        refactor: remove no_std

- Formatted code using rustfmt 1.5.1-stable (d5a82bbd 2023-02-07)
- Fixed clippy nits from clippy 0.1.67 (d5a82bbd 2023-02-07)

Dual licensed as Apache 2.0 + MIT

Permission given here:

https://github.com/RustCrypto/sponges/pull/30#discussion_r1103554334

Co-authored-by: quininer kel <quininer@live.com>
2023-02-11 10:34:01 -07:00
Tony Arcieri
6c98ff8396
keccak v0.1.3 (#28) 2022-11-14 12:30:19 -07:00