OpenSSL, using CAAM, signature verification fail

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

OpenSSL, using CAAM, signature verification fail

1,721 次查看
noammoshe
Contributor II

When using the CAAM (Cryptographic Accelerator and Assurance Module) module in IMX6 via OpenSSL I'm getting a 'Segmentation fault' due to 'Cannot allocate memory'. strace:

pastedImage_1.png

I'm trying to verify a signature of a large file (~700MB).

OpenSSL default engine ('Dynamic engine loading support'), software implementation, is working fine. When using '(cryptodev) BSD cryptodev engine' engine (with CAAM) the file verification fail.

Is anyone can assist? is it a known issue of CAAM?   

Info about the connection of CAAM to OpenSSL:

https://www.digi.com/resources/documentation/digidocs/90001546/reference/android/r_caam_android.htm
http://trac.gateworks.com/wiki/ventana/encryption

标记 (3)
0 项奖励
回复
1 回复

1,348 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  Please check memory (over night mode), using the Stress test :

i.MX6/7 DDR Stress Test Tool V2.70 

  Try the recent NXP BSPs. Please look at section 9 (Security) of "i.MX_Linux_User's_Guide.pdf"

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_LINUX_DOCS&Parent_nodeId=133769948107170617... 

i.MX 6 / i.MX 7 Series Software and Development Tool|NXP 

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复