MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxCsslMemory_Compare.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2020-2022 NXP */
3 /* */
4 /* NXP Confidential. This software is owned or controlled by NXP and may */
5 /* only be used strictly in accordance with the applicable license terms. */
6 /* By expressly accepting such terms or by downloading, installing, */
7 /* activating and/or otherwise using the software, you are agreeing that */
8 /* you have read, and that you agree to comply with and are bound by, such */
9 /* license terms. If you do not agree to be bound by the applicable license */
10 /* terms, then you may not retain, install, activate or otherwise use the */
11 /* software. */
12 /*--------------------------------------------------------------------------*/
13 
19 #ifndef MCUXCSSLMEMORY_COMPARE_H
20 #define MCUXCSSLMEMORY_COMPARE_H
21 
22 #include <stdint.h>
23 #include <mcuxCsslParamIntegrity.h>
24 #include <mcuxCsslFlowProtection.h>
26 
65 (
67  void const * pLhs,
68  void const * pRhs,
69  size_t length
70 );
71 
80 #endif
Top-level include file for the parameter integrity protection mechanism.
uint32_t mcuxCsslMemory_Status_t
Type for CSSL Memory status codes.
Definition: mcuxCsslMemory_Types.h:67
mcuxCsslMemory_Status_t mcuxCsslMemory_Compare(mcuxCsslParamIntegrity_Checksum_t chk, void const *pLhs, void const *pRhs, size_t length)
Compares the two memory regions lhs and rhs.
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition: mcuxCsslFlowProtection.h:125
Provides the API for the CSSL flow protection mechanism.
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition: mcuxCsslFlowProtection.h:81
uint32_t mcuxCsslParamIntegrity_Checksum_t
Type of a parameter checksum.
Definition: mcuxCsslParamIntegrity.h:72
Definition of function identifiers for the flow protection mechanism.