Hi Anthony,
Thanks, this helped.
So far I create my ECH configuration and private key with openssl, and I load it into wolfSSL with wolfSS_CTX_SetEchConfigsBase64(). Thanks to the callbacks, I get the outer SNI, which I guess is because I did not configure the ECH private key. I do not find an API to import the ECH private key; is there a way to do that?
(I suppose the alternative is to have wolfSSL generate the configuration and private key, and export the configuration to the other programs, but that's a major change... and in that case I wouldn't understand the use case to load configurations, if you can't load the corresponding private keys?)
Cheers,
Y.