EdgeLOCK SECURE ENCLAVE SDK

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

EdgeLOCK SECURE ENCLAVE SDK

1,016件の閲覧回数
DeepThinker
Contributor II

Hi,

I am using i.MX93 Processor.

Can anyone direct me where to get the SDK for EdgeLock secure enclave?

Thanks in advance

 

#SecureEnclave #armprocessor #NXP @Tia_Lan 

 

ラベル(2)
7 返答(返信)

903件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

Before make, try to checkout one branch such as lf-6.1.36-2.1.0. then no such error reported.

 

Best regards

Harvey

889件の閲覧回数
DeepThinker
Contributor II

Hi @Harvey021 

Thanks for your inputs. I did as you said, I did the checkout to branch lf-6.1.36-2.1.0 before "make". But I am getting the same error again. I am attaching the screenshots in the reply.Checkout.PNGError.PNG

I am able to locate where the error is coming.

src/common/hsm_api/hsm_dev_attest.c
src/common/hsm_api/hsm_dev_getinfo.c

The definition is missing in those above files

879件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

My steps:

1> git clone https://github.com/nxp-imx/imx-secure-enclave.git

2> ls
0001-strict-update.patch 0001-test-butt-conti.patch doc EULA.txt include Makefile README SCR.txt src test

3> git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

4> git checkout lf-6.1.36-2.1.0

5>  ls
0001-strict-update.patch 0001-test-butt-conti.patch cmake doc include LICENSE Makefile README scripts SCR.txt se_version.txt src test

6> make

7> ls
0001-strict-update.patch cmake include libseco_nvm.so.1.0 LICENSE nvm_daemon scripts seco_hsm_test seco_v2x_test src
0001-test-butt-conti.patch doc libseco_hsm.so.1.0 libseco_she.so.1.0 Makefile README SCR.txt seco_she_test se_version.txt test

 

Best regards

Harvey

858件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

My mistake for step 6, change the command "make" to the command line

"rm -rf export;make PLAT=ele clean; make PLAT=seco clean;make PLAT=ele install_tests;tree export"

 

Let me know if problem persists on your end.

 

Best regards

Harvey

0 件の賞賛

963件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Hi @DeepThinker 

Please refer to the link: GitHub - nxp-imx/imx-secure-enclave: source code for iMX8 SHE driver

 

Best regards

Harvey

0 件の賞賛

895件の閲覧回数
NellyAurora
Contributor I

I'm glad to hear that you had a positive experience.                                                     

                                                                                                                                                      heardle 80s

942件の閲覧回数
DeepThinker
Contributor II

Hi Harvey @Harvey021 ,

Thanks for your inputs.

I have tried that, I cloned everything from the link in the linux machine. and Tried to compile it using "make" command.

it shows this error:

src/common/hsm_api/hsm_dev_attest.c: In function ‘hsm_dev_attest’:
src/common/hsm_api/hsm_dev_attest.c:40:6: error: ‘MT_SAB_DEV_ATTEST’ undeclared (first use in this function); did you mean ‘HSM_DEV_ATTEST’?
   40 |      MT_SAB_DEV_ATTEST,
      |      ^~~~~~~~~~~~~~~~~
      |      HSM_DEV_ATTEST
src/common/hsm_api/hsm_dev_attest.c:40:6: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:73: src/common/hsm_api/hsm_dev_attest.o] Error 1

 

Thanks & regards.