commit | 39a376a41783fa1ebdaa8ffeded717d81b3c8054 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Thu Mar 09 17:21:40 2023 +0100 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Thu Mar 16 09:46:51 2023 +0100 |
tree | cb8a9773f150df406d9b541c330fe6d3394ac9cb | |
parent | c9e0ad23c1f7f2d17ad8e8d66896c323ee036552 [diff] [blame] |
Finish removing HMAC from MD-light Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/include/mbedtls/md.h b/include/mbedtls/md.h index 5ab0967..85d5c65 100644 --- a/include/mbedtls/md.h +++ b/include/mbedtls/md.h
@@ -205,8 +205,10 @@ /** The digest-specific context (legacy) or the PSA operation. */ void *MBEDTLS_PRIVATE(md_ctx); +#if defined(MBEDTLS_MD_C) /** The HMAC part of the context. */ void *MBEDTLS_PRIVATE(hmac_ctx); +#endif } mbedtls_md_context_t; /**