| /lib/mbedtls/external/mbedtls/programs/psa/ |
| A D | psa_constant_names_generated.c | 157 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 161 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 171 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 175 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 182 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 257 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 264 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 271 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 278 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() 285 append(&buffer, buffer_size, &required_size, in psa_snprint_algorithm() [all …]
|
| A D | psa_constant_names.c | 43 static void append(char **buffer, size_t buffer_size, in append() function 77 append(buffer, buffer_size, required_size, string, length); in append_with_curve() 78 append(buffer, buffer_size, required_size, "(", 1); in append_with_curve() 80 append(buffer, buffer_size, required_size, in append_with_curve() 86 append(buffer, buffer_size, required_size, ")", 1); in append_with_curve() 95 append(buffer, buffer_size, required_size, string, length); in append_with_group() 96 append(buffer, buffer_size, required_size, "(", 1); in append_with_group() 98 append(buffer, buffer_size, required_size, in append_with_group() 104 append(buffer, buffer_size, required_size, ")", 1); in append_with_group() 116 append(buffer, buffer_size, required_size, in append_with_alg()
|
| /lib/mbedtls/external/mbedtls/tests/scripts/ |
| A D | generate_pkcs7_tests.py | 63 tests.append(Test(lines[i], lines[i+1], lines[i+2])) 66 tests.append(Test(lines[i], None, lines[i+1])) 73 self.new_tests.append(Test(self.test_name + ": " + name + " #" + \ 99 mutations.append(["00"] + data) 100 reasons.append("Add null byte to start") 101 mutations.append(data + ["00"]) 102 reasons.append("Add null byte to end") 128 mutations.append(data[:tag_i] + [new_tag] + data[leng_i:]) 129 reasons.append("Change tag " + tag + " to " + new_tag) 138 reasons.append("Change length from " + str(length) + " to " \ [all …]
|
| A D | generate_tls13_compat_tests.py | 276 priority_string_list.append('SIGN-ALL') 283 priority_string_list.append('GROUP-ALL') 377 ret.append( 384 ret.append('requires_config_enabled PSA_WANT_ALG_ECDH') 387 ret.append('requires_config_enabled PSA_WANT_ALG_FFDH') 409 check_strings.append( 414 check_strings.append( 423 check_strings.append("Certificate verification was skipped") 456 check_strings.append( 461 check_strings.append( [all …]
|
| A D | check_names.py | 284 actual_macros[scope].append(macro) 341 exc_files.append(path) 343 inc_files.append(path) 393 macros.append(Match( 431 mbed_psa_words.append(Match( 487 enum_consts.append(Match( 622 identifiers.append(Match( 763 symbols.append(symbol.group("symbol")) 833 problems.append(SymbolNotInHeader(symbol)) 856 problems.append( [all …]
|
| A D | audit-validity-dates.py | 299 result.locations.append("{}#{}".format(filename, idx)) 300 results.append(result) 306 result.locations.append("{}".format(filename)) 307 results.append(result) 366 audit_data.locations.append("{}:{}:#{}".format(filename, 369 audit_data_list.append(audit_data)
|
| A D | generate_test_code.py | 491 args.append('int') 492 args_dispatch.append('((mbedtls_test_argument_t *) params[%d])->sint' % arg_idx) 495 args.append('char*') 496 args_dispatch.append('(char *) params[%d]' % arg_idx) 499 args.append('hex') 503 local_vars.append(' data_t data%d = {%s, %s};\n' % 505 args_dispatch.append('&data%d' % arg_idx) 892 unique_dependencies.append(dep) 933 unique_expressions.append(val)
|
| A D | test_psa_compliance.py | 117 expected_failures.append(test) 120 unexpected_failures.append(test)
|
| A D | depends.py | 340 self.jobs.append(job) 360 self.jobs.append(job) 477 failures.append(job.name) 481 successes.append(job.name)
|
| A D | scripts_path.py | 15 sys.path.append(os.path.join(os.path.dirname(__file__),
|
| A D | generate_psa_tests.py | 286 arguments.append(alg.expression) 288 arguments.append('1' if reason == self.Reason.PUBLIC else '0') 291 arguments.append('PSA_ERROR_' + error) 508 flags.append('TEST_FLAG_EXERCISE') 510 flags.append('TEST_FLAG_READ_ONLY') 795 alg_with_keys[alg].append(key_type)
|
| A D | run_demos.py | 29 failures.append(demo)
|
| A D | generate_test_cert_macros.py | 26 namespace.values.append((self.dest, macro_name, filename))
|
| A D | psa_collect_statuses.py | 48 fdata[value].append(tail)
|
| A D | test_psa_constant_names.py | 131 self.errors.append(self.Error(type=type_word,
|
| /lib/mbedtls/external/mbedtls/scripts/mbedtls_dev/ |
| A D | psa_information.py | 134 dependencies.append('DEPENDENCY_NOT_IMPLEMENTED_YET') 146 ret_list.append(re.sub(r'KEY_PAIR', r'KEY_PAIR_BASIC', dep)) 147 ret_list.append(re.sub(r'KEY_PAIR', r'KEY_PAIR_IMPORT', dep)) 148 ret_list.append(re.sub(r'KEY_PAIR', r'KEY_PAIR_EXPORT', dep)) 150 ret_list.append(re.sub(r'KEY_PAIR', r'KEY_PAIR_GENERATE', dep)) 153 ret_list.append(dep)
|
| A D | bignum_common.py | 140 self.dependencies.append("MBEDTLS_HAVE_INT{:d}".format(bits_in_limb)) 188 args.append(quote_str(self.arg_b))
|
| A D | psa_storage.py | 46 includes.append('drivers/builtin/include')
|
| /lib/efi_loader/ |
| A D | efi_variable.c | 279 bool append, delete; in efi_set_variable_int() local 290 append = !!(attributes & EFI_VARIABLE_APPEND_WRITE); in efi_set_variable_int() 291 delete = !append && (!data_size || !attributes); in efi_set_variable_int() 318 if (append && !data_size) in efi_set_variable_int() 370 } else if (append && var) { in efi_set_variable_int() 496 bool append, delete; in efi_set_variable_runtime() local 518 append = !!(attributes & EFI_VARIABLE_APPEND_WRITE); in efi_set_variable_runtime() 520 delete = !append && (!data_size || !attributes); in efi_set_variable_runtime() 539 if (append && !data_size) in efi_set_variable_runtime() 549 } else if (append && var) { in efi_set_variable_runtime()
|
| /lib/mbedtls/external/mbedtls/scripts/ |
| A D | generate_ssl_debug_helpers.py | 90 stack.append((directive, param, start, end)) 116 stack.append((directive, param, start, end)) 189 translation_table.append(line.strip()) 199 translation_table.append( 262 translation_table.append( 321 translation_table.append(' case {}:\n return "{}";'.format(name, iana_name))
|
| A D | code_size_compare.py | 216 pre_make_cmd.append('cp {src} {dest}' 218 pre_make_cmd.append('cp {src} {dest}' 229 cflags.append(self.opt_level) 233 cflags.append('-mcpu=cortex-m33') 236 cflags.append('--target=arm-arm-none-eabi') 245 self.make_cmd.append('CFLAGS=\'{}\''.format(self.infer_make_cflags())) 247 self.make_cmd.append('CC={}'.format(self.compiler)) 674 res.append([fname, *text_sect, *data_sect])
|
| A D | abi_check.py | 449 compatibility_report.append( 454 compatibility_report.append( 471 compatibility_report.append( 477 compatibility_report.append( 485 compatibility_report.append(
|
| A D | min_requirements.py | 59 self.requirements.append(self.adjust_requirement(line))
|
| /lib/lwip/lwip/src/netif/ppp/ |
| A D | multilink.c | 67 static void make_bundle_links (int append); 304 static void make_bundle_links(int append) in make_bundle_links() argument 315 if (append) { in make_bundle_links() 339 append? "update": "create"); in make_bundle_links()
|
| /lib/libfdt/ |
| A D | test_libfdt.py | 7 sys.path.append(os.path.join(our_path, '../../b/sandbox_spl/tools'))
|