[PATCH v2 1/3] crypto/generic: sha3 - fixes for alignment and big endian operation
Ard Biesheuvel
ard.biesheuvel at linaro.org
Mon Jan 15 00:44:25 PST 2018
On 15 January 2018 at 05:53, Chris Moore <moore at free.fr> wrote:
> Hi,
>
> Le 14/01/2018 à 17:41, Ard Biesheuvel a écrit :
>>
>> Ensure that the input is byte swabbed before injecting it into the
>
>
> Nitpick : s/swabbed/swapped/
>
Thanks Chris - byte swapping is often referred to as swabbing, but I
guess 'byte swabbing' is redundant regardless.
>> SHA3 transform. Use the get_unaligned() accessor for this so that
>> we don't perform unaligned access inadvertently on architectures
>> that do not support that.
>>
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
>
>
> Cheers,
> Chris
>
More information about the linux-arm-kernel
mailing list