nrfxlib API 0.1.0
|
Timing-invariant functions to use with cryptography. More...
Macros | |
#define | ocrypto_constant_time_copy(x, y, length) memcpy(x, y, length) |
#define | ocrypto_constant_time_fill_zero(x, length) memset(x, 0, length) |
#define | ocrypto_constant_time_fill(x, val, length) memset(x, val, length) |
Functions | |
int | ocrypto_constant_time_equal (const void *x, const void *y, size_t length) |
int | ocrypto_constant_time_is_zero (const void *x, size_t length) |
void | ocrypto_constant_time_xor (void *r, const void *x, const void *y, size_t length) |
Timing-invariant functions to use with cryptography.