imx6ul, u-boot CAAM blob_encap() fails

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

imx6ul, u-boot CAAM blob_encap() fails

ソリューションへジャンプ
1,855件の閲覧回数
angelo_dureghel
Contributor III

Hi all,

porting some imx6sx crypto-related code to imx6ul, but the blob encapsulation function (blob_encap(), drivers/crypto/fsl/fsl_blob.c) seems not working.

As function parameters, i am passing the buffer with a key to encapsulate, but the blob output buffer remains untouched, all 0. Like the CAAM module is not performing any action. Hope someone can provide some help on this.

Thanks

Regards,

angelo

ラベル(1)
1 解決策
1,737件の閲覧回数
angelo_dureghel
Contributor III

Hi,

thanks anyway, i solved this, issue was due to some customizations done into the caam driver.

元の投稿で解決策を見る

3 返答(返信)
1,737件の閲覧回数
angelo_dureghel
Contributor III

Hi Yuri,

thanks for your support,

i am using U-Boot 2016.03-F1-0.9.2.10032 but patched with more recent enc_blob fixes.

I tried to disable dcache, nothing changed.

      /* Encapsulate it
       */
  rval = blob_encap ( caam_keymod, buf1, buf2, keylen, &caam_bloblen );
  if ( rval )
    goto errexit;

blob encap result (buf2: 8df4c800) :
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0 件の賞賛
返信
1,738件の閲覧回数
angelo_dureghel
Contributor III

Hi,

thanks anyway, i solved this, issue was due to some customizations done into the caam driver.

1,737件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  What is U-boot release, used in the case?

Please try to disable caches.


Have a great day,
Yuri

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信