mbedtls/programs
Manuel Pégourié-Gonnard 51d7cfe026 Fix coverity warnings in benchmark.c
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.
2018-06-25 11:19:51 +02:00
..
aes Correct comment 2017-07-28 22:28:08 +01:00
hash New MD API: rename functions from _ext to _ret 2018-01-22 11:54:42 +01:00
pkey Merge remote-tracking branch 'upstream-public/pr/1142' into development-proposed 2018-04-04 09:20:59 +02:00
random Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
ssl Merge remote-tracking branch 'public/pr/1734' into development 2018-06-17 17:35:34 +01:00
test Fix coverity warnings in benchmark.c 2018-06-25 11:19:51 +02:00
util Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
x509 Merge remote-tracking branch 'public/pr/795' into development 2018-06-12 16:55:47 +01:00
.gitignore Add programs/test/zeroize.c to test mbedtls_zeroize 2018-04-17 09:17:38 -05:00
CMakeLists.txt - Added missing subdirectory line for util 2012-09-25 08:19:18 +00:00
Makefile Fix alignment of Makefiles 2018-04-17 09:17:38 -05:00
wince_main.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00