1
// Copyright (c) 2019 The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4

            
5
#ifndef BITCOIN_CRYPTO_POLY1305_H
6
#define BITCOIN_CRYPTO_POLY1305_H
7

            
8
#include <stdint.h>
9
#include <stdlib.h>
10

            
11
#define POLY1305_KEYLEN 32
12
#define POLY1305_TAGLEN 16
13

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

            
17
#endif // BITCOIN_CRYPTO_POLY1305_H