Assembly Optimizations Available in wolfSSL for ARM Processors
wolfSSL, as a long standing partner to ARM, has always been well optimized for ARM environments. One of the ways CyaSSL can be optimized for ARM platforms includes assembly optimizations for Public Key operations with the CTaoCrypt fastmath option. This translates to a speed increase when using RSA, Diffie-Hellman, DSA, or ECC.
If you dive into our code, these optimizations can be found in the asm.c source file.
When using the ./configure system, fastmath is enabled by default on 64-bit platforms. On 32-bit platforms, it can be enabled by using the “--enable-fastmath” option. In environments not using the ./configure system to build CyaSSL, fastmath can be enabled by defining USE_FAST_MATH. Since stack usage can be high when using fastmath, we recommend defining TFM_TIMING_RESISTANT as well.
If you have any questions about using CyaSSL in an ARM environment, please contact us at firstname.lastname@example.org.
Originally posted at: http://www.wolfssl.com/wolfSSL/Blog/Entries/2013/12/19_Assembly_Optimizations_Available_in_CyaSSL_for_ARM_Processors.html