Lines Matching refs:XOR
41 #define XOR(v,w) ((v) ^ (w)) macro
46 a = PLUS(a,b); d = ROTATE(XOR(d,a),16); \
47 c = PLUS(c,d); b = ROTATE(XOR(b,c),12); \
48 a = PLUS(a,b); d = ROTATE(XOR(d,a), 8); \
49 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7);
167 x0 = XOR(x0,U8TO32_LITTLE(m + 0)); in chacha_encrypt_bytes()
168 x1 = XOR(x1,U8TO32_LITTLE(m + 4)); in chacha_encrypt_bytes()
169 x2 = XOR(x2,U8TO32_LITTLE(m + 8)); in chacha_encrypt_bytes()
170 x3 = XOR(x3,U8TO32_LITTLE(m + 12)); in chacha_encrypt_bytes()
171 x4 = XOR(x4,U8TO32_LITTLE(m + 16)); in chacha_encrypt_bytes()
172 x5 = XOR(x5,U8TO32_LITTLE(m + 20)); in chacha_encrypt_bytes()
173 x6 = XOR(x6,U8TO32_LITTLE(m + 24)); in chacha_encrypt_bytes()
174 x7 = XOR(x7,U8TO32_LITTLE(m + 28)); in chacha_encrypt_bytes()
175 x8 = XOR(x8,U8TO32_LITTLE(m + 32)); in chacha_encrypt_bytes()
176 x9 = XOR(x9,U8TO32_LITTLE(m + 36)); in chacha_encrypt_bytes()
177 x10 = XOR(x10,U8TO32_LITTLE(m + 40)); in chacha_encrypt_bytes()
178 x11 = XOR(x11,U8TO32_LITTLE(m + 44)); in chacha_encrypt_bytes()
179 x12 = XOR(x12,U8TO32_LITTLE(m + 48)); in chacha_encrypt_bytes()
180 x13 = XOR(x13,U8TO32_LITTLE(m + 52)); in chacha_encrypt_bytes()
181 x14 = XOR(x14,U8TO32_LITTLE(m + 56)); in chacha_encrypt_bytes()
182 x15 = XOR(x15,U8TO32_LITTLE(m + 60)); in chacha_encrypt_bytes()