Skip to main content
DCtech
Associate III
January 5, 2022
Question

Hash using without hash processor

  • January 5, 2022
  • 2 replies
  • 733 views

I'm learning using cryptography method on stm32f429. But there is no Hash proccesor on the system. Although there is no hash proccessor, could I use the STM32CubeCrypto Libraries HASH examples on my board ? What kind of changes if my proccessor has proccesor unit inside ?

This topic has been closed for replies.

2 replies

TDK
Super User
January 5, 2022

You can't use code intended for the HASH peripheral on a board that doesn't have a HASH peripheral. How would that work?

There are, no doubt, examples of software-based, much slower, HASH calculation routines on the internet.

"If you feel a post has answered your question, please click ""Accept as Solution""."
DCtech
DCtechAuthor
Associate III
January 6, 2022

I guess I was misunderstood. I dont want to use HASH peripheral. I want to use calculate hash value from my data and compare incomming data.

I need to initilize cmox_initialize and cmox_hash_compute function in STM32CubeCrypto Libraries. but is this usage correct ?