Increased security levels by adding insecure.
[gnutls.git] / src / tests.h
blob03b7789c9f4d4aa7aed2fd81e04f0bbb5a4e1bd8
1 /*
2 * Copyright (C) 2000-2012 Free Software Foundation, Inc.
4 * This file is part of GnuTLS.
6 * GnuTLS is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * GnuTLS is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see
18 * <http://www.gnu.org/licenses/>.
21 typedef enum
23 TEST_SUCCEED, TEST_FAILED, TEST_UNSURE, TEST_IGNORE
24 } test_code_t;
26 test_code_t test_server (gnutls_session_t state);
27 test_code_t test_record_padding (gnutls_session_t state);
28 test_code_t test_export (gnutls_session_t state);
29 test_code_t test_export_info (gnutls_session_t state);
30 test_code_t test_hello_extension (gnutls_session_t state);
31 test_code_t test_heartbeat_extension (gnutls_session_t state);
32 test_code_t test_small_records (gnutls_session_t state);
33 test_code_t test_dhe (gnutls_session_t state);
34 test_code_t test_dhe_group (gnutls_session_t state);
35 test_code_t test_ssl3 (gnutls_session_t state);
36 test_code_t test_aes (gnutls_session_t state);
37 test_code_t test_camellia (gnutls_session_t state);
38 test_code_t test_md5 (gnutls_session_t state);
39 test_code_t test_sha (gnutls_session_t state);
40 test_code_t test_3des (gnutls_session_t state);
41 test_code_t test_arcfour (gnutls_session_t state);
42 test_code_t test_arcfour_40 (gnutls_session_t state);
43 test_code_t test_tls1 (gnutls_session_t state);
44 test_code_t test_safe_renegotiation (gnutls_session_t state);
45 test_code_t test_safe_renegotiation_scsv (gnutls_session_t state);
46 test_code_t test_tls1_1 (gnutls_session_t state);
47 test_code_t test_tls1_2 (gnutls_session_t state);
48 test_code_t test_tls1_1_fallback (gnutls_session_t state);
49 test_code_t test_tls_disable0 (gnutls_session_t state);
50 test_code_t test_tls_disable1 (gnutls_session_t state);
51 test_code_t test_tls_disable2 (gnutls_session_t state);
52 test_code_t test_rsa_pms (gnutls_session_t state);
53 test_code_t test_max_record_size (gnutls_session_t state);
54 test_code_t test_version_rollback (gnutls_session_t state);
55 test_code_t test_anonymous (gnutls_session_t state);
56 test_code_t test_unknown_ciphersuites (gnutls_session_t state);
57 test_code_t test_openpgp1 (gnutls_session_t state);
58 test_code_t test_bye (gnutls_session_t state);
59 test_code_t test_certificate (gnutls_session_t state);
60 test_code_t test_server_cas (gnutls_session_t state);
61 test_code_t test_session_resume2 (gnutls_session_t state);
62 test_code_t test_rsa_pms_version_check (gnutls_session_t session);
63 test_code_t test_version_oob (gnutls_session_t session);
64 test_code_t test_zlib (gnutls_session_t session);
65 int _test_srp_username_callback (gnutls_session_t session,
66 char **username, char **password);
68 test_code_t test_ecdhe_curve (gnutls_session_t session);
69 test_code_t test_ecdhe (gnutls_session_t session);
70 test_code_t test_aes_gcm (gnutls_session_t session);
71 test_code_t test_sha256 (gnutls_session_t session);