|
Packit Service |
4684c1 |
/*
|
|
Packit Service |
4684c1 |
* Copyright (C) 2000-2012 Free Software Foundation, Inc.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* This file is part of GnuTLS.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* GnuTLS is free software: you can redistribute it and/or modify it
|
|
Packit Service |
4684c1 |
* under the terms of the GNU General Public License as published by
|
|
Packit Service |
4684c1 |
* the Free Software Foundation, either version 3 of the License, or
|
|
Packit Service |
4684c1 |
* (at your option) any later version.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* GnuTLS is distributed in the hope that it will be useful, but
|
|
Packit Service |
4684c1 |
* 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 a copy of the GNU General Public License
|
|
Packit Service |
4684c1 |
* along with this program. If not, see
|
|
Packit Service |
4684c1 |
* <https://www.gnu.org/licenses/>.
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifndef GNUTLS_SRC_TESTS_H
|
|
Packit Service |
4684c1 |
#define GNUTLS_SRC_TESTS_H
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
typedef enum {
|
|
Packit Service |
4684c1 |
TEST_SUCCEED, TEST_FAILED, TEST_UNSURE, TEST_IGNORE/*keep socket*/, TEST_IGNORE2/*destroy socket*/
|
|
Packit Service |
4684c1 |
} test_code_t;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
test_code_t test_chain_order(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_server(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_record_padding(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_no_extensions(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_heartbeat_extension(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_small_records(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_rfc7507(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_dhe(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_rfc7919(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_dhe_group(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_ssl3(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_ssl3_with_extensions(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_ssl3_unknown_ciphersuites(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_aes(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_camellia_cbc(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_camellia_gcm(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_md5(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_sha(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_3des(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_arcfour(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_chacha20(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls1(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls1_nossl3(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_safe_renegotiation(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_ext_master_secret(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_etm(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_safe_renegotiation_scsv(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls1_1(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls1_2(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls1_3(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_known_protocols(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls1_1_fallback(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls1_6_fallback(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls_disable0(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls_disable1(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_tls_disable2(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_ocsp_status(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_rsa_pms(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_max_record_size(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_version_rollback(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_anonymous(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_unknown_ciphersuites(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_bye(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_certificate(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_server_cas(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_session_resume2(gnutls_session_t state);
|
|
Packit Service |
4684c1 |
test_code_t test_rsa_pms_version_check(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_version_oob(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_send_record(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_send_record_with_allow_small_records(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
int _test_srp_username_callback(gnutls_session_t session,
|
|
Packit Service |
4684c1 |
char **username, char **password);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
test_code_t test_rsa(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_ecdhe_x25519(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_ecdhe_secp521r1(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_ecdhe_secp384r1(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_ecdhe_secp256r1(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_ecdhe(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_aes_gcm(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_aes_ccm(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_aes_ccm_8(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_sha256(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#ifdef ENABLE_GOST
|
|
Packit Service |
4684c1 |
test_code_t test_vko_gost_12(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_gost_cnt(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
test_code_t test_gost_imit(gnutls_session_t session);
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#endif /* GNUTLS_SRC_TESTS_H */
|