AnsweredAssumed Answered

performance of CAAM on imx8qxp

Question asked by 帅卿 王 on Jun 20, 2019
Latest reply on Jun 21, 2019 by CarlosCasillas

HI NXP team:

 

We are working on caam hash performance test on i.MX8 board.

It is strange that sha1 performance is lower than sha256's.

As far as i know, the computation of sha256 algorithm is more complicated than sha1,

so I want to know why sha1 hash time is longer than sha256's.

 

I know the hash time is depend on the algorithm implementation.

Following is the test result, please help to confirm if it is normal data of test result?

 

If you are working on it, please let me know. Or please share the schedule.

 

Hash SHA1: 16 MByte data takes 94 msec.

----------------------------------------------------

Job ring parameters:

g_job->dsc[0]:b0800007
g_job->dsc[1]:8441000d
g_job->dsc[2]:24540000
g_job->dsc[3]:84ef0a40
g_job->dsc[4]:1000000
g_job->dsc[5]:54200014
g_job->dsc[6]:81edef00

-----------------------------------------------------

 

Hash SHA256: 16 MByte data takes 81 msec.

------------------------------------------------------

Job ring parameters:

g_job->dsc[0]:b0800007
g_job->dsc[1]:8443000d
g_job->dsc[2]:24540000
g_job->dsc[3]:84ef0a40
g_job->dsc[4]:1000000
g_job->dsc[5]:54200020
g_job->dsc[6]:81edef00

-----------------------------------------------------

 

Looking forward to you reply.

Thanks.

Outcomes