Skip to main content
GKazi
Associate II
April 22, 2019
Solved

How to add hw crypt/hash to linux kernel?

  • April 22, 2019
  • 3 replies
  • 1447 views

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.

This topic has been closed for replies.
Best answer by Olivier GALLIEN

Hi,

Please have a look to this article :

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

BR

Olivier

3 replies

Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
April 23, 2019

Hi,

Please have a look to this article :

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

BR

Olivier

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
GKaziAuthor
Associate II
May 13, 2019

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
GKaziAuthor
Associate II
May 16, 2019

Please help!

Hardware encryption is necessary for our project.

But I couldn't find solution.

Thanks