Re: [PATCH 0/5] crypto: hisilicon - add HPRE support

2019-10-08 Thread Xu Zaibo
Hi, On 2019/9/30 17:20, Zaibo Xu wrote: This series adds HiSilicon high performance RSA engine(HPRE) driver in crypto subsystem. HPRE driver provides PCIe hardware device initiation with RSA and DH algorithms registered to Crypto. Meanwhile, some debug supporting of DebugFS is given. Zaibo Xu

Re: [PATCH] KEYS: asym_tpm: Switch to get_random_bytes()

2019-10-08 Thread Jarkko Sakkinen
On Wed, Oct 09, 2019 at 02:49:35AM +0300, Jarkko Sakkinen wrote: > On Mon, Oct 07, 2019 at 06:13:01PM -0400, Ken Goldman wrote: > > The TPM library specification states that the TPM must comply with NIST > > SP800-90 A. > > > > https://trustedcomputinggroup.org/membership/certification/tpm-certifi

Re: [PATCH] KEYS: asym_tpm: Switch to get_random_bytes()

2019-10-08 Thread Jarkko Sakkinen
On Mon, Oct 07, 2019 at 06:13:01PM -0400, Ken Goldman wrote: > The TPM library specification states that the TPM must comply with NIST > SP800-90 A. > > https://trustedcomputinggroup.org/membership/certification/tpm-certified-products/ > > shows that the TPMs get third party certification, Common

Re: [PATCH v3 19/29] crypto: mips/poly1305 - incorporate OpenSSL/CRYPTOGAMS optimized implementation

2019-10-08 Thread René van Dorst
Quoting Andy Polyakov : Hi, On 10/7/19 11:02 PM, René van Dorst wrote: Quoting Ard Biesheuvel : This is a straight import of the OpenSSL/CRYPTOGAMS Poly1305 implementation for MIPS authored by Andy Polyakov, and contributed by him to the OpenSSL project. Formally speaking this is a little

Re: [PATCH v3 19/29] crypto: mips/poly1305 - incorporate OpenSSL/CRYPTOGAMS optimized implementation

2019-10-08 Thread Andy Polyakov
Hi, On 10/7/19 11:02 PM, René van Dorst wrote: > Quoting Ard Biesheuvel : > >> This is a straight import of the OpenSSL/CRYPTOGAMS Poly1305 >> implementation >> for MIPS authored by Andy Polyakov, and contributed by him to the OpenSSL >> project. Formally speaking this is a little bit misleading

Re: [PATCH v2] crypto: geode-aes - switch to skcipher for cbc(aes) fallback

2019-10-08 Thread Ard Biesheuvel
On Sat, 5 Oct 2019 at 18:15, Gert Robben wrote: > > Op 05-10-2019 om 11:11 schreef Ard Biesheuvel: > > Commit 79c65d179a40e145 ("crypto: cbc - Convert to skcipher") updated > > the generic CBC template wrapper from a blkcipher to a skcipher algo, > > to get away from the deprecated blkcipher inter

Re: [PATCH v2] crypto: geode-aes - switch to skcipher for cbc(aes) fallback

2019-10-08 Thread Ard Biesheuvel
On Sat, 5 Oct 2019 at 14:22, Florian Bezdeka wrote: > > Commit 79c65d179a40e145 ("crypto: cbc - Convert to skcipher") updated > the generic CBC template wrapper from a blkcipher to a skcipher algo, > to get away from the deprecated blkcipher interface. However, as a side > effect, drivers that ins

[tip: x86/urgent] lib/string: Make memzero_explicit() inline instead of external

2019-10-08 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: bec500777089b3c96c53681fc0aa6fee59711d4a Gitweb: https://git.kernel.org/tip/bec500777089b3c96c53681fc0aa6fee59711d4a Author:Arvind Sankar AuthorDate:Mon, 07 Oct 2019 18:00:02 -04:00 Committe

[tip: x86/urgent] lib/string: Make memzero_explicit() inline instead of external

2019-10-08 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: bec500777089b3c96c53681fc0aa6fee59711d4a Gitweb: https://git.kernel.org/tip/bec500777089b3c96c53681fc0aa6fee59711d4a Author:Arvind Sankar AuthorDate:Mon, 07 Oct 2019 18:00:02 -04:00 Committe

Re: [PATCH][next] crypto: inside-secure: fix spelling mistake "algorithmn" -> "algorithm"

