39 #ifndef ti_drivers_cryptoutils_utils_CryptoUtils__include 40 #define ti_drivers_cryptoutils_utils_CryptoUtils__include 71 const volatile void *
volatile buffer1,
72 size_t bufferByteLength);
103 const volatile uint32_t *
volatile buffer1,
104 size_t bufferByteLength);
156 uint32_t *destination,
157 size_t sourceLength);
176 uint32_t *destination,
177 size_t sourceLength);
193 size_t sourceLength);
void CryptoUtils_reverseBufferBytewise(void *buffer, size_t bufferByteLength)
Reverses the byte order in a buffer of a given length.
void CryptoUtils_reverseCopy(const void *source, void *destination, size_t sourceLength)
Reverses and copies an array of bytes.
void CryptoUtils_memset(void *dest, size_t destSize, uint8_t val, size_t count)
Copies val into the first count bytes of the buffer pointed to by dest.
void CryptoUtils_reverseCopyPad(const void *source, uint32_t *destination, size_t sourceLength)
Reverses, copies, and pads an array of words.
bool CryptoUtils_buffersMatch(const volatile void *volatile buffer0, const volatile void *volatile buffer1, size_t bufferByteLength)
Compares two buffers for equality without branching.
bool CryptoUtils_isBufferAllZeros(const void *buffer, size_t bufferByteLength)
Check whether the provided buffer only contains 0x00 bytes.
void CryptoUtils_copyPad(const void *source, uint32_t *destination, size_t sourceLength)
Copies and pads an array of words.
bool CryptoUtils_buffersMatchWordAligned(const volatile uint32_t *volatile buffer0, const volatile uint32_t *volatile buffer1, size_t bufferByteLength)
Compares two buffers for equality word-by-word without branching.