Skip to content

Commit 2a075bb

Browse files
Azim Khan0xc0170
authored andcommitted
Remove unnecessary flag around mbedtls_sha512_sw_process
1 parent 81c0f88 commit 2a075bb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ void mbedtls_sha512_sw_starts( mbedtls_sha512_sw_context *ctx, int is384 )
139139
ctx->is384 = is384;
140140
}
141141

142-
#if !defined(MBEDTLS_SHA512_PROCESS_ALT)
143142

144143
/*
145144
* Round constants
@@ -259,7 +258,6 @@ void mbedtls_sha512_sw_process( mbedtls_sha512_sw_context *ctx, const unsigned c
259258
ctx->state[6] += G;
260259
ctx->state[7] += H;
261260
}
262-
#endif /* !MBEDTLS_SHA512_PROCESS_ALT */
263261

264262
/*
265263
* SHA-512 process buffer

0 commit comments

Comments
 (0)