|
||||
File indexing completed on 2025-01-18 10:00:17
0001 /* 0002 * Copyright (C) 2014 Free Software Foundation, Inc. 0003 * 0004 * Author: Nikos Mavrogiannopoulos 0005 * 0006 * This file is part of GnuTLS. 0007 * 0008 * The GnuTLS is free software; you can redistribute it and/or 0009 * modify it under the terms of the GNU Lesser General Public License 0010 * as published by the Free Software Foundation; either version 2.1 of 0011 * the License, or (at your option) any later version. 0012 * 0013 * This library is distributed in the hope that it will be useful, but 0014 * WITHOUT ANY WARRANTY; without even the implied warranty of 0015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0016 * Lesser General Public License for more details. 0017 * 0018 * You should have received a copy of the GNU Lesser General Public License 0019 * along with this program. If not, see <https://www.gnu.org/licenses/> 0020 * 0021 */ 0022 0023 #ifndef GNUTLS_SELF_TEST_H 0024 #define GNUTLS_SELF_TEST_H 0025 0026 #include <gnutls/gnutls.h> 0027 0028 /* Self checking functions */ 0029 0030 #define GNUTLS_SELF_TEST_FLAG_ALL 1 0031 #define GNUTLS_SELF_TEST_FLAG_NO_COMPAT (1 << 1) 0032 0033 int gnutls_cipher_self_test(unsigned flags, gnutls_cipher_algorithm_t cipher); 0034 int gnutls_mac_self_test(unsigned flags, gnutls_mac_algorithm_t mac); 0035 int gnutls_digest_self_test(unsigned flags, gnutls_digest_algorithm_t digest); 0036 int gnutls_pk_self_test(unsigned flags, gnutls_pk_algorithm_t pk); 0037 int gnutls_hkdf_self_test(unsigned flags, gnutls_mac_algorithm_t mac); 0038 int gnutls_pbkdf2_self_test(unsigned flags, gnutls_mac_algorithm_t mac); 0039 int gnutls_tlsprf_self_test(unsigned flags, gnutls_mac_algorithm_t mac); 0040 0041 #endif /* GNUTLS_SELF_TEST_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |