Topic: wolssl slower than openssl on ARMv7 Linux

I am implemented an HTTPS server on ARMv7 Linux. With WolfSSL the server key exchange message takes about 1.3 seconds but OpenSSL uses just about 0.4 seconds. I checked the Wireshark log and my server selected the same cipher suite (TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) for both wolfSSL and OpenSSL.

Any suggestions on how to optimize WolfSSL on ARM in terms of speed?

BTW, in the wireshark pcap file, I noticed that with OpenSSL, these 4 messages: ServerHello, Certificate, ServerKeyExchange, ServerHelloDone are sent in one packet, while with WolfSSL, they are sent in separate packets. How is so?

Share

Re: wolssl slower than openssl on ARMv7 Linux

Hi hzwssl,

The RSA operations can be sped up using --enable-sp and --enable-sp-asm when building wolfSSL. The bulk of the time taken during TLS connections is due to public key operations.

To have packets bundled together the option -f can be used on the example wolfSSL client located at ./examples/client/client

```
-f          Fewer packets/group messages
```

Regards,
Jacob

Share