cryptoauthlib
cryptoauthlib copied to clipboard
pkcs11: get locks before calling talib_ecdh_compat
When using pkcs11 with a TA* device to do an ECDH derivation, the mutexes weren't being locked. This caused problems.
Checklist
- [x] I have reviewed the CONTRIBUTING.md and agree to it's terms