Hi all,
I have a working HTTPS server using NetXDuo, but the request latency is very long. I've narrowed down the source of the latency to _nx_crypto_huge_number_mont_power_modulus, which appears to take ~35s on my S7G2.
Is there some SCE7 initialization or other hardware acceleration that I'm missing? How can I make this computation faster?
Thanks!
-Jack
which cipersuite are you using? Did you refer to TLS module guide?
#ifdef NX_CRYPTO_ENGINE_SWextern const NX_SECURE_TLS_CRYPTO nx_crypto_tls_ciphers;#elseextern const NX_SECURE_TLS_CRYPTO nx_crypto_tls_ciphers_synergys7;#endif
The issue was that RSA encryption/decryption for 4096-bit keys does not use hardware acceleration
Please consider other MCUs which support RSA(4K)