aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2025-08-13 23:41:41 +0200
committerDaniel Schadt <kingdread@gmx.de>2025-08-13 23:41:41 +0200
commit620540b2f974aaa25b30b92ac02ab718e55bd0df (patch)
treead539a00b3ed8879279b93cd4addcb9c49188068 /LICENSE
parent9c563b51b88b942d9d201f8c7e2fb6fec32c4d30 (diff)
downloadzears-master.tar.gz
zears-master.tar.bz2
zears-master.zip
don't allocate a vec if there are multiple adHEADmaster
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