Add AES consttime code for no-asm configurations
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 9 Jan 2020 22:02:54 +0000 (23:02 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 13 Jun 2021 04:36:48 +0000 (06:36 +0200)
commit0051746e03c65f5970d8ca424579d50f58a877e0
tree8c1b5be0d8d5f3785855e0b43b6a7714b56b714d
parent3614d94d5f7fce54b2a50efde22c43b55bf71a5f
Add AES consttime code for no-asm configurations

This adds optional constant time support for AES
when building openssl for no-asm.

Enable with: ./config no-asm -DOPENSSL_AES_CONST_TIME
Disable with: ./config no-asm -DOPENSSL_NO_AES_CONST_TIME

This is by default enabled.

[extended tests]

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10828)
crypto/aes/aes_core.c
crypto/aes/aes_local.h