i.MX258 scc driver and user space application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX258 scc driver and user space application

730 Views
jingdardu
Contributor I

hi forum,

Due to I have to deliver the security related functions. below are the issue I met.

1. does iMX258 provides hardware engine for RSA/DES/TDES/SHA/MAC/HMAC etc. 

     I can see drivers/mxc/security/rng, but does not  including above functions inside it.

     where I can get or download the drivers and related documents?

2. does iMX258 provides the sample codes for user space applications

     where I can get them?

3. can I take "drivers/mxc/security/sahara" for IMX25 driver use?  since it was for iMX37,

thanks.

BR

jingdar

Labels (1)
0 Kudos
2 Replies

486 Views
Yuri
NXP Employee
NXP Employee

The i.MX25 SCC supports (in hardware) only 3DES. Other (HAB) features, such as RSA, SHA
are implemented in software (boot ROM).

 

Please use "pdk2009_12_imx25_Linux_RM.pdf" in Linux documentation package,
Chapter 18 "DryIce Driver", Chapter 19 "Security Drivers".

Next, You may look at unit_tests: mxc_dryice_test, mxc_scc.
it is needed to select imx-test package in LTIB selected.

Please pay attention, i.MX25 does not support SAHARA (as hardware module).

486 Views
balwang
Contributor I

Hi,

there is a flag FSL_HAVE_SCC2 in the drivers/mxc/security/rgn/shw_driver.c of  patched linux-2.6.31 for i.mx258.

we would like to know if it is applicable for i.mx258?

0 Kudos