1 /* 2 * Copyright (C) 2019 Red Hat, Inc. 3 * 4 * Author: Nikos Mavrogiannopoulos 5 * 6 * This file is part of GnuTLS. 7 * 8 * The GnuTLS is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public License 10 * as published by the Free Software Foundation; either version 2.1 of 11 * the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, but 14 * WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public License 19 * along with this program. If not, see <https://www.gnu.org/licenses/> 20 * 21 */ 22 #ifndef HANDSHAKE_DEFS_H 23 #define HANDSHAKE_DEFS_H 24 25 #define EARLY_TRAFFIC_LABEL "c e traffic" 26 #define EXT_BINDER_LABEL "ext binder" 27 #define RES_BINDER_LABEL "res binder" 28 #define EARLY_EXPORTER_MASTER_LABEL "e exp master" 29 #define HANDSHAKE_CLIENT_TRAFFIC_LABEL "c hs traffic" 30 #define HANDSHAKE_SERVER_TRAFFIC_LABEL "s hs traffic" 31 #define DERIVED_LABEL "derived" 32 #define APPLICATION_CLIENT_TRAFFIC_LABEL "c ap traffic" 33 #define APPLICATION_SERVER_TRAFFIC_LABEL "s ap traffic" 34 #define APPLICATION_TRAFFIC_UPDATE "traffic upd" 35 #define EXPORTER_MASTER_LABEL "exp master" 36 #define RMS_MASTER_LABEL "res master" 37 #define EXPORTER_LABEL "exporter" 38 #define RESUMPTION_LABEL "resumption" 39 40 #define HRR_RANDOM \ 41 "\xCF\x21\xAD\x74\xE5\x9A\x61\x11\xBE\x1D\x8C\x02\x1E\x65\xB8\x91" \ 42 "\xC2\xA2\x11\x16\x7A\xBB\x8C\x5E\x07\x9E\x09\xE2\xC8\xA8\x33\x9C" 43 44 #define TLS13_TICKETS_TO_SEND 2 45 46 /* Enable: Appendix D4. Middlebox Compatibility Mode */ 47 #define TLS13_APPENDIX_D4 1 48 49 #endif /* HANDSHAKE_DEFS_H */ 50