lib-q-tweak-aead
Tweakable-block CTR AEAD: each 32-byte block uses an independent Keccak-f[1600] evaluation (key, nonce, counter), so four permutations can be run in parallel on x86_64 with the simd-avx2 feature.
Usage
use ;
use TweakAead;
let aead = new;
let key = new;
let nonce = new;
let ct = aead.encrypt.unwrap;
let pt = aead.decrypt.unwrap;
Features
std,alloc— defaults forAeadAPIsimd-avx2— four-way parallel Keccak-f[1600] for bulk data on AVX2 CPUs
Security
Uses the SHA-3 permutation only (no AES/ChaCha). The mode is custom; review before production use.
Part of the lib-Q workspace; pairs with lib-q-core AEAD traits.