Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 60) sorted by relevance

123

/mbedtls-development/library/
A Dplatform.c101 const char * format, ... ) in platform_snprintf_uninit() argument
105 ((void) format); in platform_snprintf_uninit()
113 const char * format,
117 const char * format, in mbedtls_platform_set_snprintf() argument
156 const char * format, va_list arg ) in platform_vsnprintf_uninit() argument
160 ((void) format); in platform_vsnprintf_uninit()
169 const char * format,
173 const char * format, in mbedtls_platform_set_vsnprintf() argument
186 static int platform_printf_uninit( const char *format, ... ) in platform_printf_uninit() argument
188 ((void) format); in platform_printf_uninit()
[all …]
A Dmps_trace.c57 void mbedtls_mps_trace_print_msg( int id, int line, const char *format, ... ) in mbedtls_mps_trace_print_msg() argument
62 va_start( argp, format ); in mbedtls_mps_trace_print_msg()
63 ret = mbedtls_vsnprintf( str, MPS_TRACE_BUF_SIZE, format, argp ); in mbedtls_mps_trace_print_msg()
A Ddebug.c80 const char *format, ... ) in mbedtls_debug_print_msg() argument
94 va_start( argp, format ); in mbedtls_debug_print_msg()
95 ret = mbedtls_vsnprintf( str, DEBUG_BUF_SIZE, format, argp ); in mbedtls_debug_print_msg()
/mbedtls-development/tests/scripts/
A Dcheck_names.py88 gutter = format(self.line_no, "4d")
92 " {0} |\n".format(" " * len(gutter)) +
93 " {0} | {1}".format(gutter, self.line) +
94 " {0} | {1}\n".format(" " * len(gutter), underline)
147 return "{0}".format(self.symbol_name)
153 .format(self.symbol_name))
179 .format(
249 .format(str(self.excluded_files))
763 "Naming patterns of {}".format(group_to_check),
812 self.log.info("{}: FAIL\n".format(name))
[all …]
A Dtest_psa_constant_names.py65 caller='test_psa_constant_names.py for {} values'.format(type_word),
123 sys.stdout.write('{} {}\t{}\n'.format(type_word, value, output))
144 .format(error.type, error.expression,
146 out.write('{} test cases'.format(self.count))
148 out.write(', {} FAIL\n'.format(len(self.errors)))
A Dset_psa_test_dependencies.py214 .format(test_case_number, file_name))
217 .format(test_case_number, file_name))
239 .format(test_case_number, file_name))
288 .format(file_name))
A Dpsa_collect_statuses.py80 sys.stdout.write('{} {}\n'.format(function, name))
124 help='Log file location (default: {})'.format(
129 help='Path to psa_constant_names (default: {})'.format(
A Dcheck_test_cases.py40 format(file_name, line_number, *args))
46 .format(file_name, line_number, *args))
188 .format(sys.argv[0], results.errors, results.warnings))
A Dgenerate_test_code.py185 CONDITION_REGEX = r'({})(?:\s*({})\s*({}))?$'.format(C_IDENTIFIER_REGEX,
321 '''.format(name=name,
349 '''.format(preprocessor_check=preprocessor_check, name=name)
353 '''.format(name=name)
753 break;'''.format(_not=_not, _defined=_defined,
778 break;'''.format(exp_id=exp_id, expression=exp)
863 '''.format(preprocessor_check=preprocessor_check, code=dep_check_code)
868 '''.format(preprocessor_check=preprocessor_check, code=expression_code)
A Dtest_config_script.py42 '{}{}.{}'.format(OUTPUT_FILE_PREFIX,
134 status_file.write('{}\n'.format(status))
A Dlist_internal_identifiers.py52 identifiers = ["{}\n".format(match.name) for match in result]
/mbedtls-development/docs/architecture/
A Dmbed-crypto-storage-specification.md27 * [Nonvolatile random seed](#nonvolatile-random-seed-file-format-for-0.1.0) on ITS only.
47 ### Key file format for 0.1.0
62 ### Nonvolatile random seed file format for 0.1.0
117 ### Key file format for 1.0.0
121 ### Nonvolatile random seed file format for 1.0.0
123 [Identical to 0.1.0](#nonvolatile-random-seed-file-format-for-0.1.0).
172 ### Key file format for 1.1.0
174 The key file format is identical to [1.0.0](#key-file-format-for-1.0.0), except for the following c…
238 ### Key file format for TBD
258 ### Transaction file format for TBD
[all …]
/mbedtls-development/include/mbedtls/
A Dplatform.h161 extern int (*mbedtls_fprintf)( FILE *stream, const char *format, ... );
186 extern int (*mbedtls_printf)( const char *format, ... );
221 extern int (*mbedtls_snprintf)( char * s, size_t n, const char * format, ... );
232 const char * format, ... ) );
258 extern int (*mbedtls_vsnprintf)( char * s, size_t n, const char * format, va_list arg );
268 const char * format, va_list arg ) );
A Ddebug.h96 #if __has_attribute(format)
102 __attribute__((format(printf, string_index, first_to_check)))
170 const char *format, ... ) MBEDTLS_PRINTF_ATTRIBUTE(5, 6);
/mbedtls-development/scripts/
A Dabi_check.py88 raise Exception("{} not installed, aborting".format(command))
96 "Checking out git worktree for revision {} from {}".format(
109 self.log.debug("Checking out git worktree for revision {}".format(
125 self.log.debug("Commit is {}".format(version.commit))
186 return "{} ({})".format(version.revision, version.commit)
194 self.report_dir, "{}-{}-{}.dump".format(
270 self.report_dir, "{}-{}-{}.html".format(
285 "Compatibility issues found for {}".format(mbed_module)
294 "for details see {}".format(mbed_module, output_path)
298 "No compatibility issues for {}".format(mbed_module)
[all …]
A Dassemble_changelog.py48 message = '{}:{}: {}'.format(filename, line_number,
49 message.format(*args, **kwargs))
56 super().__init__('{}: {}'.format(line_offset, error_message))
60 message = ('Lost content from {}: "{}"'.format(filename, line))
211 categories = self.format.split_categories(text)
245 self.format = changelog_format
249 self.trailer) = self.format.extract_top_version(whole_file)
273 out.write(self.format.format_category(title, body))
A Dcode_size_compare.py106 csv_file.write("{}, {}\n".format(data[5], data[3]))
166 res_file.write("{}, {}, {}, {}, {:.2%}\n".format(fname, \
169 res_file.write("{}, {}\n".format(fname, this_size))
207 print("Error: {} is not a directory".format(comp_args.result_dir))
/mbedtls-development/scripts/mbedtls_dev/
A Dc_build_helper.py44 c_fd, c_name = tempfile.mkstemp(prefix='tmp-{}-'.format(file_label),
62 .format(printf_format, cast_to, expr))
78 .format(caller))
151 .format(caller, c_name))
A Dcrypto_knowledge.py129 .format(bits, self.expression))
133 .format(bits, self.expression))
/mbedtls-development/tests/suites/
A Dtest_suite_ecjpake.data37 ECJPAKE round one: KKP1: unknown first point format
52 ECJPAKE round one: KKP1: unknow second point format
85 ECJPAKE round one: KKP2: unknown first point format
100 ECJPAKE round one: KKP2: unknow second point format
151 ECJPAKE round two client: unknown first point format
166 ECJPAKE round two client: unknown second point format
205 ECJPAKE round two server: unknown first point format
220 ECJPAKE round two server: unknown second point format
A Dtest_suite_psa_crypto_storage_format.function156 /* Forward compatibility: save a key in the current format and
157 * check that it has the expected format so that future versions
181 /* This is the current storage format. Test that we know exactly how
201 /* Backward compatibility: read a key in the format of a past version
/mbedtls-development/docs/architecture/testing/
A Dpsa-storage-format-testing.md1 # Mbed TLS PSA keystore format stability testing strategy
15 The goal of storage format stability testing is: as a user of Mbed TLS, I want to store a key under…
23 …y is deterministic. Therefore we can ensure the stability of the storage format by creating test c…
33 ### Keeping up with storage format evolution
39 …old keys (which should only be done by retiring a version of the storage format), then we should k…
56format version. When the storage format changes, if backward compatibility is desired, old test da…
64 ### General key format
66 Objective: test the format of the key file: which field goes where and how big it is.
/mbedtls-development/programs/pkey/
A Dgen_key.c144 int format; /* the output format to use */ member
157 if( opt.format == FORMAT_PEM ) in write_private_key()
233 opt.format = DFL_FORMAT; in main()
255 opt.format = FORMAT_PEM; in main()
257 opt.format = FORMAT_DER; in main()
/mbedtls-development/
A D.pylintrc49 # * logging-format-interpolation: Pylint warns about things like
50 # ``log.info('...'.format(...))``. It insists on ``log.info('...', ...)``.
54 # Ubuntu 18.04) only recognize old-style format strings using '%',
66 disable=locally-disabled,locally-enabled,logging-format-interpolation,no-else-return,unnecessary-pa…
/mbedtls-development/ChangeLog.d/
A D00README.md29 ## Changelog entry file format
32 following format:
70 Include GitHub issue numbers where relevant. Use the format “#1234” for an

Completed in 24 milliseconds

123