3 The ChaCha stream cipher.
5 Copyright (C) 2013 Joachim Strömbergson
6 Copyright (C) 2012 Simon Josefsson
7 Copyright (C) 2014 Niels Möller
9 This file is part of GNU Nettle.
11 GNU Nettle is free software: you can redistribute it and/or
12 modify it under the terms of either:
14 * the GNU Lesser General Public License as published by the Free
15 Software Foundation; either version 3 of the License, or (at your
16 option) any later version.
20 * the GNU General Public License as published by the Free
21 Software Foundation; either version 2 of the License, or (at your
22 option) any later version.
24 or both in parallel, as here.
26 GNU Nettle is distributed in the hope that it will be useful,
27 but WITHOUT ANY WARRANTY; without even the implied warranty of
28 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
29 General Public License for more details.
31 You should have received copies of the GNU General Public License and
32 the GNU Lesser General Public License along with this program. If
33 not, see http://www.gnu.org/licenses/.
36 #ifndef NETTLE_CHACHA_INTERNAL_H_INCLUDED
37 #define NETTLE_CHACHA_INTERNAL_H_INCLUDED
39 #include "nettle-types.h"
41 #define _chacha_core _nettle_chacha_core
44 _chacha_core(uint32_t *dst, const uint32_t *src, unsigned rounds);
46 #endif /* NETTLE_CHACHA_INTERNAL_H_INCLUDED */