stm32mp2xx_crypto_hash.c
STM32MP2 hash hardware accelerator.
void keccakPermutBlock(KeccakContext *context)
Block permutation.
Definition: stm32mp2xx_crypto_hash.c:620
void hashProcessData(uint32_t algo, const uint8_t *data, size_t length, uint32_t *h, size_t hLen)
Update hash value.
Definition: stm32mp2xx_crypto_hash.c:72
void sha512ProcessBlock(Sha512Context *context)
Process message in 16-word blocks.
Definition: stm32mp2xx_crypto_hash.c:429
void keccakProcessData(const uint8_t *data, size_t length, size_t blockSize, uint32_t *a)
Update state array.
Definition: stm32mp2xx_crypto_hash.c:448
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: stm32mp2xx_crypto_hash.c:292
void sha1ProcessBlock(Sha1Context *context)
Process message in 16-word blocks.
Definition: stm32mp2xx_crypto_hash.c:275
General definitions for cryptographic algorithms.
STM32MP2 hardware cryptographic accelerator.
Collection of hash algorithms.
void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: stm32mp2xx_crypto_hash.c:215
void sha512Update(Sha512Context *context, const void *data, size_t length)
Update the SHA-512 context with a portion of the message being hashed.
Definition: stm32mp2xx_crypto_hash.c:369
Keccak sponge function.
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_chibios.c:396
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_chibios.c:408
void sha256ProcessBlock(Sha256Context *context)
Process message in 16-word blocks.
Definition: stm32mp2xx_crypto_hash.c:352
void keccakAbsorb(KeccakContext *context, const void *input, size_t length)
Absorb data.
Definition: stm32mp2xx_crypto_hash.c:563
Debugging facilities.