MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
Buffer manipulation functionality

Input/output buffer manipulation functionality. More...

Macros

#define MCUXCLBUFFER_UPDATE(name, offset)
 Update the buffer pointer with the given offset.
 
#define MCUXCLBUFFER_DERIVE_RO(name, original, offset)
 Derive a new input buffer object from an existing one (updated with the given offset).
 
#define MCUXCLBUFFER_DERIVE_RW(name, original, offset)
 Derive a new input/output buffer object from an existing one (updated with the given offset).
 
#define MCUXCLBUFFER_SET(name, ptr, size)
 Update the buffer pointer the a new memory location.
 
#define MCUXCLBUFFER_GET(name)
 Get the pointer of the buffer.
 
#define MCUXCLBUFFER_IS_NULL(name)
 Check the buffer and its pointer against NULL.
 
#define MCUXCLBUFFER_UPDATE_IMPL(_name, _offset)
 Update the buffer pointer with the given offset.
 
#define MCUXCLBUFFER_DERIVE_RO_IMPL(_name, _original, _offset)
 Derive a new input buffer object from an existing one (updated with the given offset).
 
#define MCUXCLBUFFER_DERIVE_RW_IMPL(_name, _original, _offset)
 Derive a new input/output buffer object from an existing one (updated with the given offset).
 
#define MCUXCLBUFFER_SET_IMPL(_name, _ptr, _size)
 Update the buffer pointer the a new memory location.
 
#define MCUXCLBUFFER_GET_IMPL(_name)
 Get the pointer of the buffer.
 
#define MCUXCLBUFFER_IS_NULL_IMPL(_name)
 Check the buffer pointer against NULL.
 

Detailed Description

Input/output buffer manipulation functionality.

Macro Definition Documentation

◆ MCUXCLBUFFER_UPDATE

#define MCUXCLBUFFER_UPDATE (   name,
  offset 
)

Update the buffer pointer with the given offset.

Parameters
namethe name of the buffer variable to update.
offsetthe amount of bytes that the buffer pointer should be moved.

◆ MCUXCLBUFFER_DERIVE_RO

#define MCUXCLBUFFER_DERIVE_RO (   name,
  original,
  offset 
)

Derive a new input buffer object from an existing one (updated with the given offset).

Parameters
namethe name of the buffer variable to create.
originalthe name of the buffer variable that will be cloned.
offsetthe amount of bytes that the buffer pointer should be moved.

◆ MCUXCLBUFFER_DERIVE_RW

#define MCUXCLBUFFER_DERIVE_RW (   name,
  original,
  offset 
)

Derive a new input/output buffer object from an existing one (updated with the given offset).

Parameters
namethe name of the buffer variable to create.
originalthe name of the buffer variable that will be cloned.
offsetthe amount of bytes that the buffer pointer should be moved.

◆ MCUXCLBUFFER_SET

#define MCUXCLBUFFER_SET (   name,
  ptr,
  size 
)

Update the buffer pointer the a new memory location.

Parameters
namethe name of the buffer variable to update
ptrpointer to the memory location of the buffer
sizesize of the buffer - RFU

◆ MCUXCLBUFFER_GET

#define MCUXCLBUFFER_GET (   name)

Get the pointer of the buffer.

Parameters
namethe name of the buffer variable

◆ MCUXCLBUFFER_IS_NULL

#define MCUXCLBUFFER_IS_NULL (   name)

Check the buffer and its pointer against NULL.

Parameters
namethe name of the buffer variable

◆ MCUXCLBUFFER_UPDATE_IMPL

#define MCUXCLBUFFER_UPDATE_IMPL (   _name,
  _offset 
)

Update the buffer pointer with the given offset.

Parameters
_namethe name of the buffer variable to update
_offsetthe amount of bytes that the buffer pointer should be moved.

◆ MCUXCLBUFFER_DERIVE_RO_IMPL

#define MCUXCLBUFFER_DERIVE_RO_IMPL (   _name,
  _original,
  _offset 
)

Derive a new input buffer object from an existing one (updated with the given offset).

Parameters
_namethe name of the buffer variable to create.
_originalthe name of the buffer variable that will be cloned.
_offsetthe amount of bytes that the buffer pointer should be moved.

◆ MCUXCLBUFFER_DERIVE_RW_IMPL

#define MCUXCLBUFFER_DERIVE_RW_IMPL (   _name,
  _original,
  _offset 
)

Derive a new input/output buffer object from an existing one (updated with the given offset).

Parameters
_namethe name of the buffer variable to create.
_originalthe name of the buffer variable that will be cloned.
_offsetthe amount of bytes that the buffer pointer should be moved.

◆ MCUXCLBUFFER_SET_IMPL

#define MCUXCLBUFFER_SET_IMPL (   _name,
  _ptr,
  _size 
)

Update the buffer pointer the a new memory location.

Parameters
_namethe name of the buffer variable to update
_ptrpointer to the memory location of the buffer
_sizeunused for the current implementation

◆ MCUXCLBUFFER_GET_IMPL

#define MCUXCLBUFFER_GET_IMPL (   _name)

Get the pointer of the buffer.

Parameters
_namethe name of the buffer variable

◆ MCUXCLBUFFER_IS_NULL_IMPL

#define MCUXCLBUFFER_IS_NULL_IMPL (   _name)

Check the buffer pointer against NULL.

Parameters
_namethe name of the buffer variable