Searched full:os (Results 1 – 25 of 56) sorted by relevance
123
/mbedtls-3.6.0/scripts/mbedtls_dev/ |
D | build_tree.py | 8 import os 13 return all(os.path.isdir(os.path.join(path, subdir)) 18 return all(os.path.isdir(os.path.join(path, subdir)) 29 if not all(os.path.isdir(d) for d in ["include", "library", "tests"]): 38 for d in [os.path.curdir, 39 os.path.pardir, 40 os.path.join(os.path.pardir, os.path.pardir)]: 42 os.chdir(d) 54 path = os.path.dirname(frame.filename) 55 for d in ['.', os.path.pardir] \ [all …]
|
D | c_build_helper.py | 8 import os 19 os.remove(filename) 38 c_file = os.fdopen(c_fd, 'w', encoding='ascii') 90 cc = os.getenv('HOSTCC', None) 92 cc = os.getenv('CC', 'cc') 157 os.remove(c_name)
|
D | test_case.py | 9 import os 83 caller = os.path.basename(sys.argv[0]) 91 os.replace(tempfile, filename)
|
D | test_data_generation.py | 14 import os 201 options.directory = os.path.abspath(options.directory) 218 options.targets = [os.path.basename(re.sub(r'\.data\Z', r'', target))
|
/mbedtls-3.6.0/scripts/ |
D | generate_driver_wrappers.py | 13 import os 45 loader=jinja2.FileSystemLoader(os.path.dirname(template_path)), 47 template = environment.get_template(os.path.basename(template_path)) 59 os.path.join(template_dir, template_file_name) 63 with open(file=os.path.join(output_dir, os.path.splitext(template_file_name)[0]), 116 'transparent': os.path.join(mbedtls_root, 121 'opaque': os.path.join(mbedtls_root, 142 with open(file=os.path.join(json_directory, jsondriver_list), 148 driver_file=os.path.join(json_directory, driver_file_name)) 179 mbedtls_root = os.path.abspath(args.mbedtls_root) [all …]
|
D | ecp_comb_table.py | 12 import os 30 CC = os.getenv('CC', 'cc') 31 MBEDTLS_LIBRARY_PATH = os.getenv('MBEDTLS_LIBRARY_PATH', "library") 149 return os.path.normpath(os.path.join(os.path.dirname(__file__), "..", *args)) 161 srcfile = os.fdopen(fd, mode="w") 180 os.unlink(srcname) 181 os.unlink(binname) 219 shared_lib_path = os.path.normpath(os.path.join(MBEDTLS_LIBRARY_PATH, "libmbedcrypto.so")) 220 static_lib_path = os.path.normpath(os.path.join(MBEDTLS_LIBRARY_PATH, "libmbedcrypto.a")) 221 if not os.path.exists(shared_lib_path) and not os.path.exists(static_lib_path):
|
D | abi_check.py | 90 import os 127 self.report_dir = os.path.abspath(configuration.report_dir) 129 self.can_remove_report_dir = not (os.path.exists(self.report_dir) or 205 if not (os.path.exists(os.path.join(git_worktree_path, "crypto")) 213 cwd=os.path.join(git_worktree_path, "crypto"), 223 cwd=os.path.join(git_worktree_path, "crypto"), 230 my_environment = os.environ.copy() 233 if os.path.exists(os.path.join(git_worktree_path, "crypto")): 242 for root, _dirs, files in os.walk(git_worktree_path): 244 version.modules[os.path.splitext(file)[0]] = ( [all …]
|
D | min_requirements.py | 9 import os 55 nested_file = os.path.join(os.path.dirname(filename), 83 req_file_name = os.path.join(temp_dir, 'requirements.txt') 116 options.files = [os.path.join(os.path.dirname(__file__),
|
D | memory.sh | 63 CFLAGS=$CFLAGS_EXEC make OFLAGS=-Os lib >/dev/null 2>&1 65 CFLAGS=$CFLAGS_EXEC make OFLAGS=-Os ssl/$CLIENT >/dev/null 73 CFLAGS=$CFLAGS_MEM make OFLAGS=-Os lib >/dev/null 2>&1 75 CFLAGS=$CFLAGS_MEM make OFLAGS=-Os ssl/$CLIENT >/dev/null
|
D | code_size_compare.py | 16 import os 69 :param: opt_level: Options that control optimization. (E.g. -Os) 183 (E.g. -Os) 314 git_worktree_path = os.path.join(self.repo_path, 339 my_environment = os.environ.copy() 756 self.csv_dir = os.path.abspath(self.result_options.record_dir) 757 os.makedirs(self.csv_dir, exist_ok=True) 758 self.comp_dir = os.path.abspath(self.result_options.comp_dir) 759 os.makedirs(self.comp_dir, exist_ok=True) 788 output_file = os.path.join( [all …]
|
D | config.py | 19 import os 283 # No OS-provided entropy source 359 os.path.join(os.path.dirname(__file__), 360 os.pardir, 362 os.path.join(os.path.dirname(os.path.abspath(os.path.dirname(__file__))), 369 if os.path.lexists(candidate):
|
D | assemble_changelog.py | 29 import os 350 mtime = os.stat(filename).st_mtime 414 if os.path.exists(output_file) and not os.path.isfile(output_file): 424 os.rename(output_temp, output_file) 428 os.remove(filename) 435 files_to_merge = glob.glob(os.path.join(options.dir, '*.txt'))
|
D | generate_ssl_debug_helpers.py | 14 import os 369 mbedtls_root = os.path.abspath( 371 with open(os.path.join(mbedtls_root, 'include/mbedtls/ssl.h')) as f: 392 with open(os.path.join(output_directory, 'ssl_debug_helpers_generated.c'), 'w') as f:
|
/mbedtls-3.6.0/tests/scripts/ |
D | scripts_path.py | 12 import os 15 sys.path.append(os.path.join(os.path.dirname(__file__), 16 os.path.pardir, os.path.pardir,
|
D | check_test_cases.py | 14 import os 119 if os.path.isdir('tests'): 121 elif os.path.isdir('suites'): 123 elif os.path.isdir('../suites'): 132 for data_file_name in glob.glob(os.path.join(directory, 'suites', 135 ssl_opt_sh = os.path.join(directory, 'ssl-opt.sh') 136 if os.path.exists(ssl_opt_sh): 138 for ssl_opt_file_name in glob.glob(os.path.join(directory, 'opt-testcases', 141 compat_sh = os.path.join(directory, 'compat.sh') 142 if os.path.exists(compat_sh):
|
D | test_psa_compliance.py | 14 import os 49 root_dir = os.getcwd() 64 if not os.path.exists(crypto_lib_filename): 75 os.makedirs(psa_arch_tests_dir, exist_ok=True) 77 os.chdir(psa_arch_tests_dir) 89 os.mkdir(build_dir) 90 os.chdir(build_dir) 161 os.chdir(root_dir)
|
D | check_files.py | 13 import os 57 filepath = os.path.normpath(filepath) 60 seps = os.path.sep 61 if os.path.altsep is not None: 62 seps += os.path.altsep 149 _root, ext = os.path.splitext(filepath) 165 is_executable = os.access(filepath, os.X_OK) 204 is_executable = os.access(filepath, os.X_OK) 407 return [fp if os.path.dirname(fp) else os.path.join(os.curdir, fp)
|
D | generate_test_cert_macros.py | 12 import os 23 if self.dest in ('string', 'binary') and not os.path.exists(filename): 59 this_dir = os.path.dirname(os.path.abspath(__file__)) 61 searchpath=os.path.join(this_dir, '..', 'data_files'))
|
D | test_config_script.py | 22 import os 30 return os.path.join(directory, 40 os.remove(filename) 47 if os.path.exists(directory): 50 os.makedirs(directory) 114 cmd = [os.path.abspath(options.script), 115 '-f', os.path.basename(data_filename)]
|
D | psa_collect_statuses.py | 19 import os 77 if not options.use_existing_log and os.path.exists(options.log_file): 78 os.remove(options.log_file) 79 if not os.path.exists(options.log_file): 84 with open(os.devnull, 'w') as devnull:
|
D | audit-validity-dates.py | 14 import os 268 return os.path.relpath(build_tree.guess_mbedtls_root() + '/tests') 277 test_data_glob = os.path.join(test_dir, 'data_files/**') 279 if os.path.isfile(f)] 343 suites_data_folder = os.path.join(test_dir, 'suites') 344 data_files = glob.glob(os.path.join(suites_data_folder, '*.data'))
|
D | set_psa_test_dependencies.py | 9 import os 146 if os.path.basename(file_name) == 'test_suite_psa_crypto_persistent_key.data' and \ 262 os.replace(file_name, backup) 263 os.replace(tmp, file_name)
|
D | generate_test_code.py | 154 import os 1186 if not os.path.exists(path): 1189 snippets = {'generator_script': os.path.basename(__file__)} 1253 data_file_name = os.path.basename(args.data_file) 1254 data_name = os.path.splitext(data_file_name)[0] 1256 out_c_file = os.path.join(args.out_dir, data_name + '.c') 1257 out_data_file = os.path.join(args.out_dir, data_name + '.datax') 1259 out_c_file_dir = os.path.dirname(out_c_file) 1260 out_data_file_dir = os.path.dirname(out_data_file) 1262 if not os.path.exists(directory): [all …]
|
/mbedtls-3.6.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers_no_static.c.jinja | 169 {% include "OS-template-transparent.jinja" -%} 183 {% include "OS-template-opaque.jinja" -%} 211 {% include "OS-template-opaque.jinja" -%}
|
/mbedtls-3.6.0/docs/architecture/ |
D | mbed-crypto-storage-specification.md | 19 Integrated in Mbed OS 5.11. 33 > On Mbed OS, if a device has a nonvolatile random seed file produced with Mbed OS 5.11.x and is up… 95 Integrated in Mbed OS 5.12. 174 Integrated in Mbed OS 5.13. 221 Integrated in Mbed OS TBD. 311 Integrated in Mbed OS TBD.
|
123