• B
    Add and use a constant-time memcmp. · 7c770d57
    Ben Laurie 提交于
    This change adds CRYPTO_memcmp, which compares two vectors of bytes in
    an amount of time that's independent of their contents. It also changes
    several MAC compares in the code to use this over the standard memcmp,
    which may leak information about the size of a matching prefix.
    (cherry picked from commit 2ee798880a246d648ecddadc5b91367bee4a5d98)
    7c770d57
t1_lib.c 105.9 KB