mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
7c770d572a
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
|
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile | ||
rsa_ameth.c | ||
rsa_asn1.c | ||
rsa_chk.c | ||
rsa_crpt.c | ||
rsa_depr.c | ||
rsa_eay.c | ||
rsa_err.c | ||
rsa_gen.c | ||
rsa_lib.c | ||
rsa_locl.h | ||
rsa_none.c | ||
rsa_null.c | ||
rsa_oaep.c | ||
rsa_pk1.c | ||
rsa_pmeth.c | ||
rsa_prn.c | ||
rsa_pss.c | ||
rsa_saos.c | ||
rsa_sign.c | ||
rsa_ssl.c | ||
rsa_test.c | ||
rsa_x931.c | ||
rsa_x931g.c | ||
rsa.h |