nrfxlib API 2.8.99
|
int ocrypto_constant_time_equal | ( | const void * | x, |
const void * | y, | ||
size_t | length ) |
#include <crypto/nrf_oberon/include/ocrypto_constant_time.h>
Variable length comparison.
x | Memory region to compare with y . |
y | Memory region to compare with x . |
length | Number of bytes to compare, length > 0. |
1 | If x and y point to equal memory regions. |
0 | Otherwise. |