/mbedtls-3.7.0/scripts/mbedtls_dev/ |
D | macro_collector.py | 14 def __init__(self, filename: str, line_number: Union[int, str]) -> None: argument 40 def __init__(self, filename: str, binary: bool = False) -> None: 112 def is_internal_name(self, name: str) -> bool: 139 def _format_arguments(name: str, arguments: Iterable[str]) -> str: 149 def _argument_split(cls, arguments: str) -> List[str]: 152 def distribute_arguments(self, name: str) -> Iterator[str]: 183 self, seen: Set[str], name: str 191 def generate_expressions(self, names: Iterable[str]) -> Iterator[str]: 229 def algorithm_tester(name: str) -> str: 249 def record_algorithm_subtype(self, name: str, expansion: str) -> None: [all …]
|
D | c_parsing_helper.py | 34 def normalize_type(cls, typ: str) -> str: 40 def __init__(self, decl: str) -> None: 58 filename: str, 60 qualifiers: Iterable[str], 61 return_type: str, 62 name: str, 63 arguments: List[str]) -> None: 82 def read_logical_lines(filename: str) -> Iterator[Tuple[int, str]]: 113 def read_function_declarations(functions: Dict[str, FunctionInfo], 114 filename: str) -> None:
|
D | psa_information.py | 45 def psa_want_symbol(name: str) -> str: 52 def finish_family_dependency(dep: str, bits: int) -> str: 61 def finish_family_dependencies(dependencies: List[str], bits: int) -> List[str]: 76 def automatic_dependencies(*expressions: str) -> List[str]: 105 description: str 121 def read_implemented_dependencies(filename: str) -> FrozenSet[str]: 126 def hack_dependencies_not_implemented(dependencies: List[str]) -> None: 136 def tweak_key_pair_dependency(dep: str, usage: str): 156 def fix_key_pair_dependencies(dep_list: List[str], usage: str):
|
D | build_tree.py | 12 def looks_like_tf_psa_crypto_root(path: str) -> bool: 17 def looks_like_mbedtls_root(path: str) -> bool: 22 def looks_like_root(path: str) -> bool: 25 def crypto_core_directory(root: Optional[str] = None, relative: Optional[bool] = False) -> str: 46 def crypto_library_filename(root: Optional[str] = None) -> str: 96 def guess_mbedtls_root(root: Optional[str] = None) -> str: 109 def guess_tf_psa_crypto_root(root: Optional[str] = None) -> str:
|
D | test_case.py | 28 def __init__(self, description: Optional[str] = None): 35 def add_comment(self, *lines: str) -> None: 38 def set_description(self, description: str) -> None: 41 def set_dependencies(self, dependencies: List[str]) -> None: 44 def set_function(self, function: str) -> None: 47 def set_arguments(self, arguments: List[str]) -> None: 75 def write_data_file(filename: str, 77 caller: Optional[str] = None) -> None:
|
D | c_wrapper_generator.py | 21 def c_declare(prefix: str, name: str, suffix: str) -> str: 105 def _wrapper_function_name(self, original_name: str) -> str: 116 wrapper_name: str) -> str: 128 function_name: str, 141 function_name: str, 142 num: int, name: str, 163 argument_names: List[str]) -> None: 195 argument_names: List[str]) -> None: 322 def write_c_file(self, filename: str) -> None: 330 def _header_guard_from_file_name(self, filename: str) -> str: [all …]
|
D | crypto_data_tests.py | 18 def psa_low_level_dependencies(*expressions: str) -> List[str]: 69 function: str, note: str, 70 arguments: List[str]) -> test_case.TestCase:
|
D | crypto_knowledge.py | 17 def short_expression(original: str, level: int = 0) -> str: 59 def from_family(family: str) -> 'EllipticCurveCategory': 71 def __init__(self, name: str, params: Optional[Iterable[str]] = None) -> None: 292 def __init__(self, expr: str) -> None: 301 def determine_base(expr: str) -> str: 317 def determine_head(expr: str) -> str: 372 def determine_category(self, expr: str, head: str) -> AlgorithmCategory: 399 def __init__(self, expr: str) -> None: 460 def hash_length(cls, alg: str) -> int: 480 def permitted_truncations(cls, base: str) -> FrozenSet[int]:
|
D | bignum_common.py | 39 def hex_to_int(val: str) -> int: 48 def quote_str(val: str) -> str: 78 def hex_digits_max_int(val: str, bits_in_limb: int) -> int: 87 def zfill_match(reference: str, target: str) -> str: 129 def __init__(self, val_a: str, val_b: str = "0", bits_in_limb: int = 32) -> None: 163 def format_arg(self, val: str) -> str: 293 def __init__(self, val_n: str, val_a: str, val_b: str = "0", 334 def format_arg(self, val: str) -> str:
|
D | test_data_generation.py | 153 def filename_for(self, basename: str) -> str: 157 def write_test_data_file(self, basename: str, 170 def generate_target(self, name: str, *target_args) -> None: 179 def main(args, description: str, generator_class: Type[TestGenerator] = TestGenerator):
|
D | bignum_core.py | 40 def __init__(self, input_hex: str, descr: str, count: int) -> None: 139 bitsize: int, descr: str, window_size: int) -> None: 232 def __init__(self, val_a: str, val_b: str, val_s: str) -> None: 297 def format_arg(self, val: str) -> str: 656 self, val_a: str, val_b: str, val_n: str, case_description: str = ""
|
D | psa_storage.py | 25 def __init__(self, content: Union[int, str]): argument 59 def normalize(string: str) -> str: 125 fmt: str,
|
D | typing_util.py | 27 def write(self, text: str) -> Any:
|
D | asymmetric_key_data.py | 16 def unhexlify(text: str) -> bytes:
|
/mbedtls-3.7.0/scripts/ |
D | code_size_compare.py | 55 version: str, 56 git_rev: str, 57 arch: str, 58 config: str, 59 compiler: str, 60 opt_level: str, 90 host_arch: str, 91 measure_cmd: str, 109 record_dir: str, 110 comp_dir: str, [all …]
|
D | generate_driver_wrappers.py | 40 def render(template_path: str, driver_jsoncontext: list) -> str: 51 def generate_driver_wrapper_file(template_dir: str, 52 output_dir: str, 53 template_file_name: str, 100 def load_driver(schemas: Dict[str, Any], driver_file: str) -> Any: 111 def load_schemas(project_root: str) -> Dict[str, Any]: 134 def read_driver_descriptions(project_root: str, 135 json_directory: str, 136 jsondriver_list: str) -> list:
|
D | min_requirements.py | 31 def adjust_requirement(self, req: str) -> str: 39 def add_file(self, filename: str) -> None: 68 pip_general_options: Optional[List[str]] = None, 69 pip_install_options: Optional[List[str]] = None,
|
D | code_style.py | 61 def get_src_files(since: Optional[str]) -> List[str]: 112 def check_style_is_correct(src_file_list: List[str]) -> bool: 145 def fix_style_single_pass(src_file_list: List[str]) -> bool: 160 def fix_style(src_file_list: List[str]) -> int:
|
/mbedtls-3.7.0/tests/scripts/ |
D | test_psa_constant_names.py | 26 def gather_inputs(headers: Iterable[str], 27 test_suites: Iterable[str], 39 def run_c(type_word: str, 40 expressions: Iterable[str], 41 include_path: Optional[str] = None, 61 def normalize(expr: str) -> str: 73 def is_simplifiable(expr: str) -> bool: 85 type_word: str, 86 include_path: Optional[str] = None, 112 def run_one(self, inputs: InputsForTest, type_word: str) -> None:
|
D | generate_psa_tests.py | 28 verb: str, key_type: str, bits: int, 29 dependencies: List[str], 30 *args: str, 31 param_descr: str = '' 66 param_descr: str = '', 144 key_type: str, bits: int, 145 dependencies: List[str], 146 *args: str, 147 result: str = '' 252 not_deps: FrozenSet[str] = frozenset(), [all …]
|
D | generate_psa_wrappers.py | 29 buffer_name: str, size_name: str) -> None: 100 argument_names: List[str]) -> Iterator[BufferParameter]: 141 def _parameter_should_be_copied(function_name: str, 142 _buffer_name: Optional[str]) -> bool: 156 argument_names: List[str]) -> None: 191 def __init__(self, stream: str) -> None: 211 def _printf_parameters(self, typ: str, var: str) -> Tuple[str, List[str]]:
|
D | analyze_outcomes.py | 70 def execute_reference_driver_tests(results: Results, ref_component: str, driver_component: str, \ 71 outcome_file: str) -> None: 86 allow_list: typing.List[str], full_coverage: bool) -> None: 106 def name_matches_pattern(name: str, str_or_re) -> bool: 119 component_ref: str, component_driver: str, 120 ignored_suites: typing.List[str], ignored_tests=None) -> None: 167 def read_outcome_file(outcome_file: str) -> Outcomes:
|
D | audit-validity-dates.py | 156 def check_hex_string(hex_str: str) -> bool: 221 def parse_file(self, filename: str) -> typing.List[AuditData]: 244 results: typing.Dict[str, AuditData], 245 file_list: typing.Optional[typing.List[str]] = None) \ 282 def parse_file(self, filename: str) -> typing.List[AuditData]: 347 def parse_file(self, filename: str):
|
/mbedtls-3.7.0/library/ |
D | debug.c | 36 const char *str) in debug_send_line() 58 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_msg() local 91 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_ret() local 119 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_buf() local 175 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_ecp() local 197 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_ec_coord() local 237 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_psa_ec() local 269 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_mpi() local 363 char str[DEBUG_BUF_SIZE]; in debug_print_line_by_line() local 388 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_crt() local
|
/mbedtls-3.7.0/programs/hash/ |
D | hello.c | 29 char str[] = "Hello, world!"; in main() local
|