Skip to main content
Associate
June 10, 2026
Question

WolfSSH missing define

  • June 10, 2026
  • 1 reply
  • 54 views

I have added a wolfSSH ICube repo to my project.

 

It does not compile, showing: 
 

Cube/Middlewares/Third_Party/wolfSSL_wolfSSH_wolfSSH/wolfssh/src/internal.c: In function 'GenerateKey':
Cube/Middlewares/Third_Party/wolfSSL_wolfSSH_wolfSSH/wolfssh/src/internal.c:2215:15: error: implicit declaration of function 'wc_SSH_KDF'; did you mean 'wc_HKDF'? [-Wimplicit-function-declaration]
2215 | ret = wc_SSH_KDF(hashId, keyId, key, keySz,


I checked the config

wolfSSL.I-CUBE-wolfSSL_conf.h


and it seems to be missing the wolf repo has:

/* Enable wolfSSL features needed for wolfSSH */
#define WOLFSSL_WOLFSSH           /* Enable wc_SSH_KDF function */

 

 

Do I have to manually add it? 
Am I missing some other config that enables it?

wolfSSH example reference
wolfip/src/port/stm32h563/user_settings.h at master · wolfSSL/wolfip

 

1 reply

ST Technical Moderator
June 15, 2026

Hello ​@Rado1 

Did you try to add it manually and recompile again ?

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om