]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: jitter - fix intermediary handling
authorMarkus Theil <theil.markus@gmail.com>
Sat, 21 Jun 2025 11:36:43 +0000 (13:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Aug 2025 16:30:42 +0000 (18:30 +0200)
commit86974d140fafb3b2081464f5d0e41cae3f98312e
treeb82e6e0734a07e588556c696d06d64e4a78aa2cc
parent7fa59a1816b2a6340a12e88988151033b2817673
crypto: jitter - fix intermediary handling

[ Upstream commit 735b72568c73875269a6b73ab9543a70f6ac8a9f ]

The intermediary value was included in the wrong
hash state. While there, adapt to user-space by
setting the timestamp to 0 if stuck and inserting
the values nevertheless.

Acked-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Markus Theil <theil.markus@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
crypto/jitterentropy-kcapi.c