nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_constant_time_is_zero()

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.

Parameters
xMemory region that will be compared.
lengthNumber of bytes to compare, length > 0.
Return values
1If x is equal to a zero memory region.
0Otherwise.