#define R32_7(x) (ROTR32((x), 5))
-#include "f1_autogen.c"
+#include "f1_autogen.i"
static inline
void bmw_small_f0(uint32_t* q, uint32_t* h, const uint32_t* m){
q[13] = (t[ 2] + t[ 4] + t[ 7] + t[10] + t[11]);
*/
q[ 0] = +t[ 5] +t[10] +t[13] +(tr1=-t[ 7]+t[14]) ;
+ q[ 0] = S32_0(q[ 0]) + h[ 1];
q[ 3] = +t[ 8] +t[13] +t[ 0] +(tr2=-t[ 1]-t[10]) ;
+ q[ 3] = S32_3(q[ 3]) + h[ 4];
q[ 6] = -t[11] +t[13] -t[ 0] -t[ 3] +t[ 4] ;
+ q[ 6] = S32_1(q[ 6]) + h[ 7];
q[ 9] = +t[ 0] +(tr0=-t[ 3]+t[ 6]) +(tr1) ;
+ q[ 9] = S32_4(q[ 9]) + h[10];
q[12] = -t[ 9] -(tr0) -(tr2) ;
+ q[12] = S32_2(q[12]) + h[13];
q[15] = -t[ 4] +(tr0=-t[ 9]+t[12]) +(tr1=-t[ 6]+t[13]) ;
+ q[15] = S32_0(q[15]) + h[ 0];
q[ 2] = +t[ 7] +t[15] +t[ 0] -(tr0) ;
+ q[ 2] = S32_2(q[ 2]) + h[ 3];
q[ 5] = +t[10] +(tr0=-t[ 2]+t[15]) +(tr2=+t[ 3]-t[12]) ;
+ q[ 5] = S32_0(q[ 5]) + h[ 6];
q[ 8] = -t[ 5] -(tr0) +(tr1) ;
+ q[ 8] = S32_3(q[ 8]) + h[ 9];
q[11] = -t[ 0] -t[ 2] +t[ 9] +(tr0=-t[ 5]+t[ 8]) ;
+ q[11] = S32_1(q[11]) + h[12];
q[14] = -t[11] +(tr0) +(tr2) ;
+ q[14] = S32_4(q[14]) + h[15];
q[ 1] = +t[ 6] +(tr0=+t[11]+t[14]) +(tr1=-t[ 8]-t[15]) ;
+ q[ 1] = S32_1(q[ 1]) + h[ 2];
q[ 4] = +t[ 9] +t[ 1] +t[ 2] -(tr0) ;
+ q[ 4] = S32_4(q[ 4]) + h[ 5];
q[ 7] = -t[12] -t[14] +t[ 1] -t[ 4] -t[ 5] ;
+ q[ 7] = S32_2(q[ 7]) + h[ 8];
q[10] = -t[ 1] +(tr0=-t[ 4]-t[ 7]) -(tr1) ;
+ q[10] = S32_0(q[10]) + h[11];
q[13] = +t[ 2] +t[10] +t[11] -(tr0) ;
+ q[13] = S32_3(q[13]) + h[14];
dump_x(q, 16, 'W');
- q[ 0] = S32_0(q[ 0]) + h[ 1];
- q[ 1] = S32_1(q[ 1]) + h[ 2];
- q[ 2] = S32_2(q[ 2]) + h[ 3];
- q[ 3] = S32_3(q[ 3]) + h[ 4];
- q[ 4] = S32_4(q[ 4]) + h[ 5];
- q[ 5] = S32_0(q[ 5]) + h[ 6];
- q[ 6] = S32_1(q[ 6]) + h[ 7];
- q[ 7] = S32_2(q[ 7]) + h[ 8];
- q[ 8] = S32_3(q[ 8]) + h[ 9];
- q[ 9] = S32_4(q[ 9]) + h[10];
- q[10] = S32_0(q[10]) + h[11];
- q[11] = S32_1(q[11]) + h[12];
- q[12] = S32_2(q[12]) + h[13];
- q[13] = S32_3(q[13]) + h[14];
- q[14] = S32_4(q[14]) + h[15];
- q[15] = S32_0(q[15]) + h[ 0];
}
static inline