Functions¶
-
group
group_crypto_lld_mem_functions
Functions
-
__STATIC_INLINE void Cy_Crypto_Core_MemCpy (CRYPTO_Type *base, void *dst, void const *src, uint16_t size)
Function MemCpy uses Crypto HW.
Memory structures should not overlap! There is no alignment restriction.
- Parameters
base – The pointer to the CRYPTO instance.
dst – The pointer to the destination of MemCpy.
src – The pointer to the source of MemCpy.
size – The size in bytes of the copy operation.
-
__STATIC_INLINE void Cy_Crypto_Core_MemSet (CRYPTO_Type *base, void *dst, uint8_t data, uint16_t size)
Function MemSet uses Crypto HW.
There is no alignment restriction.
- Parameters
base – The pointer to the CRYPTO instance.
dst – The pointer to the destination of MemSet.
data – The value to be set.
size – The size in bytes of the set operation.
-
__STATIC_INLINE uint32_t Cy_Crypto_Core_MemCmp (CRYPTO_Type *base, void const *src0, void const *src1, uint16_t size)
Function MemCmp uses Crypto HW.
There is no alignment restriction.
- Parameters
base – The pointer to the CRYPTO instance.
src0 – The pointer to the first source of MemCmp.
src1 – The pointer to the second source of MemCmp.
size – the size in bytes of the compare operation.
- Returns
0 - if Source 1 = Source 2, 1 - if not.
-
__STATIC_INLINE void Cy_Crypto_Core_MemXor (CRYPTO_Type *base, void *dst, void const *src0, void const *src1, uint16_t size)
Function MemXor uses Crypto HW.
Memory structures should not overlap! There is no alignment restriction.
- Parameters
base – The pointer to the CRYPTO instance.
dst – The pointer to the destination of MemXor.
src0 – The pointer to the first source of MemXor.
src1 – The pointer to the second source of MemXor.
size – The size in bytes of the compare operation.
-