Lines Matching refs:mul
70 * Profiling measurements showed that the mul routine is where a large propertion of
71 * the time is spent. Since the first argument to mul is always one of six
83 * The mod 255 op in mul is really expensive...
99 word8 mul(word8 a, word8 b) {
158 b[i][j] = mul(2,a[i][j])
159 ^ mul(3,a[(i + 1) % 4][j])
186 b[i][j] = mul(0xe,a[i][j])
187 ^ mul(0xb,a[(i + 1) % 4][j])
188 ^ mul(0xd,a[(i + 2) % 4][j])
189 ^ mul(0x9,a[(i + 3) % 4][j]);
467 b[i][j] = mul(2,a[i][j])
468 ^ mul(3,a[(i + 1) % 4][j])
492 b[i][j] = mul(0xe,a[i][j])
493 ^ mul(0xb,a[(i + 1) % 4][j])
494 ^ mul(0xd,a[(i + 2) % 4][j])
495 ^ mul(0x9,a[(i + 3) % 4][j]);