This function performs xor between src1 and src2, and saves result to dst.
More...
Macros | |
| #define | MCUXCLMEMORY_FP_MEMORY_XOR(pDst, pSrc1, pSrc2, length) |
| Helper macro to call mcuxClMemory_xor with flow protection. | |
| #define | MCUXCLMEMORY_FP_MEMORY_XOR_WITH_BUFF(pDst, pSrc1, pSrc2, length, bufLen) |
| Helper macro to call mcuxClMemory_xor with flow protection with buffer. | |
Functions | |
| void | mcuxClMemory_xor (uint8_t *pDst, const uint8_t *pSrc1, const uint8_t *pSrc2, uint32_t length, size_t bufLength) |
| Perform xor for 2 memory buffers. | |
This function performs xor between src1 and src2, and saves result to dst.
| #define MCUXCLMEMORY_FP_MEMORY_XOR | ( | pDst, | |
| pSrc1, | |||
| pSrc2, | |||
| length ) |
Helper macro to call mcuxClMemory_xor with flow protection.
| #define MCUXCLMEMORY_FP_MEMORY_XOR_WITH_BUFF | ( | pDst, | |
| pSrc1, | |||
| pSrc2, | |||
| length, | |||
| bufLen ) |
Helper macro to call mcuxClMemory_xor with flow protection with buffer.
| void mcuxClMemory_xor | ( | uint8_t * | pDst, |
| const uint8_t * | pSrc1, | ||
| const uint8_t * | pSrc2, | ||
| uint32_t | length, | ||
| size_t | bufLength ) |
Perform xor for 2 memory buffers.
Operation in place is allowed - one of the input buffer can also be the output buffer.
| [out] | pDst | pointer to the destination buffer. |
| [in] | pSrc1 | pointer to the first source buffer. |
| [in] | pSrc2 | pointer to the second source buffer. |
| [in] | length | size (in bytes) to be operated |
| [in] | bufLength | buffer size (if bufLength < length, only bufLength bytes are operated). |