diff --git a/OpenCL/inc_types.cl b/OpenCL/inc_types.cl index 25b8d7868..96a608a6a 100644 --- a/OpenCL/inc_types.cl +++ b/OpenCL/inc_types.cl @@ -753,25 +753,29 @@ typedef struct luks_tmp { u32 ipad32[32]; u64 ipad64[16]; - }; + + } ipad; union { u32 opad32[32]; u64 opad64[16]; - }; + + } opad; union { u32 dgst32[32]; u64 dgst64[16]; - }; + + } dgst; union { u32 out32[32]; u64 out64[16]; - }; + + } out; } luks_tmp_t; diff --git a/include/interface.h b/include/interface.h index 7d72c49d7..ac18817b0 100644 --- a/include/interface.h +++ b/include/interface.h @@ -135,25 +135,29 @@ typedef struct luks_tmp { u32 ipad32[32]; u64 ipad64[16]; - }; + + } ipad; union { u32 opad32[32]; u64 opad64[16]; - }; + + } opad; union { u32 dgst32[32]; u64 dgst64[16]; - }; + + } dgst; union { u32 out32[32]; u64 out64[16]; - }; + + } out; } luks_tmp_t;