crypto: jitter - fix intermediary handling
authorMarkus Theil <theil.markus@gmail.com>
Sat, 21 Jun 2025 11:36:43 +0000 (13:36 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 7 Jul 2025 03:27:04 +0000 (15:27 +1200)
commit735b72568c73875269a6b73ab9543a70f6ac8a9f
tree231cb862a1b613c11412c429ef252b1f62384007
parentcb7fa6b6fc71e0c801e271aa498e2f19e6df2931
crypto: jitter - fix intermediary handling

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>
crypto/jitterentropy-kcapi.c