Bitcoin Core  0.20.99
P2P Digital Currency
Macros | Functions
poly1305.h File Reference
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for poly1305.h:
This graph shows which files directly or indirectly include this file:

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

Definition at line 11 of file poly1305.h.

◆ POLY1305_TAGLEN

#define POLY1305_TAGLEN   16

Definition at line 12 of file poly1305.h.

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] 
)

Definition at line 15 of file poly1305.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: