Print this page
update desdata.h style
7127 remove -Wno-missing-braces from Makefile.uts
@@ -819,10 +819,11 @@
/*
* Permute 32 bit output of S boxes
*/
const uint32_t P_tab[4][256] = {
+ {
0x00000000U, 0x00004000U, 0x40000000U, 0x40004000U,
0x00000010U, 0x00004010U, 0x40000010U, 0x40004010U,
0x00080000U, 0x00084000U, 0x40080000U, 0x40084000U,
0x00080010U, 0x00084010U, 0x40080010U, 0x40084010U,
0x00000002U, 0x00004002U, 0x40000002U, 0x40004002U,
@@ -882,11 +883,13 @@
0x00888200U, 0x0088c200U, 0x40888200U, 0x4088c200U,
0x00888210U, 0x0088c210U, 0x40888210U, 0x4088c210U,
0x00808202U, 0x0080c202U, 0x40808202U, 0x4080c202U,
0x00808212U, 0x0080c212U, 0x40808212U, 0x4080c212U,
0x00888202U, 0x0088c202U, 0x40888202U, 0x4088c202U,
- 0x00888212U, 0x0088c212U, 0x40888212U, 0x4088c212U,
+ 0x00888212U, 0x0088c212U, 0x40888212U, 0x4088c212U
+ },
+ {
0x00000000U, 0x80000000U, 0x00400000U, 0x80400000U,
0x00001000U, 0x80001000U, 0x00401000U, 0x80401000U,
0x00000040U, 0x80000040U, 0x00400040U, 0x80400040U,
0x00001040U, 0x80001040U, 0x00401040U, 0x80401040U,
0x04000000U, 0x84000000U, 0x04400000U, 0x84400000U,
@@ -946,11 +949,13 @@
0x00010144U, 0x80010144U, 0x00410144U, 0x80410144U,
0x00011144U, 0x80011144U, 0x00411144U, 0x80411144U,
0x04010104U, 0x84010104U, 0x04410104U, 0x84410104U,
0x04011104U, 0x84011104U, 0x04411104U, 0x84411104U,
0x04010144U, 0x84010144U, 0x04410144U, 0x84410144U,
- 0x04011144U, 0x84011144U, 0x04411144U, 0x84411144U,
+ 0x04011144U, 0x84011144U, 0x04411144U, 0x84411144U
+ },
+ {
0x00000000U, 0x00002000U, 0x00200000U, 0x00202000U,
0x00000008U, 0x00002008U, 0x00200008U, 0x00202008U,
0x10000000U, 0x10002000U, 0x10200000U, 0x10202000U,
0x10000008U, 0x10002008U, 0x10200008U, 0x10202008U,
0x20000000U, 0x20002000U, 0x20200000U, 0x20202000U,
@@ -1010,11 +1015,13 @@
0x11040080U, 0x11042080U, 0x11240080U, 0x11242080U,
0x11040088U, 0x11042088U, 0x11240088U, 0x11242088U,
0x21040080U, 0x21042080U, 0x21240080U, 0x21242080U,
0x21040088U, 0x21042088U, 0x21240088U, 0x21242088U,
0x31040080U, 0x31042080U, 0x31240080U, 0x31242080U,
- 0x31040088U, 0x31042088U, 0x31240088U, 0x31242088U,
+ 0x31040088U, 0x31042088U, 0x31240088U, 0x31242088U
+ },
+ {
0x00000000U, 0x00000800U, 0x00020000U, 0x00020800U,
0x00000020U, 0x00000820U, 0x00020020U, 0x00020820U,
0x08000000U, 0x08000800U, 0x08020000U, 0x08020800U,
0x08000020U, 0x08000820U, 0x08020020U, 0x08020820U,
0x02000000U, 0x02000800U, 0x02020000U, 0x02020800U,
@@ -1074,11 +1081,12 @@
0x08100401U, 0x08100c01U, 0x08120401U, 0x08120c01U,
0x08100421U, 0x08100c21U, 0x08120421U, 0x08120c21U,
0x02100401U, 0x02100c01U, 0x02120401U, 0x02120c01U,
0x02100421U, 0x02100c21U, 0x02120421U, 0x02120c21U,
0x0a100401U, 0x0a100c01U, 0x0a120401U, 0x0a120c01U,
- 0x0a100421U, 0x0a100c21U, 0x0a120421U, 0x0a120c21U,
+ 0x0a100421U, 0x0a100c21U, 0x0a120421U, 0x0a120c21U
+ }
};
#ifdef __cplusplus
}
#endif