Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 32) sorted by relevance

12

/mbedtls-3.6.0/programs/psa/
Dpsa_constant_names_generated.c95 …case PSA_KEY_TYPE_AES: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_AES", 16); break; in psa_snprint_key_type()
96 …case PSA_KEY_TYPE_ARIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_ARIA", 17); bre… in psa_snprint_key_type()
97 …case PSA_KEY_TYPE_CAMELLIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CAMELLIA", … in psa_snprint_key_type()
98 …case PSA_KEY_TYPE_CATEGORY_FLAG_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_C… in psa_snprint_key_type()
99 …case PSA_KEY_TYPE_CATEGORY_KEY_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CA… in psa_snprint_key_type()
100 …case PSA_KEY_TYPE_CATEGORY_PUBLIC_KEY: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_… in psa_snprint_key_type()
101 …case PSA_KEY_TYPE_CATEGORY_RAW: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGOR… in psa_snprint_key_type()
102 …case PSA_KEY_TYPE_CATEGORY_SYMMETRIC: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_C… in psa_snprint_key_type()
103 …case PSA_KEY_TYPE_CHACHA20: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CHACHA20", … in psa_snprint_key_type()
104 …case PSA_KEY_TYPE_DERIVE: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_DERIVE", 19);… in psa_snprint_key_type()
[all …]
Dpsa_constant_names.c43 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()
/mbedtls-3.6.0/tests/scripts/
Dgenerate_pkcs7_tests.py63 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)
137 mutations.append(data[:data_i -1] + [new_length] + data[data_i:])
[all …]
Dgenerate_tls13_compat_tests.py276 priority_string_list.append('SIGN-ALL')
283 priority_string_list.append('GROUP-ALL')
364 ret.append(
371 ret.append('requires_config_enabled PSA_WANT_ALG_ECDH')
374 ret.append('requires_config_enabled PSA_WANT_ALG_FFDH')
395 check_strings.append(
400 check_strings.append(
409 check_strings.append("Certificate verification was skipped")
442 check_strings.append(
447 check_strings.append(
[all …]
Dcheck_names.py284 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))
853 problems.append(PatternMismatch(check_pattern, item_match))
[all …]
Daudit-validity-dates.py299 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)
Dgenerate_test_code.py491 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)
Dtest_psa_compliance.py133 expected_failures.append(test)
136 unexpected_failures.append(test)
Ddepends.py337 self.jobs.append(job)
357 self.jobs.append(job)
474 failures.append(job.name)
478 successes.append(job.name)
Dgenerate_psa_tests.py286 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)
Dscripts_path.py15 sys.path.append(os.path.join(os.path.dirname(__file__),
Danalyze_outcomes.py155 outcomes[key].successes.append(setup)
157 outcomes[key].failures.append(setup)
Dgenerate_test_cert_macros.py26 namespace.values.append((self.dest, macro_name, filename))
Dpsa_collect_statuses.py48 fdata[value].append(tail)
Dtest_psa_constant_names.py131 self.errors.append(self.Error(type=type_word,
Dcheck_files.py90 self.files_with_issues[filepath].append(line_number)
/mbedtls-3.6.0/scripts/mbedtls_dev/
Dpsa_information.py124 dependencies.append('DEPENDENCY_NOT_IMPLEMENTED_YET')
136 ret_list.append(re.sub(r'KEY_PAIR', r'KEY_PAIR_BASIC', dep))
137 ret_list.append(re.sub(r'KEY_PAIR', r'KEY_PAIR_IMPORT', dep))
138 ret_list.append(re.sub(r'KEY_PAIR', r'KEY_PAIR_EXPORT', dep))
140 ret_list.append(re.sub(r'KEY_PAIR', r'KEY_PAIR_GENERATE', dep))
143 ret_list.append(dep)
Dbignum_common.py140 self.dependencies.append("MBEDTLS_HAVE_INT{:d}".format(bits_in_limb))
188 args.append(quote_str(self.arg_b))
Dpsa_storage.py46 includes.append('drivers/builtin/include')
/mbedtls-3.6.0/scripts/
Dgenerate_ssl_debug_helpers.py90 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))
Dcode_size_compare.py216 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])
Dabi_check.py449 compatibility_report.append(
454 compatibility_report.append(
471 compatibility_report.append(
477 compatibility_report.append(
485 compatibility_report.append(
Dmin_requirements.py59 self.requirements.append(self.adjust_requirement(line))
/mbedtls-3.6.0/
D.pylintrc2 init-hook='import sys; sys.path.append("scripts")'
/mbedtls-3.6.0/docs/architecture/testing/
Dtest-framework.md17 …` file. If you can't think of a better description, the convention is to append `#1`, `#2`, etc. <…

12