|
Packit Service |
4684c1 |
/* nettle-types.h
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Copyright (C) 2005, 2014 Niels Möller
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This file is part of GNU Nettle.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
GNU Nettle is free software: you can redistribute it and/or
|
|
Packit Service |
4684c1 |
modify it under the terms of either:
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
* the GNU Lesser General Public License as published by the Free
|
|
Packit Service |
4684c1 |
Software Foundation; either version 3 of the License, or (at your
|
|
Packit Service |
4684c1 |
option) any later version.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
or
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
* the GNU General Public License as published by the Free
|
|
Packit Service |
4684c1 |
Software Foundation; either version 2 of the License, or (at your
|
|
Packit Service |
4684c1 |
option) any later version.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
or both in parallel, as here.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
GNU Nettle is distributed in the hope that it will be useful,
|
|
Packit Service |
4684c1 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
4684c1 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
4684c1 |
General Public License for more details.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
You should have received copies of the GNU General Public License and
|
|
Packit Service |
4684c1 |
the GNU Lesser General Public License along with this program. If
|
|
Packit Service |
4684c1 |
not, see http://www.gnu.org/licenses/.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifndef GNUTLS_LIB_NETTLE_BLOCK8_H
|
|
Packit Service |
4684c1 |
#define GNUTLS_LIB_NETTLE_BLOCK8_H
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#include "config.h"
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifndef HAVE_UNION_NETTLE_BLOCK8
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
/* An aligned 16-byte block. */
|
|
Packit Service |
4684c1 |
union gnutls_nettle_backport_nettle_block16
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
uint8_t b[16];
|
|
Packit Service |
4684c1 |
unsigned long w[16 / sizeof(unsigned long)];
|
|
Packit Service |
4684c1 |
uint64_t u64[2];
|
|
Packit Service |
4684c1 |
};
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
union gnutls_nettle_backport_nettle_block8
|
|
Packit Service |
4684c1 |
{
|
|
Packit Service |
4684c1 |
uint8_t b[8];
|
|
Packit Service |
4684c1 |
uint64_t u64;
|
|
Packit Service |
4684c1 |
};
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#undef nettle_block16
|
|
Packit Service |
4684c1 |
#undef nettle_block8
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#define nettle_block16 gnutls_nettle_backport_nettle_block16
|
|
Packit Service |
4684c1 |
#define nettle_block8 gnutls_nettle_backport_nettle_block8
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#endif /* GNUTLS_LIB_NETTLE_BLOCK8_H */
|