Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 72) sorted by relevance

123

/mbedtls-latest/tests/scripts/
Dscripts_path.py15 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,
Dcheck_files.py58 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)
358 return os.path.basename(info.filename), info.lineno
506 if os.path.isfile(fp)]
510 return [fp if os.path.dirname(fp) else os.path.join(os.curdir, fp)
Dcheck_test_cases.py133 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)
Dcheck_names.py307 def is_file_excluded(self, path, exclude_wildcards): argument
312 if fnmatch.fnmatch(path, pattern):
339 for path in accumulator:
340 if self.is_file_excluded(path, exclude_wildcards):
341 exc_files.append(path)
343 inc_files.append(path)
364 return list(path for path in accumulator
365 if not self.is_file_excluded(path, exclude_wildcards))
Dtest_config_script.py30 return os.path.join(directory,
47 if os.path.exists(directory):
114 cmd = [os.path.abspath(options.script),
115 '-f', os.path.basename(data_filename)]
Daudit-validity-dates.py268 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'))
/mbedtls-latest/scripts/
Dgenerate_driver_wrappers.py47 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)
189 os.path.join(project_root,
[all …]
Dgenerate_visualc_files.pl133 my ($path) = @_;
135 my $guid = md5_hex( "mbedTLS:$path" );
142 my ($path, $template, $dir, $ext) = @_;
144 my $guid = gen_app_guid( $path );
145 $path =~ s!/!\\!g;
146 (my $appname = $path) =~ s/.*\\//;
147 my $is_test_app = ($path =~ m/^test\\/);
149 my $srcs = "<ClCompile Include=\"..\\..\\programs\\$path.c\" \/>";
218 for my $path (@app_names) {
219 my $guid = gen_app_guid( $path );
[all …]
Decp_comb_table.py149 return os.path.normpath(os.path.join(os.path.dirname(__file__), "..", *args))
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):
Dabi_check.py128 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"),
234 if os.path.exists(os.path.join(git_worktree_path, "crypto")):
245 version.modules[os.path.splitext(file)[0]] = (
246 os.path.join(root, file)
261 output_path = os.path.join(
297 full_path = os.path.join(directory, filename)
[all …]
Dframework_scripts_path.py15 sys.path.append(os.path.join(os.path.dirname(__file__),
16 os.path.pardir,
Dmin_requirements.py57 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__),
Dconfig.py381 os.path.join(os.path.dirname(__file__),
384 os.path.join(os.path.dirname(os.path.abspath(os.path.dirname(__file__))),
391 if os.path.lexists(candidate):
Dcode_size_compare.py315 git_worktree_path = os.path.join(self.repo_path,
757 self.csv_dir = os.path.abspath(self.result_options.record_dir)
759 self.comp_dir = os.path.abspath(self.result_options.comp_dir)
789 output_file = os.path.join(
796 os.path.exists(output_file):
827 output_file = os.path.join(
863 'required arguments to parse for running ' + os.path.basename(__file__))
870 'optional arguments to parse for running ' + os.path.basename(__file__))
916 if os.path.isfile(comp_args.record_dir):
920 if os.path.isfile(comp_args.comp_dir):
Dassemble_changelog.py422 if os.path.exists(output_file) and not os.path.isfile(output_file):
445 files_to_merge = glob.glob(os.path.join(options.dir, '*'))
448 readme = os.path.join(options.dir, "00README.md")
/mbedtls-latest/docs/proposed/
Dpsa-driver-integration-guide.md26 cd /path/to/mbedtls
27 make PSA_DRIVERS="/path/to/acme/driver.json /path/to/nadir/driver.json" lib
33 cd /path/to/application
34 …ld myapp.o -L/path/to/acme -lacmedriver -L/path/to/nadir -lnadirdriver -L/path/to/mbedtls -lmbedcr…
/mbedtls-latest/tests/suites/
Dtest_suite_entropy.function157 * to call mbedtls_entropy_free() unconditionally on an error path without
158 * checking whether it has already been called in the success path. */
175 void entropy_seed_file(char *path, int ret)
182 TEST_ASSERT(mbedtls_entropy_write_seed_file(&ctx, path) == ret);
183 TEST_ASSERT(mbedtls_entropy_update_seed_file(&ctx, path) == ret);
290 void entropy_source_fail(char *path)
310 TEST_ASSERT(mbedtls_entropy_write_seed_file(&ctx, path)
312 TEST_ASSERT(mbedtls_entropy_update_seed_file(&ctx, path)
315 ((void) path);
/mbedtls-latest/programs/util/
Dpem2der.c105 static int load_file(const char *path, unsigned char **buf, size_t *n) in load_file() argument
110 if ((f = fopen(path, "rb")) == NULL) { in load_file()
146 static int write_file(const char *path, unsigned char *buf, size_t n) in write_file() argument
150 if ((f = fopen(path, "wb")) == NULL) { in write_file()
/mbedtls-latest/pkgconfig/
DJoinPaths.cmake12 # Modelled after Python’s os.path.join
13 # https://docs.python.org/3.7/library/os.path.html#os.path.join
/mbedtls-latest/library/
Dhmac_drbg.c426 int mbedtls_hmac_drbg_write_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path) in mbedtls_hmac_drbg_write_seed_file() argument
432 if ((f = fopen(path, "wb")) == NULL) { in mbedtls_hmac_drbg_write_seed_file()
457 int mbedtls_hmac_drbg_update_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path) in mbedtls_hmac_drbg_update_seed_file() argument
465 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_hmac_drbg_update_seed_file()
494 return mbedtls_hmac_drbg_write_seed_file(ctx, path); in mbedtls_hmac_drbg_update_seed_file()
Dentropy.c406 int mbedtls_entropy_write_seed_file(mbedtls_entropy_context *ctx, const char *path) in mbedtls_entropy_write_seed_file() argument
417 if ((f = fopen(path, "wb")) == NULL) { in mbedtls_entropy_write_seed_file()
442 int mbedtls_entropy_update_seed_file(mbedtls_entropy_context *ctx, const char *path) in mbedtls_entropy_update_seed_file() argument
449 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_entropy_update_seed_file()
478 return mbedtls_entropy_write_seed_file(ctx, path); in mbedtls_entropy_update_seed_file()
Dctr_drbg.c721 const char *path) in mbedtls_ctr_drbg_write_seed_file() argument
727 if ((f = fopen(path, "wb")) == NULL) { in mbedtls_ctr_drbg_write_seed_file()
754 const char *path) in mbedtls_ctr_drbg_update_seed_file() argument
762 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_ctr_drbg_update_seed_file()
791 return mbedtls_ctr_drbg_write_seed_file(ctx, path); in mbedtls_ctr_drbg_update_seed_file()
/mbedtls-latest/include/mbedtls/
Dhmac_drbg.h400 int mbedtls_hmac_drbg_write_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path);
416 int mbedtls_hmac_drbg_update_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path);
Dentropy.h224 int mbedtls_entropy_write_seed_file(mbedtls_entropy_context *ctx, const char *path);
238 int mbedtls_entropy_update_seed_file(mbedtls_entropy_context *ctx, const char *path);
Dctr_drbg.h562 int mbedtls_ctr_drbg_write_seed_file(mbedtls_ctr_drbg_context *ctx, const char *path);
578 int mbedtls_ctr_drbg_update_seed_file(mbedtls_ctr_drbg_context *ctx, const char *path);

123