nrfxlib API 0.1.0
|
#include <stddef.h>
#include <string.h>
Go to the source code of this file.
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) |