diff options
Diffstat (limited to 'src/daemon/https/tls/gnutls_algorithms.h')
-rw-r--r-- | src/daemon/https/tls/gnutls_algorithms.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/daemon/https/tls/gnutls_algorithms.h b/src/daemon/https/tls/gnutls_algorithms.h index ba4e83ba..6a4021c7 100644 --- a/src/daemon/https/tls/gnutls_algorithms.h +++ b/src/daemon/https/tls/gnutls_algorithms.h | |||
@@ -28,7 +28,6 @@ | |||
28 | #include "gnutls_auth.h" | 28 | #include "gnutls_auth.h" |
29 | 29 | ||
30 | /* Functions for version handling. */ | 30 | /* Functions for version handling. */ |
31 | enum MHD_GNUTLS_Protocol MHD_gtls_version_lowest (MHD_gtls_session_t session); | ||
32 | enum MHD_GNUTLS_Protocol MHD_gtls_version_max (MHD_gtls_session_t session); | 31 | enum MHD_GNUTLS_Protocol MHD_gtls_version_max (MHD_gtls_session_t session); |
33 | int MHD_gtls_version_priority (MHD_gtls_session_t session, | 32 | int MHD_gtls_version_priority (MHD_gtls_session_t session, |
34 | enum MHD_GNUTLS_Protocol version); | 33 | enum MHD_GNUTLS_Protocol version); |
@@ -40,10 +39,6 @@ enum MHD_GNUTLS_Protocol MHD_gtls_version_get (int major, int minor); | |||
40 | 39 | ||
41 | /* Functions for MACs. */ | 40 | /* Functions for MACs. */ |
42 | int MHD_gnutls_mac_is_ok (enum MHD_GNUTLS_HashAlgorithm algorithm); | 41 | int MHD_gnutls_mac_is_ok (enum MHD_GNUTLS_HashAlgorithm algorithm); |
43 | enum MHD_GNUTLS_HashAlgorithm MHD_gtls_x509_oid2mac_algorithm (const char | ||
44 | *oid); | ||
45 | const char *MHD_gtls_x509_mac_to_oid (enum MHD_GNUTLS_HashAlgorithm mac); | ||
46 | |||
47 | /* Functions for cipher suites. */ | 42 | /* Functions for cipher suites. */ |
48 | int MHD_gtls_supported_ciphersuites (MHD_gtls_session_t session, | 43 | int MHD_gtls_supported_ciphersuites (MHD_gtls_session_t session, |
49 | cipher_suite_st ** ciphers); | 44 | cipher_suite_st ** ciphers); |
@@ -103,10 +98,6 @@ int MHD_gtls_compression_get_wbits (enum MHD_GNUTLS_CompressionMethod | |||
103 | algorithm); | 98 | algorithm); |
104 | 99 | ||
105 | /* Type to KX mappings. */ | 100 | /* Type to KX mappings. */ |
106 | enum MHD_GNUTLS_KeyExchangeAlgorithm MHD_gtls_map_kx_get_kx (enum | ||
107 | MHD_GNUTLS_CredentialsType | ||
108 | type, | ||
109 | int server); | ||
110 | enum MHD_GNUTLS_CredentialsType MHD_gtls_map_kx_get_cred (enum | 101 | enum MHD_GNUTLS_CredentialsType MHD_gtls_map_kx_get_cred (enum |
111 | MHD_GNUTLS_KeyExchangeAlgorithm | 102 | MHD_GNUTLS_KeyExchangeAlgorithm |
112 | algorithm, | 103 | algorithm, |
@@ -118,8 +109,6 @@ enum MHD_GNUTLS_PublicKeyAlgorithm MHD_gtls_map_pk_get_pk (enum | |||
118 | kx_algorithm); | 109 | kx_algorithm); |
119 | enum MHD_GNUTLS_PublicKeyAlgorithm MHD_gtls_x509_oid2pk_algorithm (const char | 110 | enum MHD_GNUTLS_PublicKeyAlgorithm MHD_gtls_x509_oid2pk_algorithm (const char |
120 | *oid); | 111 | *oid); |
121 | const char *MHD_gtls_x509_pk_to_oid (enum MHD_GNUTLS_PublicKeyAlgorithm pk); | ||
122 | |||
123 | enum encipher_type | 112 | enum encipher_type |
124 | { CIPHER_ENCRYPT = 0, CIPHER_SIGN = 1, CIPHER_IGN }; | 113 | { CIPHER_ENCRYPT = 0, CIPHER_SIGN = 1, CIPHER_IGN }; |
125 | 114 | ||
@@ -141,16 +130,6 @@ struct MHD_gtls_compression_entry | |||
141 | typedef struct MHD_gtls_compression_entry MHD_gnutls_compression_entry; | 130 | typedef struct MHD_gtls_compression_entry MHD_gnutls_compression_entry; |
142 | 131 | ||
143 | /* Functions for sign algorithms. */ | 132 | /* Functions for sign algorithms. */ |
144 | MHD_gnutls_sign_algorithm_t MHD_gtls_x509_oid2sign_algorithm (const char | ||
145 | *oid); | ||
146 | MHD_gnutls_sign_algorithm_t MHD_gtls_x509_pk_to_sign (enum | ||
147 | MHD_GNUTLS_PublicKeyAlgorithm | ||
148 | pk, | ||
149 | enum | ||
150 | MHD_GNUTLS_HashAlgorithm | ||
151 | mac); | ||
152 | const char *MHD_gtls_x509_sign_to_oid (enum MHD_GNUTLS_PublicKeyAlgorithm, | ||
153 | enum MHD_GNUTLS_HashAlgorithm mac); | ||
154 | 133 | ||
155 | int MHD_gtls_mac_priority (MHD_gtls_session_t session, | 134 | int MHD_gtls_mac_priority (MHD_gtls_session_t session, |
156 | enum MHD_GNUTLS_HashAlgorithm algorithm); | 135 | enum MHD_GNUTLS_HashAlgorithm algorithm); |
@@ -158,9 +137,6 @@ int MHD_gtls_cipher_priority (MHD_gtls_session_t session, | |||
158 | enum MHD_GNUTLS_CipherAlgorithm algorithm); | 137 | enum MHD_GNUTLS_CipherAlgorithm algorithm); |
159 | int MHD_gtls_kx_priority (MHD_gtls_session_t session, | 138 | int MHD_gtls_kx_priority (MHD_gtls_session_t session, |
160 | enum MHD_GNUTLS_KeyExchangeAlgorithm algorithm); | 139 | enum MHD_GNUTLS_KeyExchangeAlgorithm algorithm); |
161 | int MHD_gtls_compression_priority (MHD_gtls_session_t session, | ||
162 | enum MHD_GNUTLS_CompressionMethod | ||
163 | algorithm); | ||
164 | 140 | ||
165 | enum MHD_GNUTLS_HashAlgorithm MHD_gtls_mac_get_id (const char *name); | 141 | enum MHD_GNUTLS_HashAlgorithm MHD_gtls_mac_get_id (const char *name); |
166 | enum MHD_GNUTLS_CipherAlgorithm MHD_gtls_cipher_get_id (const char *name); | 142 | enum MHD_GNUTLS_CipherAlgorithm MHD_gtls_cipher_get_id (const char *name); |