Lines Matching refs:U8TO32_LITTLE
26 #define U8TO32_LITTLE(p) \ macro
59 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup()
60 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup()
61 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup()
62 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup()
69 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup()
70 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup()
71 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup()
72 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup()
73 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup()
74 x->input[1] = U8TO32_LITTLE(constants + 4); in chacha_keysetup()
75 x->input[2] = U8TO32_LITTLE(constants + 8); in chacha_keysetup()
76 x->input[3] = U8TO32_LITTLE(constants + 12); in chacha_keysetup()
84 x->input[14] = U8TO32_LITTLE(iv + 0); in chacha_ivsetup()
85 x->input[15] = U8TO32_LITTLE(iv + 4); in chacha_ivsetup()
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()