From 10cc6f2eaca57750904df838e0bc83e3d2fb999b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 5 Jun 2015 00:50:00 +0300 Subject: code style --- include/aesni/data.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/aesni/data.h b/include/aesni/data.h index b1085e8..b44b1d6 100644 --- a/include/aesni/data.h +++ b/include/aesni/data.h @@ -27,7 +27,10 @@ AesBlock192; static __inline AesBlock192 __fastcall make_aes_block192(int hi5, int hi4, int lo3, int lo2, int lo1, int lo0) { - return (AesBlock192) { .hi = make_aes_block128(0, 0, hi5, hi4), .lo = make_aes_block128(lo3, lo2, lo1, lo0) }; + AesBlock192 result; + result.hi = make_aes_block128( 0, 0, hi5, hi4); + result.lo = make_aes_block128(lo3, lo2, lo1, lo0); + return result; } typedef struct @@ -39,7 +42,10 @@ AesBlock256; static __inline AesBlock256 __fastcall make_aes_block256(int hi7, int hi6, int hi5, int hi4, int lo3, int lo2, int lo1, int lo0) { - return (AesBlock256) { .hi = make_aes_block128(hi7, hi6, hi5, hi4), .lo = make_aes_block128(lo3, lo2, lo1, lo0) }; + AesBlock256 result; + result.hi = make_aes_block128(hi7, hi6, hi5, hi4); + result.lo = make_aes_block128(lo3, lo2, lo1, lo0); + return result; } typedef struct -- cgit v1.2.3