[RFT PATCH] crypto: arm64 - implement SHA-512 using special instructions

Ard Biesheuvel ard.biesheuvel at linaro.org
Tue Jan 16 00:19:31 PST 2018


On 16 January 2018 at 08:16, Steve Capper <steve.capper at arm.com> wrote:
> On Tue, Jan 09, 2018 at 06:23:02PM +0000, Ard Biesheuvel wrote:
>> Implement the SHA-512 using the new special instructions that have
>> been introduced as an optional extension in ARMv8.2.
>
> Hi Ard,
> I have tested this applied on top of 4.15-rc7 running in a model.
>
> For sha512-ce, I verified that tcrypt successfully passed tests for modes:
> 12, 104, 189, 190, 306, 406 and 424.
> (and I double checked that sha512-ce was being used).
>
> Similarly for sha384-ce, I tested the following modes:
> 11, 103, 187, 188, 305 and 405.
>
> Also, I had:
> CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=n
>
> So FWIW, please feel free to add:
> Tested-by: Steve Capper <steve.capper at arm.com>
>

Excellent! Thanks a lot Steve.



More information about the linux-arm-kernel mailing list