Searched full:os (Results 1 – 25 of 55) sorted by relevance
123
/mbedtls-latest/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, 18 sys.path.append(os.path.join(os.path.dirname(__file__), 19 os.path.pardir, os.path.pardir,
|
D | test_psa_compliance.py | 14 import os 37 root_dir = os.getcwd() 48 if not os.path.exists(crypto_lib_filename): 59 os.makedirs(psa_arch_tests_dir, exist_ok=True) 61 os.chdir(psa_arch_tests_dir) 73 os.mkdir(build_dir) 74 os.chdir(build_dir) 145 os.chdir(root_dir)
|
D | check_files.py | 17 import os 58 filepath = os.path.normpath(filepath) 61 seps = os.path.sep 62 if os.path.altsep is not None: 63 seps += os.path.altsep 151 _root, ext = os.path.splitext(filepath) 190 is_executable = os.access(filepath, os.X_OK) 358 return os.path.basename(info.filename), info.lineno 414 # Use endswith() rather than the more correct os.path.basename() 506 if os.path.isfile(fp)] [all …]
|
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 | check_test_cases.py | 14 import os 133 if os.path.isdir('tests'): 135 elif os.path.isdir('suites'): 137 elif os.path.isdir('../suites'): 146 for data_file_name in glob.glob(os.path.join(directory, 'suites', 151 sh_file = os.path.join(directory, sh_file)
|
D | components-compiler.sh | 21 …armc6_build_test "--target=arm-arm-none-eabi -march=armv7-m -mthumb -Os -std=c99 -Werror -Wall -We… 44 test_build_opt 'full config' clang -O0 -Os -O2 50 test_build_opt 'full config' "$CLANG_LATEST" -O0 -Os -O2 68 test_build_opt 'full config' "$GCC_LATEST" -O0 -Os -O2 134 for optimization_flag in -O2 -O3 -Ofast -Os; do
|
D | audit-validity-dates.py | 14 import os 268 return os.path.relpath(build_tree.guess_mbedtls_root() + '/tests') 276 test_data_glob = os.path.join(build_tree.guess_mbedtls_root(), 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 | components-platform.sh | 390 …ONE_EABI_GCC_PREFIX}ld" CFLAGS='-std=c99 -Werror -Wall -Wextra -mthumb -mcpu=cortex-m0plus -Os' lib 392 msg "size: ${ARM_NONE_EABI_GCC_PREFIX}gcc -mthumb -mcpu=cortex-m0plus -Os, baremetal_size" 425 …make CC="clang" CFLAGS='-std=c99 -Werror -Os --target=arm-linux-gnueabihf -march=armv7-m -mthumb' … 427 # Some Thumb 1 asm is sensitive to optimisation level, so test both -O0 and -Os 432 msg "build: clang thumb 1 -Os, make" 434 …make CC="clang" CFLAGS='-std=c99 -Werror -Os --target=arm-linux-gnueabihf -mcpu=arm1136j-s -mthumb… 482 armc6_build_test "-Os --target=arm-arm-none-eabi -mcpu=cortex-m0"
|
D | components-configuration.sh | 290 …make lib CC="clang" CFLAGS="--target=arm-linux-gnueabihf -march=armv7-m -mthumb -Os -std=c99 -Werr… 294 …make lib CC="gcc" CFLAGS="-Os -std=c99 -Werror -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wsha… 312 make CC=gcc CFLAGS='-Werror -Wall -Wextra -std=c99 -pedantic -Os -D_DEFAULT_SOURCE' lib programs 313 make CC=gcc CFLAGS='-Werror -Wall -Wextra -Os' test 393 make CFLAGS='-Werror -Os'
|
/mbedtls-latest/scripts/ |
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 | generate_driver_wrappers.py | 13 import os 47 loader=jinja2.FileSystemLoader(os.path.dirname(template_path)), 49 template = environment.get_template(os.path.basename(template_path)) 61 os.path.join(template_dir, template_file_name) 65 with open(file=os.path.join(output_dir, os.path.splitext(template_file_name)[0]), 118 'transparent': os.path.join(project_root, 123 'opaque': os.path.join(project_root, 144 with open(file=os.path.join(json_directory, jsondriver_list), 150 driver_file=os.path.join(json_directory, driver_file_name)) 181 project_root = os.path.abspath(args.project_root) [all …]
|
D | abi_check.py | 90 import os 128 self.report_dir = os.path.abspath(configuration.report_dir) 130 self.can_remove_report_dir = not (os.path.exists(self.report_dir) or 206 if not (os.path.exists(os.path.join(git_worktree_path, "crypto")) 214 cwd=os.path.join(git_worktree_path, "crypto"), 224 cwd=os.path.join(git_worktree_path, "crypto"), 231 my_environment = os.environ.copy() 234 if os.path.exists(os.path.join(git_worktree_path, "crypto")): 243 for root, _dirs, files in os.walk(git_worktree_path): 245 version.modules[os.path.splitext(file)[0]] = ( [all …]
|
D | min_requirements.py | 9 import os 57 nested_file = os.path.join(os.path.dirname(filename), 85 req_file_name = os.path.join(temp_dir, 'requirements.txt') 118 options.files = [os.path.join(os.path.dirname(__file__),
|
D | framework_scripts_path.py | 12 import os 15 sys.path.append(os.path.join(os.path.dirname(__file__), 16 os.path.pardir,
|
D | config.py | 19 import os 273 'MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT', # requires an OS for runtime-detection 274 'MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT', # requires an OS for runtime-detection 275 'MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT', # requires an OS for runtime-detection 289 # No OS-provided entropy source 381 os.path.join(os.path.dirname(__file__), 382 os.pardir, 384 os.path.join(os.path.dirname(os.path.abspath(os.path.dirname(__file__))), 391 if os.path.lexists(candidate):
|
D | code_size_compare.py | 16 import os 70 :param: opt_level: Options that control optimization. (E.g. -Os) 184 (E.g. -Os) 315 git_worktree_path = os.path.join(self.repo_path, 340 my_environment = os.environ.copy() 757 self.csv_dir = os.path.abspath(self.result_options.record_dir) 758 os.makedirs(self.csv_dir, exist_ok=True) 759 self.comp_dir = os.path.abspath(self.result_options.comp_dir) 760 os.makedirs(self.comp_dir, exist_ok=True) 789 output_file = os.path.join( [all …]
|
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 | assemble_changelog.py | 29 import os 358 mtime = os.stat(filename).st_mtime 422 if os.path.exists(output_file) and not os.path.isfile(output_file): 432 os.rename(output_temp, output_file) 436 os.remove(filename) 445 files_to_merge = glob.glob(os.path.join(options.dir, '*')) 448 readme = os.path.join(options.dir, "00README.md")
|
D | generate_ssl_debug_helpers.py | 14 import os 371 mbedtls_root = os.path.abspath( 373 with open(os.path.join(mbedtls_root, 'include/mbedtls/ssl.h')) as f: 394 with open(os.path.join(output_directory, 'ssl_debug_helpers_generated.c'), 'w') as f:
|
/mbedtls-latest/pkgconfig/ |
D | JoinPaths.cmake | 12 # Modelled after Python’s os.path.join 13 # https://docs.python.org/3.7/library/os.path.html#os.path.join
|
/mbedtls-latest/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.
|
/mbedtls-latest/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-latest/3rdparty/p256-m/p256-m/ |
D | README.md | 127 with `-mthumb -Os`, here are samples of code sizes reached on selected cores: 169 - Cortex-M0 at 48 MHz: STM32F091 board running Mbed OS 6 170 - Cortex-M4 at 100 MHz: STM32F411 board running Mbed OS 6 240 _Cortex-M0_ at 48 MHz: STM32F091 board running Mbed OS 6 250 _Cortex-M4_ at 100 MHz: STM32F411 board running Mbed OS 6 290 than TinyCrypt against powerful local attackers (such as an untrusted OS
|
123