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:
Elmo Lan <elmo_lan@realtek.com>
Loading
Please sign in to comment