You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make OPENSSL_memcmp constant-time while preserving ordering
Rewrite OPENSSL_memcmp to iterate the full length and capture the
lowest-index differing byte pair via constant_time_select, so it
returns memcmp's negative/zero/positive ordering without leaking
timing information about where bytes differ.
Replace all OPENSSL_memcmp_ordered callers (which used plain memcmp)
with the new OPENSSL_memcmp and remove the helper.
0 commit comments