On Tue, 26 Nov 2019 at 12:28, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > > On Sun, Nov 24, 2019 at 07:42:21AM +0800, kbuild test robot wrote: > > > > All errors (new ones prefixed by >>): > > > > drivers/crypto/talitos.o: In function `crypto_des_verify_key': > > >> include/crypto/internal/des.h:31: undefined reference to `des_expand_key' > > This patch should fix it. > > ---8<--- > The talitos driver needs to select LIB_DES as it needs calls > des_expand_key. > > Fixes: 9d574ae8ebc1 ("crypto: talitos/des - switch to new...") > Cc: <stable@xxxxxxxxxxxxxxx> > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Acked-by: Ard Biesheuvel <ardb@xxxxxxxxxx> > diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig > index 43ed1b621718..91eb768d4221 100644 > --- a/drivers/crypto/Kconfig > +++ b/drivers/crypto/Kconfig > @@ -289,6 +289,7 @@ config CRYPTO_DEV_TALITOS > select CRYPTO_AUTHENC > select CRYPTO_SKCIPHER > select CRYPTO_HASH > + select CRYPTO_LIB_DES > select HW_RANDOM > depends on FSL_SOC > help > -- > Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt