mbedtls/tests
Glenn Strauss da7851c825 Rename mbedtls_ssl_session minor_ver to tls_version
Store the TLS version instead of minor version number in tls_version.

Note: struct member size changed from unsigned char to uint16_t
Due to standard structure padding, the structure size does not change
unless alignment is 1-byte (instead of 2-byte or more)

Note: existing application use which accesses the struct member
(using MBEDTLS_PRIVATE) is compatible on little-endian platforms,
but not compatible on big-endian platforms.  The enum values for
the lower byte of MBEDTLS_SSL_VERSION_TLS1_2 and of
MBEDTLS_SSL_VERSION_TLS1_3 matches MBEDTLS_SSL_MINOR_VERSION_3 and
MBEDTLS_SSL_MINOR_VERSION_4, respectively.

Note: care has been taken to preserve serialized session format,
which uses only the lower byte of the TLS version.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2022-04-14 15:23:57 -04:00
..
.jenkins
configs Remove use_psa_crypto in test scripts 2022-03-22 15:13:35 +08:00
data_files tests: data_files: Avoid symbolic links 2021-12-10 15:09:57 +01:00
docker/bionic Jinja2 prerequisite set up on the docker 2021-12-18 13:29:10 +05:30
git-scripts Update scripts to use check-names.py 2021-08-06 21:04:32 +01:00
include tests: Init PSA crypto if TLS 1.3 is enabled 2022-03-29 18:58:31 +02:00
opt-testcases ssl-opt.sh: Do not force TLS 1.3 on client 2022-03-29 18:58:31 +02:00
scripts Merge pull request #4907 from gilles-peskine-arm/config-baremetal-size-3.0 2022-04-04 16:12:58 +02:00
src Merge pull request #5292 from mprse/asym_encrypt 2022-03-10 20:07:38 +01:00
suites Rename mbedtls_ssl_session minor_ver to tls_version 2022-04-14 15:23:57 -04:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt fix comments grammar issues 2022-03-08 14:07:39 +08:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Update references to old Github organisation 2022-03-31 14:43:16 +01:00
context-info.sh
Descriptions.txt
make-in-docker.sh
Makefile tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
ssl-opt-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
ssl-opt.sh Merge pull request #5686 from AndrzejKurek/off-by-one-ssl-opt 2022-04-07 16:20:55 +02:00