16 Commits

Author SHA1 Message Date
Anton Lazarev
11241c579a
derive Clone for hash::Context
The HASH accelerator can be used for HMAC if a key is provided. One
significant use case of HMAC is as a PRF for the PBKDF2 algorithm, but
this requires that the hashing state can be recursively "branched"
multiple times.
2025-04-18 11:15:24 -07:00
Dario Nieuwenhuis
d41eeeae79 Remove Peripheral trait, rename PeripheralRef->Peri. 2025-03-27 15:18:06 +01:00
Dario Nieuwenhuis
db86aba841 stm32/hash: remove DMA generic param. 2025-03-25 21:57:37 +01:00
Liu Hancheng
7d74d15b18 refactor: update DMA pointer types for cryp and hash modules 2025-01-04 21:10:32 +08:00
Jan Špaček
081afca3f0 stm32/rcc: replace generated enable/disable code with runtime info 2024-05-25 18:44:55 +02:00
Dario Nieuwenhuis
2bca875b5f stm32: use private_bounds for sealed traits. 2024-03-23 01:38:51 +01:00
Caleb Garrett
14a678fe45 Fixed HMAC blocking mode. 2024-02-12 20:33:04 -05:00
Caleb Garrett
d8b4922b3c Add STM32 HMAC function. 2024-02-12 20:33:04 -05:00
Caleb Garrett
eb64d71247 Consolidated hash drivers. 2024-02-11 11:32:29 -05:00
Caleb Garrett
f6645750c9 Removed hash DMA from unsupported configs. 2024-02-08 17:24:27 -05:00
Caleb Garrett
bfa67c2993 Fix digest interrupt enable. 2024-02-06 18:37:48 -05:00
Caleb Garrett
66f44b95d7 Addressed hash CI build issues. 2024-02-04 17:16:33 -05:00
Caleb Garrett
72bbfec39d Added hash DMA implementation. 2024-02-03 16:10:00 -05:00
Caleb Garrett
1027530902 Added hash interrupts for async. 2024-02-01 17:27:25 -05:00
Caleb Garrett
1dbfa5ab72 Added hash v1/v2 configs. 2024-02-01 10:28:12 -05:00
Caleb Garrett
6e9ddd4626 Added hash module with blocking implementation. Included SHA256 example. 2024-01-31 21:21:36 -05:00