STM32 Hash Peripheral #71407
-
Hi all, I'm working on a system based on an STM32H755 and I'm having some trouble getting the HASH peripheral going. I did some digging, and it appears that Zephyr combines ciphers and hashes under the Is there a piece I'm missing with regard to the STM32 HASH driver, or is this something that could use work to bring it to full functionality? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
crypto_stm32.c
does not yet implement Zephyr'scrypto_driver_api
Hash functions (hash_begin_session
,hash_free_session
,hash_async_callback_set
). So for now you will have to either use STM32 HAL directly or implement the Hash functions incrypto_stm32.c
(an example of a driver that implements them:drivers/crypto/crypto_intel_sha.c
) & then use Zephyr Crypto API.