mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 21:35:48 +01:00
51d7cfe026
Functions time with TIME_AND_TSC() didn't have their return values checked. I'm not sure whether Coverity complained about existing uses, but it did about new ones, since we consistently check their return values everywhere but here, which it rightfully finds suspicious. So, let's check return values. This probably adds a few cycles to existing loop overhead, but on my machine (x86_64) the added overhead is less than the random-looking variation between various runs, so it's acceptable. Some calls had their own particular error checking; remove that in favour of the new general solution. |
||
---|---|---|
.. | ||
benchmark.c | ||
CMakeLists.txt | ||
selftest.c | ||
ssl_cert_test.c | ||
udp_proxy_wrapper.sh | ||
udp_proxy.c | ||
zeroize.c |