Searched refs:XOR (Results 1 – 2 of 2) sorted by relevance
/picolibc-latest/newlib/libc/stdlib/ |
D | chacha_private.h | 58 #define XOR(v,w) ((v) ^ (w)) macro 63 a = PLUS(a,b); d = ROTATE(XOR(d,a),16); \ 64 c = PLUS(c,d); b = ROTATE(XOR(b,c),12); \ 65 a = PLUS(a,b); d = ROTATE(XOR(d,a), 8); \ 66 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7); 184 x0 = XOR(x0,U8TO32_LITTLE(m + 0)); in chacha_encrypt_bytes() 185 x1 = XOR(x1,U8TO32_LITTLE(m + 4)); in chacha_encrypt_bytes() 186 x2 = XOR(x2,U8TO32_LITTLE(m + 8)); in chacha_encrypt_bytes() 187 x3 = XOR(x3,U8TO32_LITTLE(m + 12)); in chacha_encrypt_bytes() 188 x4 = XOR(x4,U8TO32_LITTLE(m + 16)); in chacha_encrypt_bytes() [all …]
|
/picolibc-latest/newlib/libc/machine/arc64/ |
D | memcpy.S | 84 ;; invert R12 to get the desired behaviour (done by above XOR).
|