]> git.ipfire.org Git - thirdparty/strongswan.git/commit
libtls: Add missing cipher suite and TLS extension constants
authorPascal Knecht <pascal.knecht@hsr.ch>
Tue, 15 Sep 2020 14:08:08 +0000 (16:08 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Feb 2021 13:35:23 +0000 (14:35 +0100)
commitf81c04e9e3a0eab7f35f94eed7c6511eb247e105
treec9c18bb355b1b930c51cc1cdfd92c26d2da95f22
parentd107198fcba3880a6f576205a7f9b4fadc2e80b0
libtls: Add missing cipher suite and TLS extension constants

- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
- TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
- TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256

- Encrypt then MAC
- Extended master secret
- Session ticket

and also add missing suites in the unit test.
src/libtls/tests/suites/test_suites.c
src/libtls/tls.c
src/libtls/tls.h
src/libtls/tls_crypto.c
src/libtls/tls_crypto.h