openssl: optimizations based on ARCH/small flash