A type that holds the SHA-512 message length. More...
#include <sw/device/lib/crypto/impl/sha2/sha512.h>
Data Fields | |
uint64_t | lower |
Lower 64 bits of the message bit-length. | |
uint64_t | upper |
Upper 64 bits of the message bit-length. | |
A type that holds the SHA-512 message length.
The length may be up to 128 bits.
IMPORTANT: Every member of this struct should be a word-aligned type and have a size divisible by sizeof(uint32_t)
; otherwise sha512_state_t
will not be suitable for hardened_memcpy()
.
uint64_t sha512_message_length::lower |