MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxCsslMemory_Compare.h File Reference

Include file for constant time memory compare function. More...

#include <stdint.h>
#include <stdlib.h>
#include <mcuxCsslParamIntegrity.h>
#include <mcuxCsslFlowProtection.h>

Go to the source code of this file.

Macros

#define MCUXCSSLMEMORY_COMPARE_EQUAL
 The two contents are equal. More...
 
#define MCUXCSSLMEMORY_COMPARE_NOT_EQUAL
 The two contents are not equal. More...
 
#define MCUXCSSLMEMORY_COMPARE_INVALID_PARAMETER
 A parameter was invalid. More...
 
#define MCUXCSSLMEMORY_COMPARE_FAULT
 A fault occurred in the execution of mcuxCsslMemory_Compare. More...
 

Typedefs

typedef uint64_t mcuxCsslMemory_CompareResult_t
 return type for CSSL Memory compare More...
 

Functions

mcuxCsslMemory_CompareResult_t mcuxCsslMemory_Compare (mcuxCsslParamIntegrity_Checksum_t chk, void const *lhs, void const *rhs, size_t cnt)
 Compares the two memory regions lhs and rhs. More...
 

Detailed Description

Include file for constant time memory compare function.