/mbedtls-3.5.0/tests/suites/ |
D | test_suite_bignum_mod.function | 13 static int test_read_modulus(mbedtls_mpi_mod_modulus *m, 25 return mbedtls_mpi_mod_modulus_setup(m, p, limbs, int_rep); 29 const mbedtls_mpi_mod_modulus *m, 47 /* mbedtls_mpi_mod_residue_setup() checks limbs, and that value < m */ 48 return mbedtls_mpi_mod_residue_setup(r, m, p, limbs); 62 mbedtls_mpi_mod_modulus m; 67 mbedtls_mpi_mod_modulus_init(&m); 68 ret = mbedtls_mpi_mod_modulus_setup(&m, mp, MLIMBS, int_rep); 74 TEST_ASSERT(m.rep.mont.rr != NULL); 75 TEST_ASSERT(m.rep.mont.mm != 0); [all …]
|
D | test_suite_bignum_mod_raw.function | 22 mbedtls_mpi_mod_modulus m; 23 mbedtls_mpi_mod_modulus_init(&m); 57 int ret = mbedtls_mpi_mod_modulus_setup(&m, init, nx, 65 ret = mbedtls_mpi_mod_raw_read(X, &m, input->x, input->len, endian); 73 ret = mbedtls_mpi_mod_raw_write(X, &m, buf, nb, endian); 108 mbedtls_mpi_mod_modulus_free(&m); 123 mbedtls_mpi_mod_modulus m; 124 mbedtls_mpi_mod_modulus_init(&m); 140 &m, buff_m, copy_limbs, 147 mbedtls_mpi_mod_raw_cond_assign(X, Y, &m, 0); [all …]
|
D | test_suite_bignum_mod.misc.data | 126 Test mbedtls_mpi_residue_setup #1 m > r 129 Test mbedtls_mpi_residue_setup #2 r == m - 1 132 Test mbedtls_mpi_residue_setup #3 m->limbs = r-> limbs && m > r 135 Test mbedtls_mpi_residue_setup #4 m->limbs = r-> limbs && m > r 138 Test mbedtls_mpi_residue_setup #5 m->limbs > r-> limbs && m > r 141 Test mbedtls_mpi_residue_setup #6 m->limbs < r-> limbs && m > r 144 Test mbedtls_mpi_residue_setup #7 r == m 147 Test mbedtls_mpi_residue_setup #8 r > m 150 Test mbedtls_mpi_mod_io_neg #1 input_r < modulo m 153 Test mbedtls_mpi_mod_io_neg #2 input_r == modulo m [all …]
|
D | test_suite_ecp.function | 1316 mbedtls_mpi_mod_modulus m; 1317 mbedtls_mpi_mod_modulus_init(&m); 1330 &m, N, limbs, 1335 mbedtls_mpi_mod_raw_fix_quasi_reduction(X, &m); 1342 mbedtls_mpi_mod_modulus_free(&m); 1359 mbedtls_mpi_mod_modulus m; 1360 mbedtls_mpi_mod_modulus_init(&m); 1373 &m, N, limbs, 1378 mbedtls_mpi_mod_raw_fix_quasi_reduction(X, &m); 1385 mbedtls_mpi_mod_modulus_free(&m); [all …]
|
D | test_suite_base64.function | 27 unsigned char m = mbedtls_ct_uchar_mask_of_range(low, high, c); 29 TEST_CF_PUBLIC(&m, sizeof(m)); 31 TEST_EQUAL(m, 0xff); 33 TEST_EQUAL(m, 0);
|
/mbedtls-3.5.0/scripts/mbedtls_dev/ |
D | crypto_knowledge.py | 101 m = re.match(r'(\w+)\s*\((.*)\)\Z', self.name) 102 assert m is not None 103 self.name = m.group(1) 104 params = m.group(2).split(',') 118 m = re.match(r'PSA_KEY_TYPE_(\w+)', self.name) 119 assert m 120 self.head = re.sub(r'_(?:PUBLIC_KEY|KEY_PAIR)\Z', r'', m.group(1)) 311 m = re.match(r'PSA_ALG_(?:' 315 if m: 316 expr = m.group(1) [all …]
|
D | macro_collector.py | 299 m = re.match(self._define_directive_re, line) 300 if not m: 302 name, parameter, expansion = m.groups() 346 m = re.search(self._continued_line_re, line) 347 while m: 349 line = line[:m.start(0)] + cont 350 m = re.search(self._continued_line_re, line) 478 m = re.match(self._header_line_re, line) 479 if not m: 481 name = m.group(1) [all …]
|
/mbedtls-3.5.0/scripts/ |
D | assemble_changelog.py | 136 m = re.search(cls._top_version_re, changelog_file_content) 137 top_version_start = m.start(1) 138 top_version_end = m.end(2) 139 top_version_title = m.group(1) 140 top_version_body = m.group(2) 163 title_starts = [m.start(1) for m in title_matches] 164 body_starts = [m.end(0) for m in title_matches] 306 m = re.search('(.+)$', hashes.decode('ascii')) 307 if not m: 313 return m.group(0)
|
D | config.py | 404 m = re.match(self._config_line_regexp, line) 405 if m is None: 407 elif m.group('section'): 408 self.current_section = m.group('section') 411 active = not m.group('commented_out') 412 name = m.group('name') 413 value = m.group('value') 415 m.group('indentation'), 416 m.group('define') + name + 417 m.group('arguments') + m.group('separator'))
|
D | rm-calloc-cast.cocci | 2 expression x, n, m; 7 mbedtls_calloc(n, m)
|
D | min_requirements.py | 65 m = re.match(r'-r\s+', line) 66 if m: 68 line[m.end(0):])
|
D | generate_ssl_debug_helpers.py | 277 for m in self._definitions: 278 name = m.groupdict()['name'] 336 for m in self._definitions: 337 name = m.groupdict()['name']
|
/mbedtls-3.5.0/library/ |
D | ecp.c | 1793 unsigned char w, const mbedtls_mpi *m) in ecp_comb_recode_core() argument 1803 x[i] |= mbedtls_mpi_get_bit(m, i + d * j) << j; in ecp_comb_recode_core() 2130 const mbedtls_mpi *m, in ecp_comb_recode_scalar() argument 2148 *parity_trick = (mbedtls_mpi_get_bit(m, 0) == 0); in ecp_comb_recode_scalar() 2151 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&M, m)); in ecp_comb_recode_scalar() 2152 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&mm, &grp->N, m)); in ecp_comb_recode_scalar() 2174 const mbedtls_mpi *m, in ecp_mul_comb_after_precomp() argument 2198 MBEDTLS_MPI_CHK(ecp_comb_recode_scalar(grp, m, k, d, w, in ecp_mul_comb_after_precomp() 2298 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in ecp_mul_comb() argument 2370 MBEDTLS_MPI_CHK(ecp_mul_comb_after_precomp(grp, R, m, in ecp_mul_comb() [all …]
|
D | aesce.c | 332 uint8x16_t h, m, l; /* retval high/middle/low */ in poly_mult_128() local 340 m = veorq_u8(d, e); /* :m2:m1:00 = d + e */ in poly_mult_128() 343 ret.val[1] = m; in poly_mult_128() 369 uint8x16_t h, m, l; /* input high/middle/low 128b */ in poly_mult_reduce() local 372 m = input.val[1]; /* :m2:m1:00 */ in poly_mult_reduce() 376 e = veorq_u8(c, m); /* :e2:e1:00 = m2:m1:00 + c2:c1:00 */ in poly_mult_reduce()
|
/mbedtls-3.5.0/include/mbedtls/ |
D | ecp.h | 964 const mbedtls_mpi *m, const mbedtls_ecp_point *P, 998 const mbedtls_mpi *m, const mbedtls_ecp_point *P, 1039 const mbedtls_mpi *m, const mbedtls_ecp_point *P, 1084 const mbedtls_mpi *m, const mbedtls_ecp_point *P,
|
/mbedtls-3.5.0/tests/scripts/ |
D | check_test_cases.py | 107 m = re.match(br'\s*run_test\s+"((?:[^\\"]|\\.)*)"', line) 108 if not m: 110 description = m.group(1)
|
D | check_files.py | 205 m = re.match(self._shebang_re, first_line) 206 if not m: 208 interpreter = m.group(1) or m.group(2)
|
D | check_names.py | 532 m = re.search(r"\*/", line) 533 if m: 535 line = line[m.end(0):] 548 m = re.search(r"/\*", line) 549 if m: 551 line = line[:m.start(0)]
|
D | translate_ciphers.py | 88 m = translate_mbedtls(s) 89 self.assertEqual(m, m_exp)
|
D | depends.py | 382 m = re.match(r' *MBEDTLS_CIPHER_ID_(\w+),', line) 383 if m and m.group(1) not in ['NONE', 'NULL', '3DES']: 384 self.base_symbols.add('MBEDTLS_' + m.group(1) + '_C')
|
/mbedtls-3.5.0/tests/data_files/ |
D | crl_sha512.pem | 9 UA98OmxIZs2hpBKRpvlfA5y6sXEx2+tSMg+MJrziGBgG6OR/m+KTaK5Yle9nrC+7
|
D | server1.80serial.crt | 18 ZKPY6nubIIj+HPB3Mhy8d9U3gAJvc9iEdzbKjrkJdVROONsyMYge4vnbjyKUr7/m
|
D | rsa_pkcs8_pbes2_pbkdf2_1024_des.pem | 14 m/URTp8k1xKenzCfc/oqj2zl0j/vxr5jsv30JL8ryHzsUKYnhy3aoFNpknyM6Kid
|
/mbedtls-3.5.0/tests/src/ |
D | psa_exercise_key.c | 809 unsigned m; in mbedtls_test_psa_exported_key_sanity_check() local 810 for (m = 1; m <= 0x100; m <<= 1) { in mbedtls_test_psa_exported_key_sanity_check() 811 if (exported[i] & m) { in mbedtls_test_psa_exported_key_sanity_check()
|
/mbedtls-3.5.0/tests/ |
D | compat.sh | 1049 translate_ciphers m $M_CIPHERS 1078 translate_ciphers m $M_CIPHERS 1107 translate_ciphers m $M_CIPHERS
|