Remove x86/x86_64 BSAES and AES_ASM support
This leaves VPAES and AESNI support. The VPAES performance is comparable but BSAES is not completely constant time. There are table lookups using secret key data in AES_set_encrypt/decrypt_key and in ctr mode short data uses the non-constant time AES_encrypt function instead of bit-slicing. Furthermore the AES_ASM is by far outperformed by recent GCC versions. Since BSAES calls back to AES_ASM for short data blocks the performance on those is also worse than the pure software implementaion. Fixes: #9640 Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9675)
Showing
- Configurations/00-base-templates.conf 2 additions, 2 deletionsConfigurations/00-base-templates.conf
- crypto/aes/asm/aes-586.pl 0 additions, 3000 deletionscrypto/aes/asm/aes-586.pl
- crypto/aes/asm/aes-x86_64.pl 0 additions, 2916 deletionscrypto/aes/asm/aes-x86_64.pl
- crypto/aes/asm/bsaes-x86_64.pl 0 additions, 3239 deletionscrypto/aes/asm/bsaes-x86_64.pl
- crypto/evp/e_aes.c 1 addition, 1 deletioncrypto/evp/e_aes.c
crypto/aes/asm/aes-586.pl
deleted
100755 → 0
This diff is collapsed.
crypto/aes/asm/aes-x86_64.pl
deleted
100755 → 0
This diff is collapsed.
crypto/aes/asm/bsaes-x86_64.pl
deleted
100644 → 0
This diff is collapsed.
Please register or sign in to comment