Skip to content

BLAKE2b cleanups

David Sterba linux-crypto 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesIn review
  2. v17 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- rename digest_setkey to blake2b_setkey, this is in patch 7 that also does a rename, to avoid a too-trivial separate patch
- minor withespace fix in patch 6

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7crypto: blake2b: merge _final implementation to callbackcrypto/blake2b_generic.c+17 -250 replies
2/7crypto: blake2b: merge blake2 init to api callbackcrypto/blake2b_generic.c+19 -840 replies
3/7crypto: blake2b: simplify key initcrypto/blake2b_generic.c+6 -80 replies
4/7crypto: blake2b: delete unused structs or memberscrypto/blake2b_generic.c+0 -300 replies
5/7crypto: blake2b: open code set last block helpercrypto/blake2b_generic.c+2 -60 replies
6/7crypto: blake2b: merge _update to api callbackcrypto/blake2b_generic.c+30 -360 replies
7/7crypto: blake2b: rename tfm context and _setkey callbackcrypto/blake2b_generic.c+18 -180 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric Biggers
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] BLAKE2b cleanups

Hi,

the patchset implements cleanups suggested by Eric in
https://lore.kernel.org/linux-crypto/[email protected]/

The diff is almost the same, split into pieces with some additional comments where it would help understand the simplifications. This is based on v7 of the BLAKE2b patchset.

The self-tests have been run for each patch on x86_64.

V2:
- rename digest_setkey to blake2b_setkey, this is in patch 7 that also does a rename, to avoid a too-trivial separate patch
- minor withespace fix in patch 6

David Sterba (7):
crypto: blake2b: merge _final implementation to callback
crypto: blake2b: merge blake2 init to api callback
crypto: blake2b: simplify key init
crypto: blake2b: delete unused structs or members
crypto: blake2b: open code set last block helper
crypto: blake2b: merge _update to api callback
crypto: blake2b: rename tfm context and _setkey callback

 crypto/blake2b_generic.c | 279 ++++++++++++---------------------------
 1 file changed, 82 insertions(+), 197 deletions(-)
Signature · 1 line
2.23.0