mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
As suggested in https://github.com/animetosho/md5-optimisation?tab=readme-ov-file#dependency-shortcut-in-g-function, we can delay the dependency on 'x' by recognizing that ((x & z) | (y & ~z)) is equivalent to ((x & z) + (y + ~z)) in this scenario, and we can perform those additions independently, leaving our dependency on x to the final addition. This speeds it up around 5% on both platforms. Signed-off-by: Oli Gillespie <ogillesp@amazon.com> Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Hugo Landau <hlandau@devever.net> (Merged from https://github.com/openssl/openssl/pull/25737) |
||
---|---|---|
.. | ||
asm | ||
build.info | ||
md5_dgst.c | ||
md5_local.h | ||
md5_one.c | ||
md5_sha1.c |