PK: clarify comment about key export

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard
2026-02-27 10:16:20 +01:00
parent bc69abd2cb
commit 81ecc37372

View File

@@ -53,6 +53,7 @@
* then we export keys on the stack, and otherwise we use the heap.
*
* RSA can either be used directly or indirectly via opaque keys if enabled.
* (RSA_ALT is not relevant here as we can't export from such contexts.)
*/
#if !defined(MBEDTLS_RSA_C) && \
!(defined(MBEDTLS_USE_PSA_CRYPTO) && defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY))