On Thu, Aug 06, 2020 at 08:54:48AM -0700, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > > sa2ul.c uses sha{1,256,512}_zero_message_hash, so select the > Kconfig symbols that provide those, like other crypto drivers do. > > Fixes this build error: > > ld: drivers/crypto/sa2ul.o: in function `sa_sha_digest': > sa2ul.c:(.text+0x2b25): undefined reference to `sha512_zero_message_hash' > > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> # 2020-07-29 > Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> > Cc: linux-crypto@xxxxxxxxxxxxxxx > Cc: Tero Kristo <t-kristo@xxxxxx> > Cc: Keerthy <j-keerthy@xxxxxx> > --- > drivers/crypto/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt