cancel
Showing results for 
Search instead for 
Did you mean: 

How to add hw crypt/hash to linux kernel?

GKazi
Associate II

Hello,

I am trying to generate my own image Distribution package for my DK2 board.

How to assign hardware cryp1/hash1 to A7 kernel?

Do I need to modify some .dts files? Or do I have to enable some options in menu config?

Give me please step-by-step recomendations if it is possible.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi,

Please have a look to this article :

https://wiki.st.com/stm32mpu/wiki/HASH_device_tree_configuration

BR

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi,

Please have a look to this article :

https://wiki.st.com/stm32mpu/wiki/HASH_device_tree_configuration

BR

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
GKazi
Associate II

Hi,

I have added these lines to the end of the file "stm32mp157c-dk2.dts":

0690X000008Bb3IQAS.png

Than I clean and build the image again

bitbake st-image-weston -c cleanall
bitbake st-image-weston

And download basic image to the DK2 board using STM32CubeProg.

Unfortunately there are no any cryp devices in /dev/

0690X000008Bb4kQAC.png

What I am missing here?

GKazi
Associate II

Please help!

Hardware encryption is necessary for our project.

But I couldn't find solution.

Thanks