diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-14 14:30:07 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:33 +0100 |
commit | e5bc6db45e4ffcadb38f8f539f7d4dd2a9fee09a (patch) | |
tree | 4435848a9c67599db61e867ede04d46179a5ed90 /lib/handshake.h | |
parent | 21a2346d804dac20c76823688155411e2506bc0d (diff) | |
download | gnutls-e5bc6db45e4ffcadb38f8f539f7d4dd2a9fee09a.tar.gz |
Added TLS 1.3 HKDF key derivation functionality
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/handshake.h')
-rw-r--r-- | lib/handshake.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/handshake.h b/lib/handshake.h index 3f9b55faa0..6934b0d6fd 100644 --- a/lib/handshake.h +++ b/lib/handshake.h @@ -76,4 +76,16 @@ int _gnutls_handshake_get_session_hash(gnutls_session_t session, gnutls_datum_t int _gnutls_check_id_for_change(gnutls_session_t session); int _gnutls_check_if_cert_hash_is_same(gnutls_session_t session, gnutls_certificate_credentials_t cred); +#define EARLY_TRAFFIC_LABEL "c e traffic" +#define EXT_BINDER_LABEL "ext binder" +#define RES_BINDER_LABEL "res binder" +#define EARLY_EXPORTER_LABEL "e exp master" +#define HANDSHAKE_CLIENT_TRAFFIC_LABEL "c hs traffic" +#define HANDSHAKE_SERVER_TRAFFIC_LABEL "s hs traffic" +#define DERIVED_LABEL "derived" +#define APPLICATION_CLIENT_TRAFFIC_LABEL "c ap traffic" +#define APPLICATION_SERVER_TRAFFIC_LABEL "s ap traffic" +#define EXPORTER_LABEL "exp master" +#define RES_LABEL "res master" + #endif |