GNUnet 0.22.2
consttime_memcmp.c File Reference
#include "platform.h"
#include <stddef.h>
#include <inttypes.h>
Include dependency graph for consttime_memcmp.c:

Go to the source code of this file.

Macros

#define consttime_memcmp   GNUNET_memcmp_ct_
 
#define USE_VOLATILE_TEMPORARY   0
 

Functions

int GNUNET_memcmp_ct_ (const void *b1, const void *b2, size_t len)
 Compare memory in b1 and b2 in constant time, suitable for private data. More...
 

Macro Definition Documentation

◆ consttime_memcmp

#define consttime_memcmp   GNUNET_memcmp_ct_

Definition at line 28 of file consttime_memcmp.c.

◆ USE_VOLATILE_TEMPORARY

#define USE_VOLATILE_TEMPORARY   0

Definition at line 128 of file consttime_memcmp.c.