|
Packit |
aea12f |
/* streebog-meta.c
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
Copyright (C) 2012 Nikos Mavrogiannopoulos, Niels Möller
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This file is part of GNU Nettle.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
GNU Nettle is free software: you can redistribute it and/or
|
|
Packit |
aea12f |
modify it under the terms of either:
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
* the GNU Lesser General Public License as published by the Free
|
|
Packit |
aea12f |
Software Foundation; either version 3 of the License, or (at your
|
|
Packit |
aea12f |
option) any later version.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
or
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
* the GNU General Public License as published by the Free
|
|
Packit |
aea12f |
Software Foundation; either version 2 of the License, or (at your
|
|
Packit |
aea12f |
option) any later version.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
or both in parallel, as here.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
GNU Nettle is distributed in the hope that it will be useful,
|
|
Packit |
aea12f |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
aea12f |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
aea12f |
General Public License for more details.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
You should have received copies of the GNU General Public License and
|
|
Packit |
aea12f |
the GNU Lesser General Public License along with this program. If
|
|
Packit |
aea12f |
not, see https://www.gnu.org/licenses/.
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#if HAVE_CONFIG_H
|
|
Packit |
aea12f |
# include "config.h"
|
|
Packit |
aea12f |
#endif
|
|
Packit |
aea12f |
|
|
Packit Service |
991b93 |
#ifndef HAVE_NETTLE_STREEBOG512_UPDATE
|
|
Packit |
aea12f |
#include <gnutls_int.h>
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#include <nettle/nettle-meta.h>
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#include "streebog.h"
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
const struct nettle_hash nettle_streebog512
|
|
Packit |
aea12f |
= _NETTLE_HASH(streebog512, STREEBOG512);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
const struct nettle_hash nettle_streebog256
|
|
Packit |
aea12f |
= _NETTLE_HASH(streebog256, STREEBOG256);
|
|
Packit Service |
991b93 |
#endif
|