39 #ifndef ti_drivers_cryptoutils_utils_CryptoUtils__include 40 #define ti_drivers_cryptoutils_utils_CryptoUtils__include 72 size_t bufferByteLength);
103 const uint32_t *buffer1,
104 size_t bufferByteLength);
145 size_t sourceLength);
165 size_t sourceLength);
void CryptoUtils_reverseBufferBytewise(void *buffer, size_t bufferByteLength)
Reverses the byte order in a buffer of a given length.
bool CryptoUtils_buffersMatch(const void *buffer0, const void *buffer1, size_t bufferByteLength)
Compares two buffers for equality without branching.
void CryptoUtils_copyPad(const void *source, void *destination, size_t sourceLength)
Copies and pads an array of words.
bool CryptoUtils_buffersMatchWordAligned(const uint32_t *buffer0, const uint32_t *buffer1, size_t bufferByteLength)
Compares two buffers for equality word-by-word without branching.
bool CryptoUtils_isBufferAllZeros(const void *buffer, size_t bufferByteLength)
Check whether the provided buffer only contains 0x00 bytes.
void CryptoUtils_reverseCopyPad(const void *source, void *destination, size_t sourceLength)
Reverses, copies, and pads an array of words.