Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 21 of 21) sorted by relevance

/mbedtls-3.5.0/scripts/mbedtls_dev/
Dcrypto_knowledge.py37 short = re.sub(r'\bPSA_(?:ALG|ECC_FAMILY|KEY_[A-Z]+)_', r'', short)
38 short = re.sub(r' +', r'', short)
40 short = re.sub(r'PUBLIC_KEY\b', r'PUB', short)
41 short = re.sub(r'KEY_PAIR\b', r'PAIR', short)
42 short = re.sub(r'\bBRAINPOOL_P', r'BP', short)
43 short = re.sub(r'\bMONTGOMERY\b', r'MGM', short)
44 short = re.sub(r'AEAD_WITH_SHORTENED_TAG\b', r'AEAD_SHORT', short)
45 short = re.sub(r'\bDETERMINISTIC_', r'DET_', short)
46 short = re.sub(r'\bKEY_AGREEMENT\b', r'KA', short)
47 short = re.sub(r'_PSK_TO_MS\b', r'_PSK2MS', short)
[all …]
Dasymmetric_key_data.py38 private = 'PSA_KEY_TYPE_' + re.sub(r'(\(|\Z)', r'_KEY_PAIR\1', typ, 1)
39 public = 'PSA_KEY_TYPE_' + re.sub(r'(\(|\Z)', r'_PUBLIC_KEY\1', typ, 1)
Dmacro_collector.py303 expansion = re.sub(r'/\*.*?\*/|//.*', r' ', expansion)
351 line = re.sub(self._nonascii_re, rb'', line).decode('ascii')
499 line = re.sub(self._nonascii_re, rb'', line).decode('ascii')
522 return re.sub(r',', r', ', re.sub(r' +', r'', argument))
Dtest_data_generation.py229 options.targets = [os.path.basename(re.sub(r'\.data\Z', r'', target))
Dpsa_storage.py73 return re.sub(r'\s+', r'', string)
/mbedtls-3.5.0/tests/scripts/
Dtranslate_ciphers.py101 s_cipher = re.sub(r'\ATLS-', '+', s_cipher)
113 s_cipher = re.sub(r"GCM-SHA\d\d\d", "GCM", s_cipher)
133 s_cipher = re.sub(r'^TLS-', '', s_cipher)
142 s_cipher = re.sub(r'^RSA-', r'', s_cipher)
150 s_cipher = re.sub(r'(?<!DES-)CBC-', r'', s_cipher)
Dcheck_test_cases.py150 base_name = re.sub(r'\.[^.]*$', '', re.sub(r'.*/', '', file_name))
Dgenerate_test_code.py562 re.sub(r'.', r' ', line[opening.start(0):pos]) +
565 return re.sub(r' +(\n|\Z)', r'\1', line)
690 out = re.sub(r'(\\.)|' + split_char,
Dtest_psa_constant_names.py78 return re.sub(NORMALIZE_STRIP_RE, '', expr)
Dgenerate_psa_tests.py50 return re.sub(r'_FAMILY_(.*)', r'_\1_' + str(bits), dep)
338 short_deps = [re.sub(r'PSA_WANT_ALG_', r'', dep)
603 short = re.sub(r'PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION',
Dcheck_names.py542 line = re.sub(self.IGNORED_CHUNK_REGEX,
/mbedtls-3.5.0/docs/architecture/testing/
Ddriver-interface-test-strategy.md83 … a secure element involves multiple storage modifications (M<sub>1</sub>, ..., M<sub>n</sub>). If …
85 …otential interruption point (before M<sub>1</sub>, between M<sub>1</sub> and M<sub>2</sub>, ..., a…
/mbedtls-3.5.0/scripts/
Dmin_requirements.py48 split_req[0] = re.sub(r'>=|~=', r'==', split_req[0])
62 line = re.sub(r'(\A|\s+)#.*', r'', line)
Dgenerate_ssl_debug_helpers.py45 return pattern.sub(replacer, string)
Dassemble_changelog.py151 return re.sub(r'\n.*', version_title, re.DOTALL)
Dabi_check.py293 line = re.sub(r'\s+', r'', line)
/mbedtls-3.5.0/tests/
DCMakeLists.txt136 # CMake generates sub-makefiles for each target and calls them in subprocesses.
137 # Without this command, cmake will generate rules in each sub-makefile. As a result,
139 # With this line, only 4 sub-makefiles include the above command, that reduces
/mbedtls-3.5.0/library/
Dconstant_time.c190 const size_t sub = x - y; in mbedtls_ct_size_mask_lt() local
193 const size_t sub1 = sub >> (sizeof(sub) * 8 - 1); in mbedtls_ct_size_mask_lt()
Decp.c318 #define ECP_RS_ENTER(sub) (void) rs_ctx; argument
319 #define ECP_RS_LEAVE(sub) (void) rs_ctx; argument
/mbedtls-3.5.0/docs/architecture/psa-migration/
Dpsa-limitations.md140 following sub-sections study whether and how this matters in practice.
/mbedtls-3.5.0/
DChangeLog533 * cmake now detects if it is being built as a sub-project, and in that case