Why can memcmp not be used to compare security critical data? – security.stackexchange.com

From man 3 memcmp: Do not use memcmp() to compare security critical data, such as cryptographic secrets, because the required CPU time depends on the number of equal bytes. Instead, ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Why can memcmp not be used to compare security critical data? – security.stackexchange.com"