Lines Matching refs:U8TO32_LITTLE

37 #define U8TO32_LITTLE(p) \  macro
70 x->input[4] = U8TO32_LITTLE(k + 0); in chacha_keysetup()
71 x->input[5] = U8TO32_LITTLE(k + 4); in chacha_keysetup()
72 x->input[6] = U8TO32_LITTLE(k + 8); in chacha_keysetup()
73 x->input[7] = U8TO32_LITTLE(k + 12); in chacha_keysetup()
80 x->input[8] = U8TO32_LITTLE(k + 0); in chacha_keysetup()
81 x->input[9] = U8TO32_LITTLE(k + 4); in chacha_keysetup()
82 x->input[10] = U8TO32_LITTLE(k + 8); in chacha_keysetup()
83 x->input[11] = U8TO32_LITTLE(k + 12); in chacha_keysetup()
84 x->input[0] = U8TO32_LITTLE(constants + 0); in chacha_keysetup()
85 x->input[1] = U8TO32_LITTLE(constants + 4); in chacha_keysetup()
86 x->input[2] = U8TO32_LITTLE(constants + 8); in chacha_keysetup()
87 x->input[3] = U8TO32_LITTLE(constants + 12); in chacha_keysetup()
93 x->input[12] = counter == NULL ? 0 : U8TO32_LITTLE(counter + 0); in chacha_ivsetup()
94 x->input[13] = counter == NULL ? 0 : U8TO32_LITTLE(counter + 4); in chacha_ivsetup()
95 x->input[14] = U8TO32_LITTLE(iv + 0); in chacha_ivsetup()
96 x->input[15] = U8TO32_LITTLE(iv + 4); in chacha_ivsetup()
177 x0 = XOR(x0,U8TO32_LITTLE(m + 0)); in chacha_encrypt_bytes()
178 x1 = XOR(x1,U8TO32_LITTLE(m + 4)); in chacha_encrypt_bytes()
179 x2 = XOR(x2,U8TO32_LITTLE(m + 8)); in chacha_encrypt_bytes()
180 x3 = XOR(x3,U8TO32_LITTLE(m + 12)); in chacha_encrypt_bytes()
181 x4 = XOR(x4,U8TO32_LITTLE(m + 16)); in chacha_encrypt_bytes()
182 x5 = XOR(x5,U8TO32_LITTLE(m + 20)); in chacha_encrypt_bytes()
183 x6 = XOR(x6,U8TO32_LITTLE(m + 24)); in chacha_encrypt_bytes()
184 x7 = XOR(x7,U8TO32_LITTLE(m + 28)); in chacha_encrypt_bytes()
185 x8 = XOR(x8,U8TO32_LITTLE(m + 32)); in chacha_encrypt_bytes()
186 x9 = XOR(x9,U8TO32_LITTLE(m + 36)); in chacha_encrypt_bytes()
187 x10 = XOR(x10,U8TO32_LITTLE(m + 40)); in chacha_encrypt_bytes()
188 x11 = XOR(x11,U8TO32_LITTLE(m + 44)); in chacha_encrypt_bytes()
189 x12 = XOR(x12,U8TO32_LITTLE(m + 48)); in chacha_encrypt_bytes()
190 x13 = XOR(x13,U8TO32_LITTLE(m + 52)); in chacha_encrypt_bytes()
191 x14 = XOR(x14,U8TO32_LITTLE(m + 56)); in chacha_encrypt_bytes()
192 x15 = XOR(x15,U8TO32_LITTLE(m + 60)); in chacha_encrypt_bytes()