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

From: Herbert Xu
Date: Wed Dec 11 2019 - 04:28:04 EST


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.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt