mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-07 09:55:50 +00:00
fd235bc9df
Use a switch instead of an array. The array was very hollow for some enum types such as mbedtls_ssl_protocol_version (which formerly used small values, but switched to using the protocol encoding as enum values in Mbed TLS 3.2.0). Optimizing compilers know how to compile a switch into a lookup table when the range warrants it. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com> |
||
---|---|---|
.. | ||
00README.md | ||
add-aes-128bit-only.txt | ||
add-directoryname-san.txt | ||
add-milliseconds-time-api.txt | ||
add-missing-md-includes.txt | ||
add-pbkdf2-hmac.txt | ||
add-psa_want_alg_some_pake.txt | ||
add-subjectAltName-certs.txt | ||
aes-perf.txt | ||
armclang-compile-fix.txt | ||
basic-uri-verification.txt | ||
bugfix_iar_typo.txt | ||
Define-PSA_WANT_KEY_TYPE_xxx_KEY_PAIR_yyy.txt | ||
driver-ffdh.txt | ||
driver-only-ecdh.txt | ||
driver-only-hashes.txt | ||
ec_jpake_user_peer_2.txt | ||
fix-declaration-of-mbedtls_ecdsa_sign_det_restartable-function.txt | ||
fix-unterminated-pragma-clang-attribute-push.txt | ||
mbedtls_ecdsa_can_do-unconditional-define.txt | ||
oid-parse-from-numeric-string.txt | ||
programs_psa_fix.txt | ||
rfc8410.txt | ||
sha3.txt | ||
some-max-size-macro-are-too-small-when-psa-ecc-is-accelerated.txt | ||
ssl_debug_helpers-stack_usage.txt | ||
tls13-server-version-negotiation.txt | ||
verify-ip-sans-properly.txt | ||
X509Parse_SignatureKeyId_AuthorityKeyId.txt |