Add AES-256-GCM support to SPTPS.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 2 Aug 2021 21:53:13 +0000 (23:53 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 29 May 2022 14:23:47 +0000 (16:23 +0200)
commitad2e8db4730e3c4355db2cea911422e7efd6a1ee
tree05d6933d05a49483de61c60c151ff99144d07c37
parent84b24109000ce66125038793df313205e5836b83
Add AES-256-GCM support to SPTPS.

This also adds a simple cipher suite negotiation, where peers announce the
ciphers they support, and their preferred cipher. Since we need to bump the
SPTPS version anyway, also prefer little endian over network byte order.
doc/SPTPS
src/invitation.c
src/protocol_auth.c
src/protocol_key.c
src/sptps.c
src/sptps.h
src/sptps_test.c