summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/qle.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2017-01-24 01:48:05 +0000
committerclaudio <claudio@openbsd.org>2017-01-24 01:48:05 +0000
commit47c43cfe8487d9869d6e9f5f05ea096ed81cf7d2 (patch)
tree22e7823a66f7d6c6c051da1e7e11572ee5f9ce27 /sys/dev/pci/qle.c
parentssl_cert_free() checks for NULL itself. (diff)
downloadwireguard-openbsd-47c43cfe8487d9869d6e9f5f05ea096ed81cf7d2.tar.xz
wireguard-openbsd-47c43cfe8487d9869d6e9f5f05ea096ed81cf7d2.zip
Introduce ticket support. To enable them it is enough to set a positive
lifetime with tls_config_set_session_lifetime(). This enables tickets and uses an internal automatic rekeying mode for the ticket keys. If multiple processes are involved the following functions can be used to make tickets work accross all instances: - tls_config_set_session_id() sets the session identifier - tls_config_add_ticket_key() adds an encryption and authentication key For now only the last 4 keys added will be used (unless they are too old). If tls_config_add_ticket_key() is used the caller must ensure to add new keys regularly. It is best to do this 4 times per session lifetime (which is also the ticket key lifetime). Since tickets break PFS it is best to minimize the session lifetime according to needs. With a lot of help, input and OK beck@, jsing@
Diffstat (limited to 'sys/dev/pci/qle.c')
0 files changed, 0 insertions, 0 deletions