diff options
author | Daniel Schadt <kingdread@gmx.de> | 2025-08-13 23:41:41 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2025-08-13 23:41:41 +0200 |
commit | 620540b2f974aaa25b30b92ac02ab718e55bd0df (patch) | |
tree | ad539a00b3ed8879279b93cd4addcb9c49188068 /LICENSE | |
parent | 9c563b51b88b942d9d201f8c7e2fb6fec32c4d30 (diff) | |
download | zears-master.tar.gz zears-master.tar.bz2 zears-master.zip |
It turns out that we only really iterate over those items once, in
aez_hash. We're perfectly fine just accepting an iterator, and to make
it even more generic, we use AsRef to not limit ourselves to byte
slices.
Most of this commit is just changing the function signatures of all
functions that pass a Tweak downstream.
In the next step, we could update the Aez::encrypt function to take
generic arguments. That could for example allow to pass a slice of
slices, or a vec of vecs. However, simply changing to generics is
unergonomic, as callers might have to specify generic arguments. That
sucks, so we need to figure out something else first.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions