1

(7 replies, posted in wolfSSL)

Sunnysunday wrote:

Thank you.

I am trying this on Zephyr but I can't get it to compile with any of the groups you suggested. I used e.g.

wolfSSL_UseKeyShare(ssl, WOLFSSL_ML_KEM_512);

To include Wolfssl in my Zephyr build I was following the official Wolfssl Zephyr Documentation on https://github.com/wolfSSL/wolfssl/tree/master/zephyrFriday Night Funkin and have the settings under manifest in west.yml as described there.

Are there any specific includes I need to use?
I tried those:

#define HAVE_KYBER
#define HAVE_ML_KEM
#define WOLFSSL_HAVE_HYBRID
#define HAVE_ML_DSA
#define WOLFSSL_DTLS_CH_FRAG

Those don't throw an error but

wolfSSL_UseKeyShare(ssl, WOLFSSL_ML_KEM_512)

does:

error: 'WOLFSSL_ML_KEM_512' undeclared.

I tried #define HAVE_PQC which also throws an error: 

#error Please do not define HAVE_PQC yourself.

Are there any other includes I need to use?
Or do I need to intregrate LIBOQS in some way?

Oh, what a familiar challenge! Getting wolfSSL and Zephyr