hannestschofenig / mbedtls

An open source, portable, easy to use, readable and flexible SSL library
https://tls.mbed.org
Apache License 2.0
15 stars 8 forks source link

Enable simultaneous support in mbedtls_ssl_setup #337

Closed yuhaoth closed 3 years ago

yuhaoth commented 3 years ago

That's part of simultaneous support for TLS 1.2 and 1.3. The job is breakdown into two steps for runtime behavior

  1. Configured as TLS1.2 or TLS1.3.
  2. Configured as TLS1.2 and TLS1.3. This patch implemented the first target for mbedtls_ssl_setup

This patch introduces ssl_conf_* functions to support different configuration and branches.

Change-Id: Ia762bd3d817440ae130b45f19b80a2868afae924 Signed-off-by: Jerry Yu jerry.h.yu@arm.com