lkml.org 
[lkml]   [2019]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] crypto: inside-secure: fix build error for safexcel_hash.c
Date
From: Randy Dunlap <rdunlap@infradead.org>

safexcel_hash.c (CRYPTO_DEV_SAFEXCEL) needs to select CRYPTO_SM3.

Fixes this build error:

safexcel_hash.c:(.text+0x1b17): undefined reference to `sm3_zero_message_hash'

Fixes: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
---
drivers/crypto/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20191009.orig/drivers/crypto/Kconfig
+++ linux-next-20191009/drivers/crypto/Kconfig
@@ -751,6 +751,7 @@ config CRYPTO_DEV_SAFEXCEL
select CRYPTO_SHA512
select CRYPTO_CHACHA20POLY1305
select CRYPTO_SHA3
+ select CRYPTO_SM3
help
This driver interfaces with the SafeXcel EIP-97 and EIP-197 cryptographic
engines designed by Inside Secure. It currently accelerates DES, 3DES and

\
 
 \ /
  Last update: 2019-10-09 17:50    [W:0.034 / U:69.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site