1

(3 replies, posted in wolfSSH)

I changed WOLF_CONF_MATH to 4 and it works great! Login prompt appears immediately.
Thank you!

2

(3 replies, posted in wolfSSH)

Hello,

I somehow managed to run ssh demo server without RTOS with LWIP raw api on STM32F429 (172MHz).
Unfortunately this CPU hasn't got CRYPT/HASH modules.
I notice that the handshake procedure takes over 3s before the login prompt and my superloop is blocked then.
Is it possible to change something in configuration to lower that time? Use smaller keys or something.

This is a log from wolfSSH. First column in the log is a sysTick value. You can see how much time SendKexDhReply() takes.

125235 Decoding MSGID_KEXDH_INIT
125238 Entering SendKexDhReply()
127438 Signing hash with ecdsa-sha2-nistp256.
128545 BP: paddingSz = 9
128547 CreateMac none
128549 Encrypt none
128551 Entering SendNewKeys()
128554 BP: paddingSz = 10
128557 CreateMac none
128559 Encrypt none
128561 SNK: using cipher aes-cbc
128564 Entering wolfSSH_SendPacket()

Unfortunately I can't attach whole log file here. (The server was unable to save the uploaded file. Please contact the forum administrator at support@wolfssl.com.)

Greetings
Piotr