2019-10-08 Thread Joe Perches
On Tue, 2019-10-08 at 08:15 +, Pascal Van Leeuwen wrote: > > There is a spelling mistake in a dev_err message. Fix it. [] > > diff --git a/drivers/crypto/inside-secure/safexcel_cipher.c > > b/drivers/crypto/inside- [] > > @@ -437,7 +437,7 @@ static int safexcel_aead_setkey(struct crypto_aead

RE: [PATCH][V2][next] crypto: inside-secure: fix spelling mistake "algorithmn" -> "algorithm"

2019-10-08 Thread Pascal Van Leeuwen
> -Original Message- > From: linux-crypto-ow...@vger.kernel.org > On Behalf Of Colin > King > Sent: Tuesday, October 8, 2019 10:24 AM > To: Antoine Tenart ; Herbert Xu > ; David > S . Miller ; linux-crypto@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-ker...@vger.kernel.or

RE: [PATCH][next] crypto: inside-secure: fix spelling mistake "algorithmn" -> "algorithm"

2019-10-08 Thread Pascal Van Leeuwen
> -Original Message- > From: Joe Perches > Sent: Tuesday, October 8, 2019 10:29 AM > To: Pascal Van Leeuwen ; Colin King > ; > Antoine Tenart ; Herbert Xu > ; David S . > Miller ; linux-crypto@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-ker...@vger.kernel.org > Subject:

[PATCH][V2][next] crypto: inside-secure: fix spelling mistake "algorithmn" -> "algorithm"

2019-10-08 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err message. Fix it. Add in missing newline. Signed-off-by: Colin Ian King --- V2: Add in newline \n --- drivers/crypto/inside-secure/safexcel_cipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto

RE: [PATCH][next] crypto: inside-secure: fix spelling mistake "algorithmn" -> "algorithm"

2019-10-08 Thread Pascal Van Leeuwen
> -Original Message- > From: linux-crypto-ow...@vger.kernel.org > On Behalf Of Colin > King > Sent: Tuesday, October 8, 2019 10:14 AM > To: Antoine Tenart ; Herbert Xu > ; David > S . Miller ; linux-crypto@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-ker...@vger.kernel

[PATCH][next] crypto: inside-secure: fix spelling mistake "algorithmn" -> "algorithm"

2019-10-08 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err message. Fix it. Signed-off-by: Colin Ian King --- drivers/crypto/inside-secure/safexcel_cipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/inside-secure/safexcel_cipher.c b/drivers/crypto/i

RE: [PATCH -next] crypto: inside-secure - Fix randbuild error

2019-10-08 Thread Pascal Van Leeuwen
> -Original Message- > From: Ard Biesheuvel > Sent: Tuesday, October 8, 2019 9:35 AM > To: Pascal Van Leeuwen > Cc: YueHaibing ; herb...@gondor.apana.org.au; > da...@davemloft.net; > pascalv...@gmail.com; antoine.ten...@bootlin.com; > linux-crypto@vger.kernel.org; linux- > ker...@vger.k

Re: [PATCH -next] crypto: inside-secure - Fix randbuild error

2019-10-08 Thread Ard Biesheuvel
On Tue, 8 Oct 2019 at 09:32, Pascal Van Leeuwen wrote: > > > -Original Message- > > From: linux-crypto-ow...@vger.kernel.org > > On Behalf Of > > YueHaibing > > Sent: Tuesday, October 8, 2019 9:15 AM > > To: herb...@gondor.apana.org.au; da...@davemloft.net; pascalv...@gmail.com; > > anto

RE: [PATCH -next] crypto: inside-secure - Fix randbuild error

2019-10-08 Thread Pascal Van Leeuwen
> -Original Message- > From: linux-crypto-ow...@vger.kernel.org > On Behalf Of > YueHaibing > Sent: Tuesday, October 8, 2019 9:15 AM > To: herb...@gondor.apana.org.au; da...@davemloft.net; pascalv...@gmail.com; > antoine.ten...@bootlin.com > Cc: linux-crypto@vger.kernel.org; linux-ker...@

[PATCH -next] crypto: inside-secure - Fix randbuild error

2019-10-08 Thread YueHaibing
If CRYPTO_DEV_SAFEXCEL is y but CRYPTO_SM3 is m, building fails: drivers/crypto/inside-secure/safexcel_hash.o: In function `safexcel_ahash_final': safexcel_hash.c:(.text+0xbc0): undefined reference to `sm3_zero_message_hash' Select CRYPTO_SM3 to fix this. Reported-by: Hulk Robot Fixes: 0f2bc13