| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file contains prototypes for the public SSL functions. | 2 * This file contains prototypes for the public SSL functions. |
| 3 * | 3 * |
| 4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
| 5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 7 | 7 |
| 8 #ifndef __sslt_h_ | 8 #ifndef __sslt_h_ |
| 9 #define __sslt_h_ | 9 #define __sslt_h_ |
| 10 | 10 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 ssl_calg_null = 0, | 87 ssl_calg_null = 0, |
| 88 ssl_calg_rc4 = 1, | 88 ssl_calg_rc4 = 1, |
| 89 ssl_calg_rc2 = 2, | 89 ssl_calg_rc2 = 2, |
| 90 ssl_calg_des = 3, | 90 ssl_calg_des = 3, |
| 91 ssl_calg_3des = 4, | 91 ssl_calg_3des = 4, |
| 92 ssl_calg_idea = 5, | 92 ssl_calg_idea = 5, |
| 93 ssl_calg_fortezza = 6, /* deprecated, now unused */ | 93 ssl_calg_fortezza = 6, /* deprecated, now unused */ |
| 94 ssl_calg_aes = 7, | 94 ssl_calg_aes = 7, |
| 95 ssl_calg_camellia = 8, | 95 ssl_calg_camellia = 8, |
| 96 ssl_calg_seed = 9, | 96 ssl_calg_seed = 9, |
| 97 ssl_calg_aes_gcm = 10 | 97 ssl_calg_aes_gcm = 10, |
| 98 ssl_calg_chacha20 = 11 |
| 98 } SSLCipherAlgorithm; | 99 } SSLCipherAlgorithm; |
| 99 | 100 |
| 100 typedef enum { | 101 typedef enum { |
| 101 ssl_mac_null = 0, | 102 ssl_mac_null = 0, |
| 102 ssl_mac_md5 = 1, | 103 ssl_mac_md5 = 1, |
| 103 ssl_mac_sha = 2, | 104 ssl_mac_sha = 2, |
| 104 ssl_hmac_md5 = 3, /* TLS HMAC version of mac_md5 */ | 105 ssl_hmac_md5 = 3, /* TLS HMAC version of mac_md5 */ |
| 105 ssl_hmac_sha = 4, /* TLS HMAC version of mac_sha */ | 106 ssl_hmac_sha = 4, /* TLS HMAC version of mac_sha */ |
| 106 ssl_hmac_sha256 = 5, | 107 ssl_hmac_sha256 = 5, |
| 107 ssl_mac_aead = 6 | 108 ssl_mac_aead = 6 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 ssl_app_layer_protocol_xtn = 16, | 204 ssl_app_layer_protocol_xtn = 16, |
| 204 ssl_session_ticket_xtn = 35, | 205 ssl_session_ticket_xtn = 35, |
| 205 ssl_next_proto_nego_xtn = 13172, | 206 ssl_next_proto_nego_xtn = 13172, |
| 206 ssl_channel_id_xtn = 30031, | 207 ssl_channel_id_xtn = 30031, |
| 207 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ | 208 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ |
| 208 } SSLExtensionType; | 209 } SSLExtensionType; |
| 209 | 210 |
| 210 #define SSL_MAX_EXTENSIONS 11 | 211 #define SSL_MAX_EXTENSIONS 11 |
| 211 | 212 |
| 212 #endif /* __sslt_h_ */ | 213 #endif /* __sslt_h_ */ |
| OLD | NEW |