/mbedtls-3.6.0/tests/scripts/ |
D | analyze_outcomes.py | 26 def log(fmt, *args, **kwargs): argument 27 sys.stderr.write((fmt + '\n').format(*args, **kwargs)) 29 def error(self, fmt, *args, **kwargs): argument 30 self.log('Error: ' + fmt, *args, **kwargs) 33 def warning(self, fmt, *args, **kwargs): argument 34 self.log('Warning: ' + fmt, *args, **kwargs) 132 def analyze_outcomes(outcomes, args): argument 135 analyze_coverage(results, outcomes, args['allow_list'], 136 args['full_coverage']) 160 def do_analyze_coverage(outcome_file, args): argument [all …]
|
D | generate_tls13_compat_tests.py | 582 args = parser.parse_args() 612 if args.generate_all_tls13_compat_tests: 613 if args.output: 614 with open(args.output, 'w', encoding="utf-8") as f: 616 filename=os.path.basename(args.output), cmd=' '.join(sys.argv))) 623 if args.list_ciphers or args.list_sig_algs or args.list_named_groups \ 624 or args.list_servers or args.list_clients: 625 if args.list_ciphers: 627 if args.list_sig_algs: 629 if args.list_named_groups: [all …]
|
D | generate_test_code.py | 338 args=', '.join(args_dispatch), 468 def parse_function_argument(arg, arg_idx, args, local_vars, args_dispatch): argument 491 args.append('int') 495 args.append('char*') 499 args.append('hex') 529 args = [] 535 args, local_vars, args_dispatch) 541 return args, ''.join(local_vars), args_dispatch 645 args, local_vars, args_dispatch = parse_function_arguments( 660 if len(args) == 0: [all …]
|
D | audit-validity-dates.py | 333 args = parts[1:] 334 yield args 411 args = parser.parse_args() 417 logger.setLevel(logging.DEBUG if args.verbose else logging.ERROR) 424 if args.data_files is None and args.suite_data_files is None: 428 if args.data_files is not None: 429 data_files = [x for l in args.data_files for x in l] 430 if args.suite_data_files is not None: 431 suite_data_files = [x for l in args.suite_data_files for x in l] 434 if args.start_date: [all …]
|
D | test_psa_compliance.py | 170 args = parser.parse_args() variable 172 if args.build_dir is not None: 173 BUILD_DIR = args.build_dir[0]
|
D | test_generate_test_code.py | 473 args, local, arg_dispatch = parse_function_arguments(line) 474 self.assertEqual(args, ['char*', 'int', 'int']) 487 args, local, arg_dispatch = parse_function_arguments(line) 488 self.assertEqual(args, ['char*', 'hex', 'int']) 510 args, local, arg_dispatch = parse_function_arguments(line) 511 self.assertEqual(args, []) 521 args, local, arg_dispatch = parse_function_arguments(line) 522 self.assertEqual(args, []) 532 args, local, arg_dispatch = parse_function_arguments(line) 533 self.assertEqual(args, []) [all …]
|
D | check_test_cases.py | 27 def error(self, file_name, line_number, fmt, *args): argument 29 format(file_name, line_number, *args)) 32 def warning(self, file_name, line_number, fmt, *args): argument 35 .format(file_name, line_number, *args))
|
D | test_config_script.py | 87 def run_one(options, args, stem_prefix='', input_file=None): argument 105 stem = stem_prefix + '-'.join(args) 118 status = subprocess.call(cmd + args,
|
D | generate_test_cert_macros.py | 52 args = parser.parse_args() 53 return generate(**vars(args))
|
D | set_psa_test_dependencies.py | 279 def main(args): argument 280 for file_name in args:
|
D | check_names.py | 945 args = parser.parse_args() 949 log.setLevel(logging.DEBUG if args.verbose else logging.INFO) 960 return_code = name_checker.perform_checks(quiet=args.quiet)
|
/mbedtls-3.6.0/scripts/mbedtls_dev/ |
D | ecp.py | 91 args = super().arguments() 92 return ["MBEDTLS_ECP_DP_SECP192R1"] + args 170 args = super().arguments() 171 return ["MBEDTLS_ECP_DP_SECP224R1"] + args 255 args = super().arguments() 256 return ["MBEDTLS_ECP_DP_SECP256R1"] + args 378 args = super().arguments() 379 return ["MBEDTLS_ECP_DP_SECP384R1"] + args 484 args = super().arguments() 485 return ["MBEDTLS_ECP_DP_SECP521R1"] + args [all …]
|
D | bignum_common.py | 186 args = [quote_str(self.arg_a)] 188 args.append(quote_str(self.arg_b)) 189 return args + self.result() 254 special_cases = (cls(*args, bits_in_limb=bil) # type: ignore 255 for args in cls.input_cases 260 special_cases = (cls(*args) for args in cls.input_cases) 394 special_cases = (cls(*args, bits_in_limb=bil) 395 for args in cls.input_cases_args() 401 special_cases = (cls(*args) for args in cls.input_cases_args())
|
D | test_data_generation.py | 49 def __new__(cls, *args, **kwargs): argument 179 def main(args, description: str, generator_class: Type[TestGenerator] = TestGenerator): argument 194 options = parser.parse_args(args)
|
D | psa_storage.py | 126 *args: Union[int, Expr] 139 for arg in args])
|
/mbedtls-3.6.0/scripts/ |
D | config.py | 544 args = parser.parse_args() 545 config = ConfigFile(args.file) 546 if args.command is None: 549 elif args.command == 'get': 550 if args.symbol in config: 551 value = config[args.symbol] 554 return 0 if args.symbol in config else 1 555 elif args.command == 'set': 556 if not args.force and args.symbol not in config.settings: 559 .format(args.symbol, config.filename)) [all …]
|
D | code_style.py | 21 def print_err(*args): argument 22 print("Error: ", *args, file=sys.stderr) 129 raise subprocess.CalledProcessError(cp.returncode, cp.args, 198 args = parser.parse_args() 200 covered = frozenset(get_src_files(args.since)) 202 if args.subset or args.operands: 203 src_files = [f for f in args.operands if f in covered] 204 skip_src_files = [f for f in args.operands if f not in covered] 210 if args.fix:
|
D | ecp_comb_table.py | 148 def join_src_path(*args): argument 149 return os.path.normpath(os.path.join(os.path.dirname(__file__), "..", *args)) 164 args = [CC, 172 p = subprocess.run(args=args, check=False) 175 p = subprocess.run(args=[binname], check=False, env={
|
D | generate_driver_wrappers.py | 177 args = parser.parse_args() 179 mbedtls_root = os.path.abspath(args.mbedtls_root) 181 output_directory = args.output_directory if args.output_directory is not None else \ 183 template_directory = args.template_dir if args.template_dir is not None else \ 188 json_directory = args.json_dir if args.json_dir is not None else \
|
D | generate_ssl_debug_helpers.py | 407 args = parser.parse_args() 409 generate_ssl_debug_helpers(args.output_directory, args.mbedtls_root)
|
/mbedtls-3.6.0/programs/ssl/ |
D | ssl_context_info.c | 146 va_list args; in printf_dbg() local 147 va_start(args, str); in printf_dbg() 149 vprintf(str, args); in printf_dbg() 151 va_end(args); in printf_dbg() 158 va_list args; in printf_err() local 159 va_start(args, str); in printf_err() 162 vfprintf(stderr, str, args); in printf_err() 164 va_end(args); in printf_err()
|
/mbedtls-3.6.0/include/mbedtls/ |
D | debug.h | 25 #define MBEDTLS_SSL_DEBUG_MSG(level, args) \ argument 27 MBEDTLS_DEBUG_STRIP_PARENS args) 61 #define MBEDTLS_SSL_DEBUG_MSG(level, args) do { } while (0) argument
|
/mbedtls-3.6.0/tests/src/test_helpers/ |
D | ssl_helpers.c | 106 mbedtls_ssl_chk_buf_ptr_args *args, in set_chk_buf_ptr_args() argument 109 args->cur = cur; in set_chk_buf_ptr_args() 110 args->end = end; in set_chk_buf_ptr_args() 111 args->need = need; in set_chk_buf_ptr_args() 114 static void reset_chk_buf_ptr_args(mbedtls_ssl_chk_buf_ptr_args *args) in reset_chk_buf_ptr_args() argument 116 memset(args, 0, sizeof(*args)); in reset_chk_buf_ptr_args() 2190 int *expected_result, mbedtls_ssl_chk_buf_ptr_args *args) in mbedtls_test_tweak_tls13_certificate_msg_vector_len() argument 2233 set_chk_buf_ptr_args(args, buf, *end, 4); in mbedtls_test_tweak_tls13_certificate_msg_vector_len() 2241 reset_chk_buf_ptr_args(args); in mbedtls_test_tweak_tls13_certificate_msg_vector_len() 2248 set_chk_buf_ptr_args(args, certificate_list, *end, in mbedtls_test_tweak_tls13_certificate_msg_vector_len() [all …]
|
/mbedtls-3.6.0/library/ |
D | chacha20.c | 447 #define ASSERT(cond, args) \ argument 453 mbedtls_printf args; \
|
D | chachapoly.c | 414 #define ASSERT(cond, args) \ argument 420 mbedtls_printf args; \
|