Bitcoin
Macros | Functions
poly1305.h File Reference
#include <stdint.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define POLY1305_KEYLEN   32
 
#define POLY1305_TAGLEN   16
 

Functions

void poly1305_auth (unsigned char out[POLY1305_TAGLEN], const unsigned char *m, size_t inlen, const unsigned char key[POLY1305_KEYLEN])
 

Macro Definition Documentation

◆ POLY1305_KEYLEN

#define POLY1305_KEYLEN   32

◆ POLY1305_TAGLEN

#define POLY1305_TAGLEN   16

Function Documentation

◆ poly1305_auth()

void poly1305_auth ( unsigned char  out[POLY1305_TAGLEN],
const unsigned char *  m,
size_t  inlen,
const unsigned char  key[POLY1305_KEYLEN] 
)