projects
/
tinc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5fc3b903df3b6858e8f4020105cb1ff7bff48678
[tinc]
/
src
/
chacha-poly1305
/
poly1305.h
1
#ifndef POLY1305_H
2
#define POLY1305_H
3
4
#include <stddef.h>
5
#include <stdint.h>
6
#include <string.h>
7
8
#define POLY1305_KEYLEN 32
9
#define POLY1305_TAGLEN 16
10
#define POLY1305_BLOCK_SIZE 16
11
12
void poly1305_get_tag(const unsigned char key[32], const void *ct, int ct_len, unsigned char tag[16]);
13
14
#endif /* POLY1305_H */