[LEDE-DEV] [PATCH] openssl: Enable assembler optimizations for aarch64

2017-10-27 Thread Baptiste Jonglez
From: Baptiste Jonglez OpenSSL is built with the generic linux settings for most targets, including aarch64. These generic settings are designed for 32-bit CPU and provide no assembler optmization: this is widely suboptimal for aarch64. This patch simply switches to the aarch64 settings that ar

Re: [LEDE-DEV] [PATCH] openssl: Enable assembler optimizations for aarch64

2017-10-28 Thread Baptiste Jonglez
The awesome AES performance was too good to be true: it seems to produce incorrect results when encrypting on the pine64 and decrypting on a x86_64 machine :( Possibly some assembler is optimized away by the compiler, which would explain why it's so fast. Please don't merge for now until I investi

Re: [LEDE-DEV] [PATCH] openssl: Enable assembler optimizations for aarch64

2017-10-30 Thread Baptiste Jonglez
On 28-10-17, Baptiste Jonglez wrote: > The awesome AES performance was too good to be true: it seems to produce > incorrect results when encrypting on the pine64 and decrypting on a x86_64 > machine :( > Possibly some assembler is optimized away by the compiler, which would > explain why it's so fa