MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClBuffer.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2022-2024 NXP */
3/* */
4/* NXP Confidential and Proprietary. This software is owned or controlled */
5/* by NXP and may only be used strictly in accordance with the applicable */
6/* license terms. By expressly accepting such terms or by downloading, */
7/* installing, activating and/or otherwise using the software, you are */
8/* agreeing that you have read, and that you agree to comply with and are */
9/* bound by, such license terms. If you do not agree to be bound by the */
10/* applicable license terms, then you may not retain, install, activate or */
11/* otherwise use the software. */
12/*--------------------------------------------------------------------------*/
13
23
24#ifndef MCUXCLBUFFER_H_
25#define MCUXCLBUFFER_H_
26
27#include <mcuxClCore_Platform.h>
28
30
31/* Include the actual implementation of the flow protection mechanism. */
32#include <mcuxClBuffer_Impl.h>
33
51
67#define MCUXCLBUFFER_INIT(name, info, ptr, size) \
68 MCUXCLBUFFER_INIT_RW(name, info, ptr, size)
69
84#define MCUXCLBUFFER_INIT_RO(name, info, ptr, size) \
85 MCUXCLBUFFER_INIT_PLAIN_RO_IMPL(name, info, ptr, size)
86
101#define MCUXCLBUFFER_INIT_RW(name, info, ptr, size) \
102 MCUXCLBUFFER_INIT_PLAIN_RW_IMPL(name, info, ptr, size)
103
120#define MCUXCLBUFFER_INIT_DMA_RO(name, info, ptr, size) \
121 MCUXCLBUFFER_INIT_DMA_RO_IMPL(name, info, ptr, size)
122
139#define MCUXCLBUFFER_INIT_DMA_RW(name, info, ptr, size) \
140 MCUXCLBUFFER_INIT_DMA_RW_IMPL(name, info, ptr, size)
141
157#define MCUXCLBUFFER_INIT_DMA(name, info, ptr, size) \
158 MCUXCLBUFFER_INIT_DMA_RW(name, info, ptr, size)
159
179#define MCUXCLBUFFER_INIT_CUSTOM(name, handler, info, spec, ptr, size) \
180 MCUXCLBUFFER_INIT_CUSTOM_IMPL(name, handler, info, spec, ptr, size)
181
187
201#define MCUXCLBUFFER_UPDATE(name, offset) \
202 MCUXCLBUFFER_UPDATE_IMPL(name, offset)
203
214#define MCUXCLBUFFER_DERIVE_RO(name, original, offset) \
215 MCUXCLBUFFER_DERIVE_RO_IMPL(name, original, offset)
216
227#define MCUXCLBUFFER_DERIVE_RW(name, original, offset) \
228 MCUXCLBUFFER_DERIVE_RW_IMPL(name, original, offset)
229
240#define MCUXCLBUFFER_SET(name, ptr, size) \
241 MCUXCLBUFFER_SET_IMPL(name, ptr, size)
242
251#define MCUXCLBUFFER_GET(name) \
252 MCUXCLBUFFER_GET_IMPL(name)
253
262#define MCUXCLBUFFER_IS_NULL(name) \
263 MCUXCLBUFFER_IS_NULL_IMPL(name)
264
265
266#endif /* MCUXCLBUFFER_H_ */
Constants for use with the mcuxClBuffer component.
Selection of the implementation for the buffer types.