Add further missing brackets around macro parameters

This commit is contained in:
Hanno Becker 2018-10-26 09:13:26 +01:00 committed by Gilles Peskine
parent ee60034a60
commit 3ac21aca9b
6 changed files with 10 additions and 10 deletions

View file

@ -239,8 +239,8 @@ int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,
#define P(a,b,c,d,e,f,g,h,x,K) \
do \
{ \
temp1 = (h) + S3(e) + F1(e,f,g) + (K) + (x); \
temp2 = S2(a) + F0(a,b,c); \
temp1 = (h) + S3(e) + F1((e),(f),(g)) + (K) + (x); \
temp2 = S2(a) + F0((a),(b),(c)); \
(d) += temp1; (h) = temp1 + temp2; \
} while( 0 )