mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 01:55:39 +00:00
7b628e5b88
Reasons: - If the transport type is fixed at compile-time, mbedtls_ssl_read_version() and mbedtls_ssl_write_version() are called with a compile-time determined `transport` parameter, so the transport-type branch in their body can be eliminated at compile-time. - mbedtls_ssl_read_version() is called with addresses of local variables, which so far need to be put on the stack to be addressable. Inlining the call allows to read directly into the registers holding these local variables. This saves 60 bytes w.r.t. the measurement performed by > ./scripts/baremetal.sh --rom --gcc |
||
---|---|---|
.. | ||
mbedtls | ||
tinycrypt | ||
.gitignore | ||
CMakeLists.txt |