Commit 03323ac5 authored by Herbert Xu's avatar Herbert Xu Committed by Giuliano Procida
Browse files

UPSTREAM: crypto: ahash - Set default reqsize from ahash_alg



[ Upstream commit 9e01aaa1 ]

Add a reqsize field to struct ahash_alg and use it to set the
default reqsize so that algorithms with a static reqsize are
not forced to create an init_tfm function.

Change-Id: I15d99e9297340b9f849d20e65d599a23bcc05a59
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit 9f27b387)
Bug: 437846539
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 7d902a5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment