CC23x0r2DriverLibrary
sw_poly1305-donna-32.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  poly1305_state_internal_t
 

Macros

#define POLY1305_NOINLINE
 
#define poly1305_block_size   16
 

Functions

static unsigned long U8TO32 (const unsigned char *p)
 
static void U32TO8 (unsigned char *p, unsigned long v)
 
void poly1305_init (poly1305_context *ctx, const unsigned char key[32])
 
static void poly1305_blocks (poly1305_state_internal_t *st, const unsigned char *m, size_t bytes)
 
POLY1305_NOINLINE void poly1305_finish (poly1305_context *ctx, unsigned char mac[16])
 

Macro Definition Documentation

§ POLY1305_NOINLINE

#define POLY1305_NOINLINE

§ poly1305_block_size

#define poly1305_block_size   16

Function Documentation

§ U8TO32()

static unsigned long U8TO32 ( const unsigned char *  p)
static

Referenced by poly1305_blocks(), and poly1305_init().

§ U32TO8()

static void U32TO8 ( unsigned char *  p,
unsigned long  v 
)
static

Referenced by poly1305_finish().

§ poly1305_init()

§ poly1305_blocks()

static void poly1305_blocks ( poly1305_state_internal_t st,
const unsigned char *  m,
size_t  bytes 
)
static

§ poly1305_finish()