16#ifndef OCRYPTO_CONSTANT_TIME_H
17#define OCRYPTO_CONSTANT_TIME_H
59#define ocrypto_constant_time_copy(x, y, length) memcpy(x, y, length)
68#define ocrypto_constant_time_fill_zero(x, length) memset(x, 0, length)
78#define ocrypto_constant_time_fill(x, val, length) memset(x, val, length)
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)