nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_constant_time_xor()

void ocrypto_constant_time_xor ( void * r,
const void * x,
const void * y,
size_t length )

#include <crypto/nrf_oberon/include/ocrypto_constant_time.h>

Variable length bitwise xor.

Parameters
rMemory region to store the result.
xMemory region containing the first argument.
yMemory region containing the second argument.
lengthNumber of bytes in both arguments, length > 0.
Remarks
r may be same as x or y.