Embedded SDK
Embedded SDK
|
#include "cx_utils.h"
Go to the source code of this file.
Functions | |
uint32_t | cx_swap_uint32 (uint32_t v) |
void | cx_swap_buffer32 (uint32_t *v, size_t len) |
void | cx_rotr64 (uint64bits_t *x, unsigned int n) |
void | cx_shr64 (uint64bits_t *x, unsigned char n) |
void | cx_swap_uint64 (uint64bits_t *v) |
void | cx_swap_buffer64 (uint64bits_t *v, int len) |
void | cx_add_64 (uint64bits_t *x, uint64bits_t *y) |
void | cx_memxor (uint8_t *buf1, const uint8_t *buf2, size_t len) |
uint8_t | cx_constant_time_eq (const uint8_t *buf1, uint8_t *buf2, size_t len) |
void cx_add_64 | ( | uint64bits_t * | x, |
uint64bits_t * | y | ||
) |
Definition at line 156 of file cx_utils.c.
Definition at line 181 of file cx_utils.c.
Definition at line 173 of file cx_utils.c.
void cx_rotr64 | ( | uint64bits_t * | x, |
unsigned int | n | ||
) |
Definition at line 68 of file cx_utils.c.
void cx_shr64 | ( | uint64bits_t * | x, |
unsigned char | n | ||
) |
Definition at line 83 of file cx_utils.c.
void cx_swap_buffer32 | ( | uint32_t * | v, |
size_t | len | ||
) |
Definition at line 47 of file cx_utils.c.
void cx_swap_buffer64 | ( | uint64bits_t * | v, |
int | len | ||
) |
Definition at line 140 of file cx_utils.c.
uint32_t cx_swap_uint32 | ( | uint32_t | v | ) |
Definition at line 41 of file cx_utils.c.
void cx_swap_uint64 | ( | uint64bits_t * | v | ) |
Definition at line 118 of file cx_utils.c.