Skip to content

lib/crypto: mldsa: Address some minor nits

Eric Biggers linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/crypto: mldsa: Check pk_len before doing pointer arithmeticlib/crypto/mldsa.c+3 -20 replies
2/3lib/crypto: mldsa: Explicitly check that 'alg' is a valid valueinclude/crypto/mldsa.h lib/crypto/mldsa.c lib/crypto/tests/mldsa_kunit.c+18 -20 replies
3/3lib/crypto: mldsa: Add __must_check to mldsa_verify()include/crypto/mldsa.h+3 -20 replies

Reviews trailers per patch

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

PatchArd Biesheuvel
SeriesR-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] lib/crypto: mldsa: Address some minor nits

A few pedantic fixes for issues found by LLMs.

Eric Biggers (3):
lib/crypto: mldsa: Check pk_len before doing pointer arithmetic lib/crypto: mldsa: Explicitly check that 'alg' is a valid value lib/crypto: mldsa: Add __must_check to mldsa_verify()

 include/crypto/mldsa.h         |  6 ++++--
 lib/crypto/mldsa.c             | 15 +++++++++++----
 lib/crypto/tests/mldsa_kunit.c |  9 +++++++++
 3 files changed, 24 insertions(+), 6 deletions(-)

base-commit: d135ab453a7400a34930bdda1ef4bdc8acfac80e

Signature · 1 line
2.56.0