Thread PSKc calculation fails in SDK 2.6.0

When compiling Thread CLI sample with default configuration the CLI command:

>> ot dataset pskc -p 123456

returns:
Error 27: NotCapable

Debugging discovers that  "otPlatCryptoPbkdf2GenerateKey(...)" is not properly implemented when OPENTHREAD_CONFIG_CRYPTO_LIB == OPENTHREAD_CONFIG_CRYPTO_LIB_PSA, which is the new default setting in SDK 2.6.0.

I believe this may also affect creating new datasets and commissioner/Joiner operation because  otPlatCryptoPbkdf2GenerateKey(...) is uses in the Thread stack (meshcop.cpp).

Related