Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 0/4] crypto: miscellaneous small fixes
@ 2026-12-04  8:37 Dan Carpenter
  2026-12-04  8:37 ` [PATCH 1/4] crypto: rsassa-pkcs1 - Fix check for no hash prefix Dan Carpenter
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Dan Carpenter @ 2026-12-04  8:37 UTC (permalink / raw)
  To: Lukas Wunner, Ignat Korchagin, Herbert Xu, David S. Miller,
	Joy Latten, David Howells, Robbie Harwood, Vivek Goyal
  Cc: Karthik Bhargavan, Clément Blaudeau, linux-crypto, keyrings,
	Dan Carpenter

These are some small bugs found by an audit at Pereq.  We found a bunch
of other place which didn't implement the RFC correctly or whatever.
But they didn't have a security impact and the code is old and it's not
clear that any users will ever hit them.

However, these are small obvious one liners.  I have tested these with
live reproducers except the patch 3 where just I changed
"smaller > bigger" to "bigger > smaller" in the warning output.

Signed-off-by: Dan Carpenter <dan@pereq.eu>
---
Dan Carpenter (4):
      crypto: rsassa-pkcs1 - Fix check for no hash prefix
      crypto: ccm - Fix off-by-one in set_msg_len()
      crypto: asymmetric_keys - Fix warning in pefile_strip_sig_wrapper()
      crypto: asymmetric_keys - Print the correct offset in a debug message

 crypto/asymmetric_keys/pkcs7_parser.c  | 2 +-
 crypto/asymmetric_keys/verify_pefile.c | 2 +-
 crypto/ccm.c                           | 2 +-
 crypto/rsassa-pkcs1.c                  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
base-commit: a9c48428cbd8d96b26f92631d0db6f8519c5fcc5
change-id: 20261204-crypto_trivial-d2c81ab1f1df

Best regards,
--  
Dan Carpenter <dan@pereq.eu>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-12-04 11:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  8:37 [PATCH 0/4] crypto: miscellaneous small fixes Dan Carpenter
2026-12-04  8:37 ` [PATCH 1/4] crypto: rsassa-pkcs1 - Fix check for no hash prefix Dan Carpenter
2026-12-04  8:37 ` [PATCH 2/4] crypto: ccm - Fix off-by-one in set_msg_len() Dan Carpenter
2026-12-04  8:37 ` [PATCH 3/4] crypto: asymmetric_keys - Fix warning in pefile_strip_sig_wrapper() Dan Carpenter
2026-12-04  8:37 ` [PATCH 4/4] crypto: asymmetric_keys - Print the correct offset in a debug message Dan Carpenter
2026-12-04  8:52   ` sashiko-bot
2026-12-04 11:36     ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox