So currently OpenWRT by default uses WolfSSL as the SSL library. However, what I've noticed is that WolfSSL generally has less support generally for different cryptographic algorithms. However, that means that some things are flat out not supported such as Argon2 and scrypt. I also know that OpenSSL seems to be required for WPA3.
When developing for OpenWRT, should I depend on WolfSSL or OpenSSL? I know that OpenSSL is much bigger in size but it also has support for Argon2 which would help with security. On the other hand, WolfSSL is the default but it only supports PBKDF2 which is a weaker hash since it doesn't need much memory.
OpenSSL is huge, that decision won’t go down lightly.
My advice for developing on OpenWrt, depend on mbedtls as it is default.
If you are willing to go to the effort, support mbedtls and OpenSSL with a configurable selection.
Giving the benefit of the doubt is always a welcome practice. To distinguish that from wearing rose-colored glasses here, please consider the two words that normally precede "Sherlock," in the commonly used English phrase, to see it was an insult. Or at minimum, ambiguous and negative.