Lines Matching refs:i

72     size_t i = 0;  in mbedtls_ct_memcmp()  local
84 for (; (i + 4) <= n; i += 4) { in mbedtls_ct_memcmp()
85 uint32_t x = mbedtls_get_unaligned_volatile_uint32(A + i); in mbedtls_ct_memcmp()
86 uint32_t y = mbedtls_get_unaligned_volatile_uint32(B + i); in mbedtls_ct_memcmp()
91 for (; i < n; i++) { in mbedtls_ct_memcmp()
95 unsigned char x = A[i], y = B[i]; in mbedtls_ct_memcmp()
134 for (size_t i = 0; i < n; i++) { in mbedtls_ct_memcmp_partial() local
135 unsigned char x = A[i], y = B[i]; in mbedtls_ct_memcmp_partial()
137 mbedtls_ct_condition_t valid = mbedtls_ct_bool_and(mbedtls_ct_uint_ge(i, skip_head), in mbedtls_ct_memcmp_partial()
138 mbedtls_ct_uint_lt(i, valid_end)); in mbedtls_ct_memcmp_partial()
154 for (size_t i = 0; i < total; i++) { in mbedtls_ct_memmove_left() local
155 mbedtls_ct_condition_t no_op = mbedtls_ct_uint_gt(total - offset, i); in mbedtls_ct_memmove_left()
194 size_t i = 0; in mbedtls_ct_memcpy_if() local
197 for (; (i + 8) <= len; i += 8) { in mbedtls_ct_memcpy_if()
198 uint64_t a = mbedtls_get_unaligned_uint64(src1 + i) & mask; in mbedtls_ct_memcpy_if()
199 uint64_t b = mbedtls_get_unaligned_uint64(src2 + i) & not_mask; in mbedtls_ct_memcpy_if()
200 mbedtls_put_unaligned_uint64(dest + i, a | b); in mbedtls_ct_memcpy_if()
203 for (; (i + 4) <= len; i += 4) { in mbedtls_ct_memcpy_if()
204 uint32_t a = mbedtls_get_unaligned_uint32(src1 + i) & mask; in mbedtls_ct_memcpy_if()
205 uint32_t b = mbedtls_get_unaligned_uint32(src2 + i) & not_mask; in mbedtls_ct_memcpy_if()
206 mbedtls_put_unaligned_uint32(dest + i, a | b); in mbedtls_ct_memcpy_if()
210 for (; i < len; i++) { in mbedtls_ct_memcpy_if()
211 dest[i] = (src1[i] & mask) | (src2[i] & not_mask); in mbedtls_ct_memcpy_if()
236 size_t i = 0; in mbedtls_ct_zeroize_if() local
238 for (; (i + 4) <= len; i += 4) { in mbedtls_ct_zeroize_if()
239 mbedtls_put_unaligned_uint32((void *) (p + i), in mbedtls_ct_zeroize_if()
240 mbedtls_get_unaligned_uint32((void *) (p + i)) & mask); in mbedtls_ct_zeroize_if()
243 for (; i < len; i++) { in mbedtls_ct_zeroize_if()
244 p[i] = p[i] & mask; in mbedtls_ct_zeroize_if()