summaryrefslogtreecommitdiff
path: root/lib/ext/pre_shared_key.h
blob: f6a088c61407f3723ca6a952c756bf6673295174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef GNUTLS_LIB_EXT_PRE_SHARED_KEY_H
#define GNUTLS_LIB_EXT_PRE_SHARED_KEY_H

#include "auth/psk.h"
#include <hello_ext.h>
#include "tls13/session_ticket.h"

#define PRE_SHARED_KEY_TLS_ID 41

extern const hello_ext_entry_st ext_mod_pre_shared_key;

int _gnutls_generate_early_secrets_for_psk(gnutls_session_t session);

#endif /* GNUTLS_LIB_EXT_PRE_SHARED_KEY_H */