i.MX93: How to use ele to generate or read die root key?

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

i.MX93: How to use ele to generate or read die root key?

1,629件の閲覧回数
Nivas_Pangarkar
Contributor II

Hi team,

I'm using i.MX93 with kernel "lf-6.1.y" and i can see ele_mu node in see imx93-11x11-evk.dts

&ele_mu {
memory-region = <&ele_reserved>;
};

ele_reserved: ele-reserved@a4120000 {

compatible = "shared-dma-pool";
reg = <0 0xa4120000 0 0x100000>;
no-map;
};
};

and imx93.dtsi

ele_mu: ele-mu {
compatible = "fsl,imx93-ele";
mboxes = <&s4muap 0 0 &s4muap 1 0>;
mbox-names = "tx", "rx";
fsl,ele_mu_did = <3>;
fsl,ele_mu_id = <2>;
fsl,ele_mu_max_users = <4>;
status = "okay";
};

 

I can see this nodes in /dev:

ele_mu2_ch3
ele_mu2_ch2
ele_mu2_ch1
ele_mu2_ch0

 

How can I use ele? How can I generate or use die root key ?

Any end to end document available for read or test the die root key using command line (On OS level)?

タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,603件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

"Derive Key" command can be used to derive a die unique key. Please refer to tee_otp_get_hw_unique_key()  in imx-optee-os/core/drivers/imx_ele.c at lf-6.1.1_1.0.0 · nxp-imx/imx-optee-os · GitHub

 

Regards

Harvey

0 件の賞賛
返信

1,566件の閲覧回数
Nivas_Pangarkar
Contributor II

Hi @Harvey021 , Thanks for reply

How to use this "Derive Key" command or tee_otp_get_hw_unique_key() in user space?

Any sample application available?

0 件の賞賛
返信