mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-09 14:01:18 +03:00
When the key is parsed from PK it is assigned the pseudo-alg MBEDTLS_PK_ALG_ECDSA. Trying to run "mbedtls_pk_can_do_psa" with an hardcoded deterministc/randomized ECDSA can make the function to fail if the proper variant is not the one also used by PK. This commit fixes this problem. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
291 KiB
291 KiB