Skip to main content
DCtech
Associate III
Jan 5, 2022 7:28 AM UTC
Question

Hash using without hash processor

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
Jan 5, 2022 3:26 PM UTC

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
Jan 6, 2022 5:08 AM UTC

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 ?