Electroneum
ed25519-donna-portable.h File Reference
#include "ed25519-donna-portable-identify.h"
#include <sys/param.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for ed25519-donna-portable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define mul32x32_64(a, b)   (((uint64_t)(a))*(b))
 
#define DONNA_INLINE   inline __attribute__((always_inline))
 
#define DONNA_NOINLINE   __attribute__((noinline))
 
#define ALIGN(x)   __attribute__((aligned(x)))
 
#define ROTL32(a, b)   (((a) << (b)) | ((a) >> (32 - b)))
 
#define ROTR32(a, b)   (((a) >> (b)) | ((a) << (32 - b)))
 

Macro Definition Documentation

◆ ALIGN

#define ALIGN (   x)    __attribute__((aligned(x)))

Definition at line 23 of file ed25519-donna-portable.h.

◆ DONNA_INLINE

#define DONNA_INLINE   inline __attribute__((always_inline))

Definition at line 21 of file ed25519-donna-portable.h.

◆ DONNA_NOINLINE

#define DONNA_NOINLINE   __attribute__((noinline))

Definition at line 22 of file ed25519-donna-portable.h.

◆ mul32x32_64

#define mul32x32_64 (   a,
 
)    (((uint64_t)(a))*(b))

Definition at line 3 of file ed25519-donna-portable.h.

◆ ROTL32

#define ROTL32 (   a,
 
)    (((a) << (b)) | ((a) >> (32 - b)))

Definition at line 24 of file ed25519-donna-portable.h.

◆ ROTR32

#define ROTR32 (   a,
 
)    (((a) >> (b)) | ((a) << (32 - b)))

Definition at line 25 of file ed25519-donna-portable.h.