[openssl-dev] [openssl.org #4116] [PATCH] Reimplement non-asm OPENSSL_cleanse()

Alessandro Ghedini via RT rt at openssl.org
Sat Oct 31 13:05:36 UTC 2015


Hi,

the current platform-generic implementation of OPENSSL_cleanse() is very weird
and IMO overly complex (its initial intent was to cleanse with values other
than 0, but AFAICT none of the asm implementations do it), so I reimplemented
it in a simpler way.

I was also wondering whether it would make sense to just drop the asm
implementations. Does the speed-up justify the added complexity?

See the following GitHub pull request:
https://github.com/openssl/openssl/pull/455

Cheers

_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod



More information about the openssl-dev mailing list