diff --git a/library/md2.c b/library/md2.c index b88aa406a..d970d82f8 100644 --- a/library/md2.c +++ b/library/md2.c @@ -158,6 +158,7 @@ int mbedtls_internal_md2_process( mbedtls_md2_context *ctx ) return( 0 ); } +#endif /* !MBEDTLS_MD2_PROCESS_ALT */ #if !defined(MBEDTLS_DEPRECATED_REMOVED) void mbedtls_md2_process( mbedtls_md2_context *ctx ) @@ -165,7 +166,6 @@ void mbedtls_md2_process( mbedtls_md2_context *ctx ) mbedtls_internal_md2_process( ctx ); } #endif -#endif /* !MBEDTLS_MD2_PROCESS_ALT */ /* * MD2 process buffer diff --git a/library/md4.c b/library/md4.c index ba704f58e..8adf523c0 100644 --- a/library/md4.c +++ b/library/md4.c @@ -224,6 +224,7 @@ int mbedtls_internal_md4_process( mbedtls_md4_context *ctx, return( 0 ); } +#endif /* !MBEDTLS_MD4_PROCESS_ALT */ #if !defined(MBEDTLS_DEPRECATED_REMOVED) void mbedtls_md4_process( mbedtls_md4_context *ctx, @@ -232,7 +233,6 @@ void mbedtls_md4_process( mbedtls_md4_context *ctx, mbedtls_internal_md4_process( ctx, data ); } #endif -#endif /* !MBEDTLS_MD4_PROCESS_ALT */ /* * MD4 process buffer diff --git a/library/md5.c b/library/md5.c index 8440ebffc..f58ffc83c 100644 --- a/library/md5.c +++ b/library/md5.c @@ -243,6 +243,7 @@ int mbedtls_internal_md5_process( mbedtls_md5_context *ctx, return( 0 ); } +#endif /* !MBEDTLS_MD5_PROCESS_ALT */ #if !defined(MBEDTLS_DEPRECATED_REMOVED) void mbedtls_md5_process( mbedtls_md5_context *ctx, @@ -251,7 +252,6 @@ void mbedtls_md5_process( mbedtls_md5_context *ctx, mbedtls_internal_md5_process( ctx, data ); } #endif -#endif /* !MBEDTLS_MD5_PROCESS_ALT */ /* * MD5 process buffer diff --git a/library/sha1.c b/library/sha1.c index 1f29a0fbf..a62660dcc 100644 --- a/library/sha1.c +++ b/library/sha1.c @@ -277,6 +277,7 @@ int mbedtls_internal_sha1_process( mbedtls_sha1_context *ctx, return( 0 ); } +#endif /* !MBEDTLS_SHA1_PROCESS_ALT */ #if !defined(MBEDTLS_DEPRECATED_REMOVED) void mbedtls_sha1_process( mbedtls_sha1_context *ctx, @@ -285,7 +286,6 @@ void mbedtls_sha1_process( mbedtls_sha1_context *ctx, mbedtls_internal_sha1_process( ctx, data ); } #endif -#endif /* !MBEDTLS_SHA1_PROCESS_ALT */ /* * SHA-1 process buffer diff --git a/library/sha256.c b/library/sha256.c index f39bcbab6..b438b9c39 100644 --- a/library/sha256.c +++ b/library/sha256.c @@ -246,6 +246,7 @@ int mbedtls_internal_sha256_process( mbedtls_sha256_context *ctx, return( 0 ); } +#endif /* !MBEDTLS_SHA256_PROCESS_ALT */ #if !defined(MBEDTLS_DEPRECATED_REMOVED) void mbedtls_sha256_process( mbedtls_sha256_context *ctx, @@ -254,7 +255,6 @@ void mbedtls_sha256_process( mbedtls_sha256_context *ctx, mbedtls_internal_sha256_process( ctx, data ); } #endif -#endif /* !MBEDTLS_SHA256_PROCESS_ALT */ /* * SHA-256 process buffer diff --git a/library/sha512.c b/library/sha512.c index 97cee07c5..4d43487a9 100644 --- a/library/sha512.c +++ b/library/sha512.c @@ -277,6 +277,7 @@ int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx, return( 0 ); } +#endif /* !MBEDTLS_SHA512_PROCESS_ALT */ #if !defined(MBEDTLS_DEPRECATED_REMOVED) void mbedtls_sha512_process( mbedtls_sha512_context *ctx, @@ -285,7 +286,6 @@ void mbedtls_sha512_process( mbedtls_sha512_context *ctx, mbedtls_internal_sha512_process( ctx, data ); } #endif -#endif /* !MBEDTLS_SHA512_PROCESS_ALT */ /* * SHA-512 process buffer