MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxCsslMemory_Copy.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2021 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_COPY_H
20 #define MCUXCSSLMEMORY_COPY_H
21 
39 #define MCUXCSSLMEMORY_COPY_SUCCESS ((mcuxCsslMemory_CopyResult_t)0xE1E1E1E1u)
40 
41 #define MCUXCSSLMEMORY_COPY_INVALID_PARAMETER ((mcuxCsslMemory_CopyResult_t)0x69696969u)
42 
43 #define MCUXCSSLMEMORY_COPY_FAULT ((mcuxCsslMemory_CopyResult_t)0x96969696u)
44 
45 
57 typedef uint64_t mcuxCsslMemory_CopyResult_t;
58 
94 (
96  void const * src,
97  void * dst,
98  size_t dst_size,
99  size_t cnt
100 );
101 
110 #endif
uint32_t mcuxCsslParamIntegrity_Checksum_t
Type of a parameter checksum.
Definition: mcuxCsslParamIntegrity.h:71
mcuxCsslMemory_CopyResult_t mcuxCsslMemory_Copy(mcuxCsslParamIntegrity_Checksum_t chk, void const *src, void *dst, size_t dst_size, size_t cnt)
Copies cnt bytes of data from src to dst.
#define MCUX_CSSL_FP_FUNCTION_DECL(id)
Declaration of a flow protected function.
Definition: mcuxCsslFlowProtection.h:119
uint64_t mcuxCsslMemory_CopyResult_t
return type for CSSL Memory copy
Definition: mcuxCsslMemory_Copy.h:57