Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Fix and improve zcrypt reply message checks
@ 2026-09-08 13:18 Harald Freudenberger
  2026-09-08 13:18 ` [PATCH v2 1/1] s390/zcrypt: Fix and improve zcrypt reply message verification checks Harald Freudenberger
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Freudenberger @ 2026-09-08 13:18 UTC (permalink / raw)
  To: dengler, fcallies, ifranzki
  Cc: freude, linux-s390, Heiko Carstens, Vasily Gorbik,
	Alexander Gordeev

Fix and improve zcrypt reply messages checks of type 6 - CCA and EP11
- and type 50 - ICA.

Changelog:
v1: Initial version
v2: Sashiko complained about not checking offset1/count1 at all if
    count2 for an CCA type6 reply is given. And a check like this was
    in place before the rework. So now offset1/count1 is always
    checked and only if count2 is non zero offset2/count2 is
    additionally checked.

Harald Freudenberger (1):
  s390/zcrypt: Fix and improve zcrypt reply message verification checks

 drivers/s390/crypto/zcrypt_msgtype50.c |  40 +++++--
 drivers/s390/crypto/zcrypt_msgtype6.c  | 160 +++++++++++++++++--------
 2 files changed, 136 insertions(+), 64 deletions(-)

--
2.43.0


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

end of thread, other threads:[~2026-09-08 13:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-08 13:18 [PATCH v2 0/1] Fix and improve zcrypt reply message checks Harald Freudenberger
2026-09-08 13:18 ` [PATCH v2 1/1] s390/zcrypt: Fix and improve zcrypt reply message verification checks Harald Freudenberger
2026-09-08 13:37   ` sashiko-bot

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