mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-15 16:38:48 +02:00
PK should only dispatch non-opaque operations to PSA when MBEDTLS_USE_PSA_CRYPTO is enabled. When MBEDTLS_USE_PSA_CRYPTO is disabled but MBEDTLS_PSA_CRYPTO_CLIENT is enabled, MBEDTLS_PK_OPAQUE should be available but non-opaque operations should still dispatch to the built-in legacy code. This commit fixes PK dispatch when CLIENT && !USE. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>