CAAM HASH algorithm performance Question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAAM HASH algorithm performance Question

563 次查看
zhongyue_li
Contributor II

Dear NXP engineers:

 

G'Day.

I am working on caam hash performance test on i.MX8 board.

and there is weird result that sha1 performance is lower than sha256's.

As far as i know, the computation of sha256 algorithm is more complicated that sha1's,

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?

 

Hash SHA1: 16 Mega byte data takes 94 milliseconds.

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

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 Mega byte data takes 81 milliseconds.

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

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 a bunch.

0 项奖励
1 回复

475 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Li Zhongyue,

I see that this question is being addressed on the following thread:

https://community.nxp.com/thread/505176

Regards,

0 项奖励