Bitcoin
src
crypto
poly1305.h
Go to the documentation of this file.
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
POLY1305_TAGLEN
#define POLY1305_TAGLEN
Definition:
poly1305.h:12
poly1305_auth
void poly1305_auth(unsigned char out[POLY1305_TAGLEN], const unsigned char *m, size_t inlen, const unsigned char key[POLY1305_KEYLEN])
Definition:
poly1305.cpp:15
linearize-data.m
m
Definition:
linearize-data.py:266
stdint.h
extract_strings_qt.out
out
Definition:
extract_strings_qt.py:62
POLY1305_KEYLEN
#define POLY1305_KEYLEN
Definition:
poly1305.h:11
extract_strings_qt.key
key
Definition:
extract_strings_qt.py:80
Generated by
1.8.15