The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
The err return value is checked. This function does a chain of if (err == MP_OKAY) and will skip to near the end to clean up any allocated memory if that initialization fails.
I noticed a check is missing here:
https://github.com/wolfSSL/wolfssl/blob/master/wolfcrypt/src/ecc.c#L3831
While it is done here: https://github.com/wolfSSL/wolfssl/blob/master/wolfcrypt/src/ecc.c#L5650
I wonder if it could cause an issue. Thanks!