diff options
author | Ben Laurie <ben@openssl.org> | 2012-11-05 14:23:55 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2012-11-05 14:23:55 +0000 |
commit | da01515c404fcfc389d437fc07ac6734e9aea20d (patch) | |
tree | a55ba0b2c205012b005638a21fb9be852b528ca1 /crypto/modes/modes_lcl.h | |
parent | 7c43ea50fdecdbb743a6b2c24898ef038d3a3bc9 (diff) |
More strict aliasing fix.
Diffstat (limited to 'crypto/modes/modes_lcl.h')
-rw-r--r-- | crypto/modes/modes_lcl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/modes/modes_lcl.h b/crypto/modes/modes_lcl.h index b6dc3c336f..40a6d5a642 100644 --- a/crypto/modes/modes_lcl.h +++ b/crypto/modes/modes_lcl.h @@ -101,8 +101,8 @@ typedef struct { u64 hi,lo; } u128; struct gcm128_context { /* Following 6 names follow names in GCM specification */ - union { u64 u[2]; u32 d[4]; u8 c[16]; } Yi,EKi,EK0,len, - Xi,H; + union { u64 u[2]; u32 d[4]; u8 c[16]; size_t t[16/sizeof(size_t)]; } + Yi,EKi,EK0,len,Xi,H; /* Relative position of Xi, H and pre-computed Htable is used * in some assembler modules, i.e. don't change the order! */ #if TABLE_BITS==8 |