|
Packit |
aea12f |
/*
|
|
Packit |
aea12f |
* Copyright (C) 2014 Free Software Foundation, Inc.
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* Author: Nikos Mavrogiannopoulos
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* This file is part of GnuTLS.
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* The GnuTLS is free software; you can redistribute it and/or
|
|
Packit |
aea12f |
* modify it under the terms of the GNU Lesser General Public License
|
|
Packit |
aea12f |
* as published by the Free Software Foundation; either version 2.1 of
|
|
Packit |
aea12f |
* the License, or (at your option) any later version.
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* This library is distributed in the hope that it will be useful, but
|
|
Packit |
aea12f |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
aea12f |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
aea12f |
* Lesser General Public License for more details.
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* You should have received a copy of the GNU Lesser General Public License
|
|
Packit |
aea12f |
* along with this program. If not, see <https://www.gnu.org/licenses/>
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#ifndef __GNUTLS_SELF_H
|
|
Packit |
aea12f |
#define __GNUTLS_SELF_H
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#include <gnutls/gnutls.h>
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* Self checking functions */
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#define GNUTLS_SELF_TEST_FLAG_ALL 1
|
|
Packit |
aea12f |
#define GNUTLS_SELF_TEST_FLAG_NO_COMPAT (1<<1)
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
int gnutls_cipher_self_test(unsigned flags, gnutls_cipher_algorithm_t cipher);
|
|
Packit |
aea12f |
int gnutls_mac_self_test(unsigned flags, gnutls_mac_algorithm_t mac);
|
|
Packit |
aea12f |
int gnutls_digest_self_test(unsigned flags, gnutls_digest_algorithm_t digest);
|
|
Packit |
aea12f |
int gnutls_pk_self_test(unsigned flags, gnutls_pk_algorithm_t pk);
|
|
Packit Service |
551762 |
int gnutls_hkdf_self_test(unsigned flags, gnutls_mac_algorithm_t mac);
|
|
Packit Service |
551762 |
int gnutls_pbkdf2_self_test(unsigned flags, gnutls_mac_algorithm_t mac);
|
|
Packit Service |
551762 |
int gnutls_tlsprf_self_test(unsigned flags, gnutls_mac_algorithm_t mac);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#endif
|