stm32mp13xx_crypto_hash.c
void sha256ProcessBlock(Sha256Context *context)
Process message in 16-word blocks.
Definition: stm32mp13xx_crypto_hash.c:352
STM32MP13 hash hardware accelerator.
void keccakProcessData(const uint8_t *data, size_t length, size_t blockSize, uint32_t *a)
Update state array.
Definition: stm32mp13xx_crypto_hash.c:448
void sha512ProcessBlock(Sha512Context *context)
Process message in 16-word blocks.
Definition: stm32mp13xx_crypto_hash.c:429
void hashProcessData(uint32_t algo, const uint8_t *data, size_t length, uint32_t *h, size_t hLen)
Update hash value.
Definition: stm32mp13xx_crypto_hash.c:72
void sha1ProcessBlock(Sha1Context *context)
Process message in 16-word blocks.
Definition: stm32mp13xx_crypto_hash.c:275
General definitions for cryptographic algorithms.
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: stm32mp13xx_crypto_hash.c:292
void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: stm32mp13xx_crypto_hash.c:215
STM32MP13 hardware cryptographic accelerator.
void sha512Update(Sha512Context *context, const void *data, size_t length)
Update the SHA-512 context with a portion of the message being hashed.
Definition: stm32mp13xx_crypto_hash.c:369
Collection of hash algorithms.
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 keccakPermutBlock(KeccakContext *context)
Block permutation.
Definition: stm32mp13xx_crypto_hash.c:620
void keccakAbsorb(KeccakContext *context, const void *input, size_t length)
Absorb data.
Definition: stm32mp13xx_crypto_hash.c:563
Debugging facilities.