Fix SIMON-64 missing transform

pull/548/head
Jeffrey Walton 2017-12-05 09:14:58 -05:00
parent 4990ffe5b8
commit c18793f862
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 8 additions and 0 deletions

View File

@ -268,6 +268,10 @@ inline void SIMON64_Enc_4_Blocks(uint32x4_t &block0, uint32x4_t &block1,
const uint32x4x2_t t3 = vzipq_u32(x1, y1);
block0 = t3.val[0];
block1 = t3.val[1];
const uint32x4x2_t t4 = vzipq_u32(x2, y2);
block2 = t4.val[0];
block3 = t4.val[1];
}
inline void SIMON64_Dec_4_Blocks(uint32x4_t &block0, uint32x4_t &block1,

View File

@ -243,6 +243,10 @@ inline void SPECK64_Enc_4_Blocks(uint32x4_t &block0, uint32x4_t &block1,
const uint32x4x2_t t3 = vzipq_u32(x1, y1);
block0 = t3.val[0];
block1 = t3.val[1];
const uint32x4x2_t t4 = vzipq_u32(x2, y2);
block2 = t4.val[0];
block3 = t4.val[1];
}
inline void SPECK64_Dec_4_Blocks(uint32x4_t &block0, uint32x4_t &block1,