Lines Matching defs:multbl
114 static inline int mix_core(uint32_t multbl[][256], int a, int b, int c, int d){
116 return multbl[0][a] ^ ROT(multbl[0][b], 8) ^ ROT(multbl[0][c], 16) ^ ROT(multbl[0][d], 24);
118 return multbl[0][a] ^ multbl[1][b] ^ multbl[2][c] ^ multbl[3][d];
122 static inline void mix(av_aes_block state[2], uint32_t multbl[][256], int s1, int s3){
124 state[0].u32[0] = mix_core(multbl, src[0][0], src[s1 ][1], src[2][2], src[s3 ][3]);
125 state[0].u32[1] = mix_core(multbl, src[1][0], src[s3-1][1], src[3][2], src[s1-1][3]);
126 state[0].u32[2] = mix_core(multbl, src[2][0], src[s3 ][1], src[0][2], src[s1 ][3]);
127 state[0].u32[3] = mix_core(multbl, src[3][0], src[s1-1][1], src[1][2], src[s3-1][3]);
131 uint32_t multbl[][256])
136 mix(a->state, multbl, 3 - s, 1 + s);