Module ring::constant_time
source · Expand description
Constant-time operations.
Functions§
- CRYPTO_memcmp 🔒 ⚠
- Returns
Ok(())
ifa == b
andErr(error::Unspecified)
otherwise. The comparison ofa
andb
is done in constant time with respect to the contents of each, but NOT in constant time with respect to the lengths ofa
andb
.