Home
last modified time | relevance | path

Searched defs:i (Results 1 – 25 of 108) sorted by relevance

12345

/mbedtls-3.6.0/library/
Dbignum_core.h87 #define BITS_TO_LIMBS(i) ((i) / biL + ((i) % biL != 0)) argument
88 #define CHARS_TO_LIMBS(i) ((i) / ciL + ((i) % ciL != 0)) argument
90 #define GET_BYTE(X, i) \ argument
Dbignum_core.c55 int i; in mbedtls_mpi_core_bitlen() local
123 for (size_t i = 1; i < A_limbs; i++) { in mbedtls_mpi_core_uint_le_mpi() local
138 for (size_t i = limbs; i > 0; i--) { in mbedtls_mpi_core_lt_ct() local
182 for (size_t i = 0; i < limbs; i++) { in mbedtls_mpi_core_cond_assign() local
196 for (size_t i = 0; i < limbs; i++) { in mbedtls_mpi_core_cond_swap() local
217 for (size_t i = 0; i < input_length; i++) { in mbedtls_mpi_core_read_le() local
272 for (size_t i = bytes_to_copy; i < stored_bytes; i++) { in mbedtls_mpi_core_write_le() local
279 for (size_t i = 0; i < bytes_to_copy; i++) { in mbedtls_mpi_core_write_le() local
316 for (size_t i = bytes_to_copy; i < stored_bytes; i++) { in mbedtls_mpi_core_write_be() local
323 for (size_t i = 0; i < bytes_to_copy; i++) { in mbedtls_mpi_core_write_be() local
[all …]
Ddes.c314 int i; in mbedtls_des_key_set_parity() local
326 int i; in mbedtls_des_key_check_key_parity() local
383 int i; in mbedtls_des_key_check_weak() local
397 int i; in mbedtls_des_setkey() local
476 int i; in mbedtls_des_setkey_dec() local
492 int i; in des3_set2key() local
544 int i; in des3_set3key() local
598 int i; in mbedtls_des_crypt_ecb() local
686 int i; in mbedtls_des3_crypt_ecb() local
836 int i, j, u, v, ret = 0; in mbedtls_des_self_test() local
Dconstant_time.c85 size_t i = 0; in mbedtls_ct_memcmp() local
147 for (size_t i = 0; i < n; i++) { in mbedtls_ct_memcmp_partial() local
167 for (size_t i = 0; i < total; i++) { in mbedtls_ct_memmove_left() local
207 size_t i = 0; in mbedtls_ct_memcpy_if() local
249 size_t i = 0; in mbedtls_ct_zeroize_if() local
Dpsa_crypto_se.c58 size_t i; in psa_get_se_driver_entry() local
261 size_t i; in psa_init_all_se_drivers() local
295 size_t i; in psa_register_se_driver() local
358 size_t i; in psa_unregister_all_se_drivers() local
Dbignum.c85 size_t i = mbedtls_ct_size_if_else_0(X_is_negative, 1); in mbedtls_mpi_lt_mpi_ct() local
130 for (size_t i = Y->n; i < X->n; i++) { in mbedtls_mpi_safe_cond_assign() local
244 size_t i; in mbedtls_mpi_shrink() local
313 size_t i; in mbedtls_mpi_copy() local
449 size_t i; in mbedtls_mpi_lsb() local
528 size_t i, j, slen, n; in mbedtls_mpi_read_string() local
678 size_t i, j, k; in mbedtls_mpi_write_string() local
888 size_t i; in mbedtls_mpi_shift_l() local
922 size_t i, j; in mbedtls_mpi_cmp_abs() local
965 size_t i, j; in mbedtls_mpi_cmp_mpi() local
[all …]
Daria.c331 uint8_t i, j; in aria_rot128() local
364 int i; in mbedtls_aria_setkey_enc() local
419 int i, j, k, ret; in mbedtls_aria_setkey_dec() local
453 int i; in mbedtls_aria_crypt_ecb() local
648 int c, i; in mbedtls_aria_crypt_ctr() local
841 int i; in mbedtls_aria_self_test() local
Dentropy.c197 int i; in entropy_gather_internal() local
268 int ret, count = 0, i, thresholds_reached; in mbedtls_entropy_func() local
525 size_t i; in mbedtls_entropy_source_self_test_check_bits() local
605 size_t i, j; in mbedtls_entropy_self_test() local
Dbase64.c64 size_t i, n; in mbedtls_base64_encode() local
131 size_t i; /* index in source */ in mbedtls_base64_decode() local
Daes.c411 int i; in aes_gen_tables() local
649 for (unsigned int i = 0; i < (keybits >> 5); i++) { in mbedtls_aes_setkey_enc() local
656 for (unsigned int i = 0; i < 10; i++, RK += 4) { in mbedtls_aes_setkey_enc() local
672 for (unsigned int i = 0; i < 8; i++, RK += 6) { in mbedtls_aes_setkey_enc() local
689 for (unsigned int i = 0; i < 7; i++, RK += 8) { in mbedtls_aes_setkey_enc() local
772 for (int i = ctx->nr - 1; i > 0; i--, SK -= 8) { in mbedtls_aes_setkey_dec() local
923 int i; in mbedtls_internal_aes_encrypt() local
985 int i; in mbedtls_internal_aes_decrypt() local
1294 size_t i; in mbedtls_aes_crypt_xts() local
1481 int c, i; in mbedtls_aes_crypt_ctr() local
[all …]
Dcipher.c818 unsigned char i; in add_pkcs_padding() local
828 size_t i, pad_idx; in get_pkcs_padding() local
862 unsigned char i = 0; in add_one_and_zeros_padding() local
882 for (ptrdiff_t i = (ptrdiff_t) (input_len) - 1; i >= 0; i--) { in get_one_and_zeros_padding() local
906 unsigned char i = 0; in add_zeros_and_len_padding() local
917 size_t i, pad_idx; in get_zeros_and_len_padding() local
958 size_t i; in get_zeros_padding() local
/mbedtls-3.6.0/tests/src/
Dpsa_crypto_helpers.c29 size_t i; in mbedtls_test_uses_key_id() local
50 size_t i; in mbedtls_test_psa_purge_key_storage() local
59 size_t i; in mbedtls_test_psa_purge_key_cache() local
144 for (size_t i = 0; i < bin_string->len; i++) { in mbedtls_test_parse_binary_string() local
183 for (size_t i = 0; i < sizeof(buf); i++) { in mbedtls_test_inject_entropy_restore() local
Drandom.c34 size_t i; in mbedtls_test_rnd_std_rand() local
108 uint32_t i, *k, sum, delta = 0x9E3779B9; in mbedtls_test_rnd_pseudo_rand() local
/mbedtls-3.6.0/3rdparty/p256-m/p256-m/
Dp256-m.c72 for (unsigned i = 1; i < 8; i++) { in u256_set32() local
92 for (unsigned i = 0; i < 8; i++) { in u256_add() local
116 for (unsigned i = 0; i < 8; i++) { in u256_sub() local
137 for (unsigned i = 0; i < 8; i++) { in u256_cmov() local
152 for (unsigned i = 0; i < 8; i++) { in u256_diff() local
167 for (unsigned i = 0; i < 8; i++) { in u256_diff0() local
354 #define U288_MULADD_STEP(i) \ in u288_muladd() argument
371 for (unsigned i = 0; i < 8; i++) { in u288_muladd() local
395 for (unsigned i = 0; i < 8; i++) { in u288_rshift32() local
409 for (unsigned i = 0; i < 8; i++) { in u256_from_bytes() local
[all …]
/mbedtls-3.6.0/programs/hash/
Dgeneric_sum.c45 int i; in generic_print() local
62 int i; in generic_check() local
153 int ret = 1, i; in main() local
Dhello.c27 int i, ret; in main() local
/mbedtls-3.6.0/3rdparty/everest/include/everest/kremlin/
Dc_endianness.h177 inline static void store16(uint8_t *b, uint16_t i) { in store16()
181 inline static void store32(uint8_t *b, uint32_t i) { in store32()
185 inline static void store64(uint8_t *b, uint64_t i) { in store64()
190 #define store16_le(b, i) (store16(b, htole16(i))) argument
192 #define store16_be(b, i) (store16(b, htobe16(i))) argument
195 #define store32_le(b, i) (store32(b, htole32(i))) argument
197 #define store32_be(b, i) (store32(b, htobe32(i))) argument
200 #define store64_le(b, i) (store64(b, htole64(i))) argument
202 #define store64_be(b, i) (store64(b, htobe64(i))) argument
/mbedtls-3.6.0/programs/ssl/
Dssl_test_lib.c52 size_t i; in dummy_entropy() local
233 for (int i = 0; i < 2; i++) { in key_opaque_set_alg_usage() local
536 for (int i = 0; tls_id_group_name_table[i].tls_id != 0; i++) { in mbedtls_ssl_get_curve_tls_id_from_name() local
547 for (int i = 0; tls_id_group_name_table[i].tls_id != 0; i++) { in mbedtls_ssl_print_supported_groups_list() local
558 size_t i = 0; in parse_groups() local
/mbedtls-3.6.0/tests/scripts/
Dtest_zeroize.gdb44 set $i = 0 toplevelVariable
/mbedtls-3.6.0/programs/fuzz/
Dcommon.c62 size_t i; in dummy_random() local
86 size_t i; in dummy_entropy() local
/mbedtls-3.6.0/programs/test/
Dquery_compile_time_config.c29 int i; in main() local
/mbedtls-3.6.0/3rdparty/everest/library/
DHacl_Curve25519.c43 uint32_t i; in Hacl_Bignum_Fproduct_copy_from_wide_() local
54 uint32_t i; in Hacl_Bignum_Fproduct_sum_scalar_multiplication_() local
65 uint32_t i; in Hacl_Bignum_Fproduct_carry_wide_() local
83 uint32_t i; in Hacl_Bignum_Fmul_shift_reduce() local
99 uint32_t i; in Hacl_Bignum_Fmul_mul_shift_reduce_() local
209 uint32_t i; in Hacl_Bignum_Fsquare_fsquare_times_() local
291 uint32_t i; in Hacl_Bignum_fsum() local
320 uint32_t i; in Hacl_Bignum_fdifference() local
346 uint32_t i; in Hacl_Bignum_fscalar() local
378 uint32_t i = ctr - (uint32_t)1U; in Hacl_EC_Point_swap_conditional_step() local
[all …]
/mbedtls-3.6.0/3rdparty/everest/library/legacy/
DHacl_Curve25519.c47 uint32_t i; in Hacl_Bignum_Fproduct_copy_from_wide_() local
62 uint32_t i; in Hacl_Bignum_Fproduct_sum_scalar_multiplication_() local
73 uint32_t i; in Hacl_Bignum_Fproduct_carry_wide_() local
91 uint32_t i; in Hacl_Bignum_Fmul_shift_reduce() local
111 uint32_t i; in Hacl_Bignum_Fmul_mul_shift_reduce_() local
251 uint32_t i; in Hacl_Bignum_Fsquare_fsquare_times_() local
333 uint32_t i; in Hacl_Bignum_fsum() local
362 uint32_t i; in Hacl_Bignum_fdifference() local
388 uint32_t i; in Hacl_Bignum_fscalar() local
423 uint32_t i = ctr - (uint32_t)1U; in Hacl_EC_Point_swap_conditional_step() local
[all …]
/mbedtls-3.6.0/programs/
Dwince_main.c17 int i; in _tmain() local
/mbedtls-3.6.0/programs/random/
Dgen_entropy.c30 int i, k, ret = 1; in main() local

12345