Lines Matching refs:i
191 size_t i = 0; in mbedtls_xor() local
196 for (; (i + 16) <= n; i += 16) { in mbedtls_xor()
197 uint8x16_t v1 = vld1q_u8(a + i); in mbedtls_xor()
198 uint8x16_t v2 = vld1q_u8(b + i); in mbedtls_xor()
200 vst1q_u8(r + i, x); in mbedtls_xor()
213 for (; (i + 8) <= n; i += 8) { in mbedtls_xor()
214 uint64_t x = mbedtls_get_unaligned_uint64(a + i) ^ mbedtls_get_unaligned_uint64(b + i); in mbedtls_xor()
215 mbedtls_put_unaligned_uint64(r + i, x); in mbedtls_xor()
223 for (; (i + 4) <= n; i += 4) { in mbedtls_xor()
224 uint32_t x = mbedtls_get_unaligned_uint32(a + i) ^ mbedtls_get_unaligned_uint32(b + i); in mbedtls_xor()
225 mbedtls_put_unaligned_uint32(r + i, x); in mbedtls_xor()
234 for (; i < n; i++) { in mbedtls_xor()
235 r[i] = a[i] ^ b[i]; in mbedtls_xor()
273 size_t i = 0; in mbedtls_xor_no_simd() local
277 for (; (i + 8) <= n; i += 8) { in mbedtls_xor_no_simd()
278 uint64_t x = mbedtls_get_unaligned_uint64(a + i) ^ mbedtls_get_unaligned_uint64(b + i); in mbedtls_xor_no_simd()
279 mbedtls_put_unaligned_uint64(r + i, x); in mbedtls_xor_no_simd()
291 for (; (i + 4) <= n; i += 4) { in mbedtls_xor_no_simd()
292 uint32_t x = mbedtls_get_unaligned_uint32(a + i) ^ mbedtls_get_unaligned_uint32(b + i); in mbedtls_xor_no_simd()
293 mbedtls_put_unaligned_uint32(r + i, x); in mbedtls_xor_no_simd()
302 for (; i < n; i++) { in mbedtls_xor_no_simd()
303 r[i] = a[i] ^ b[i]; in mbedtls_xor_no_simd()