Skip to content
Commit 79d7ce61 authored by Elmo Lan's avatar Elmo Lan Committed by Benjamin Cabé
Browse files

driver: crypto: fix timing discrepancies



Use a temporary variable to store and compare the reference time
instead of calling the time function multiple times,
which may lead to slight mismatches in comparison due to timing drift.

Signed-off-by: default avatarElmo Lan <elmo_lan@realtek.com>
parent f2512a1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment