Re: [RFT PATCH] crypto: arm64 - implement SM3 secure hash using special instructions

2018-01-21 Thread Gilad Ben-Yossef
On Tue, Jan 16, 2018 at 10:29 AM, Ard Biesheuvel wrote: > Implement the Chinese SM3 secure hash algorithm using the new > special instructions that have been introduced as an optional > extension in ARMv8.2. > > Signed-off-by: Ard Biesheuvel > --- Looks good to me. Reviewed-by: Gilad Ben-Yossef

Re: [RFT PATCH] crypto: arm64 - implement SM3 secure hash using special instructions

2018-01-16 Thread Steve Capper
On Tue, Jan 16, 2018 at 08:29:22AM +, Ard Biesheuvel wrote: > Implement the Chinese SM3 secure hash algorithm using the new > special instructions that have been introduced as an optional > extension in ARMv8.2. > Hi Ard, I've tested this in a model against 4.15-rc8. The following tcrypt mod

[RFT PATCH] crypto: arm64 - implement SM3 secure hash using special instructions

2018-01-16 Thread Ard Biesheuvel
Implement the Chinese SM3 secure hash algorithm using the new special instructions that have been introduced as an optional extension in ARMv8.2. Signed-off-by: Ard Biesheuvel --- arch/arm64/crypto/Kconfig | 5 ++ arch/arm64/crypto/Makefile | 3 + arch/arm64/crypto/sm3-ce-core.S |