Skip to content
Commit 17473e28 authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

samples: crypto: Fix mbedtls benchmark time calculations



mbedTLS benchmark used 32-bit arithmetics for time calculations
(nanosecond resolution), which could overflow on slower platforms
on more time-consuming benchmark tests. In result, the benchmark
could give incorrect timing information. Using 64-bit arithmetics
prevents this issue.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 858c00bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment