Re: [PATCHv1 0/3] Enable crypto module on Amlogic GXBB SoC platform

From: Neil Armstrong
Date: Wed Dec 11 2019 - 04:32:07 EST


On 11/12/2019 10:27, Herbert Xu wrote:
> On Wed, Dec 11, 2019 at 09:53:56AM +0100, Neil Armstrong wrote:
>>
>> On 11/12/2019 09:41, Anand Moon wrote:
>>> [sudo] password for alarm:
>>> [ 903.867059] tcrypt:
>>> [ 903.867059] testing speed of async ecb(aes) (ecb(aes-arm64)) encryption
>>
>> Wow, I'm surprised it works on GXBB, Amlogic completely removed HW crypto for GXBB in all their
>> vendor BSPs, in Linux, U-Boot and ATF chain.
>>
>> Could you run more tests to be sure it's really functional ?
>
> Well as you can see from the tcrypt output, it's actually using
> aes-arm64 which is certainly not the amlogic driver. Presumably
> the amlogic driver failed to load/register.

Nice catch... thanks Herbert.

Neil

>
> Cheers,
>