From 9d698df4f42f87ac57a91e0faac5342300001cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 14 Mar 2023 12:24:05 +0100 Subject: [PATCH] Further clarify a comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard --- include/mbedtls/md.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/include/mbedtls/md.h b/include/mbedtls/md.h index a5dfb6842..7bad24dc9 100644 --- a/include/mbedtls/md.h +++ b/include/mbedtls/md.h @@ -36,15 +36,16 @@ /* * - MBEDTLS_MD_CAN_xxx is defined if the md module can perform xxx. - * - MBEDTLS_MD_xxx_VIA_PSA is defined if the md module performs xxx via PSA - * (when PSA Crypto is initialized). - * - MBEDTLS_MD_SOME_PSA is defined if at least one algorithm is performed - * via PSA. - * - MBEDTLS_MD_SOME_LEGACY is defined if at least one algorithm is performed - * via a direct legacy call. + * - MBEDTLS_MD_xxx_VIA_PSA is defined if the md module may perform xxx via PSA + * (see below). + * - MBEDTLS_MD_SOME_PSA is defined if at least one algorithm may be performed + * via PSA (see below). + * - MBEDTLS_MD_SOME_LEGACY is defined if at least one algorithm may be performed + * via a direct legacy call (see below). * * The md module performs an algorithm via PSA if there is a PSA hash - * accelerator, and makes a direct legacy call otherwise. + * accelerator and the PSA driver subsytem is initialized at the time the + * operation is started, and makes a direct legacy call otherwise. */ /* PSA accelerated implementations */