nrfxlib API 0.1.0
|
int ocrypto_constant_time_is_zero | ( | const void * | x, |
size_t | length | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_constant_time.h>
Variable length compare to zero.
x | Memory region that will be compared. |
length | Number of bytes to compare, length > 0. |
1 | If x is equal to a zero memory region. |
0 | Otherwise. |