OpenSSL, using CAAM, signature verification fail

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OpenSSL, using CAAM, signature verification fail

1,730件の閲覧回数
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,357件の閲覧回数
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 件の賞賛
返信