MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxCsslMemory_Examples.h
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2023 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 
14 #ifndef MCUXCSSLMEMORY_EXAMPLES_H_
15 #define MCUXCSSLMEMORY_EXAMPLES_H_
16 
17 #include <stdint.h>
18 #include <stdbool.h>
19 #include <stddef.h>
20 
21 #define MCUXCSSL_MEMORY_EX_FUNCTION(_name) bool _name(void)
22 
23 #define MCUXCSSLMEMORY_EX_OK true
24 #define MCUXCSSLMEMORY_EX_ERROR false
25 
26 bool data_invariant_memory_compare(void);
27 bool data_invariant_memory_copy(void);
28 MCUXCSSL_MEMORY_EX_FUNCTION(mcuxCsslMemory_Clear_example);
29 MCUXCSSL_MEMORY_EX_FUNCTION(mcuxCsslMemory_Set_example);
30 
31 #endif /* MCUXCSSLMEMORY_EXAMPLES_H_ */