mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-09 17:30:51 +02:00
c0ec8f39b2
- Replace public wc_CryptoCb_GetDevice() with wc_CryptoCb_IsDeviceRegistered() returns 1 or 0. keep the CryptoCb struct and GetDevice private. - Reject RegisterDevice(INVALID_DEVID) with BAD_FUNC_ARG instead of ALREADY_E. - Document the new API and the ALREADY_E/BAD_FUNC_ARG returns. - Fix table-full test to not leak when MAX_CRYPTO_DEVID_CALLBACKS >= 256.