mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
* Core/SSH: libssh2 upgraded to version 1.11.1 * Core/SSH: SFtpStream: Don't try to read file attrs if the file is newly created. * Core/SSH: Error log fix.
20 lines
522 B
C
20 lines
522 B
C
/* $OpenBSD: poly1305.h,v 1.4 2014/05/02 03:27:54 djm Exp $ */
|
|
|
|
/*
|
|
* Public Domain poly1305 from Andrew Moon
|
|
* poly1305-donna-unrolled.c from https://github.com/floodyberry/poly1305-donna
|
|
* Copyright not intended 2024.
|
|
*
|
|
* SPDX-License-Identifier: SAX-PD-2.0
|
|
*/
|
|
|
|
#ifndef POLY1305_H
|
|
#define POLY1305_H
|
|
|
|
#define POLY1305_KEYLEN 32
|
|
#define POLY1305_TAGLEN 16
|
|
|
|
void poly1305_auth(u_char out[POLY1305_TAGLEN], const u_char *m, size_t inlen,
|
|
const u_char key[POLY1305_KEYLEN]);
|
|
|
|
#endif /* POLY1305_H */
|