[PATCH v3] crypto: arm64/sha2: integrate OpenSSL implementations of SHA256/SHA512
Ard Biesheuvel
ard.biesheuvel at linaro.org
Sun Nov 13 13:05:18 PST 2016
On 13 November 2016 at 15:12, Andy Polyakov <appro at openssl.org> wrote:
>> (+ Andy)
>>
>> ...
>>>
>>> Looking at the generated code, I see references to __ARMEB__ and
>> __ILP32__.
>>> The former is probably a bug,
>
> Oh! You mean that it should be __AARCH64EB__/__AARCH64EL__!
Indeed:
$ aarch64-linux-gnu-gcc -dM -E - <<<"" |grep AARCH
#define __AARCH64_CMODEL_SMALL__ 1
#define __AARCH64EL__ 1
$ aarch64-linux-gnu-gcc -dM -E -mbig-endian - <<<"" |grep AARCH
#define __AARCH64_CMODEL_SMALL__ 1
#define __AARCH64EB__ 1
--
Ard.
More information about the linux-arm-kernel
mailing list