nrfxlib API 3.3.99
Loading...
Searching...
No Matches
Constant-Time Functions

Timing-invariant helper functions. More...

Files

file  ocrypto_constant_time.h
 Timing-invariant helper functions.
 

Macros

#define ocrypto_constant_time_copy(x, y, length)
 
#define ocrypto_constant_time_fill_zero(x, length)
 
#define ocrypto_constant_time_fill(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)
 

Detailed Description

Timing-invariant helper functions.

This file provides helper functions that can be used in constant-time code.