zephyr/scripts
Valerio Setti e58ebe12f4 mbedtls: add configuration file for PSA features
Adding a Kconfig and a header file to control which PSA features
are to be used from MbedTLS:

- new kconfig symbols are placed in a separate header file
  (Kconfig.psa) and are guarded by MBEDTLS_PSA_CRYPTO_CLIENT. The
  reason for this is that TLS/X509 can either rely on PSA functions
  provided by MbedTLS (when MBEDTLS_PSA_CRYPTO_C is defined) or
  TFM (when BUILD_WITH_TFM is selected). Therefore we could
  not make these new Kconfigs depending on MBEDTLS_PSA_CRYPTO_C.

- by default all PSA symbols are enabled, but they can be
  disabled by respective Kconfigs in order to reduce the image
  size.

- the new header file (config-psa-generic.h) mimics what
  config-tls-generic.h does for MbedTLS builtin symbols: it
  enables a build symbol for every Kconfig one. The name is
  kept identical in the 2 cases (a part from the initial CONFIG_
  in order to simplify the mechanism).

- MBEDTLS_PSA_CRYPTO_CONFIG is finally enabled whenever there
  is any PSA crypto provider (either MBEDTLS_PSA_CRYPTO_C or
  TFM)

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2024-05-23 11:53:02 -04:00
..
build debug: implement symtab generation 2024-05-23 11:52:08 -04:00
checkpatch kernel/timeout: introduce the timepoint API 2023-07-25 09:12:26 +02:00
ci mbedtls: add configuration file for PSA features 2024-05-23 11:53:02 -04:00
coccinelle scripts: coccinelle: Remove strtok_r symbol from checklist 2023-08-23 16:05:08 +01:00
coredump arch: riscv: update coredump for 64BIT RISCV 2024-04-13 07:03:23 -04:00
dts devicetree: Add DT/DT_INST_CHILD_NUM and DT/DT_INST_CHILD_NUM_STATUS_OKAY 2024-05-03 11:18:43 +02:00
footprint scripts: size_report: Fix tree build for symbol copies 2024-05-13 16:04:59 -04:00
generate_usb_vif USB-C: genVIF: Cleanup and add support to pick static data from input 2023-05-26 13:54:43 -04:00
gitlint gitlint: do not allow treewide as an area in commit messages 2024-04-10 09:22:24 +02:00
kconfig Bluetooth: Remove legacy debug symbols 2024-05-07 09:49:27 +02:00
logging/dictionary scripts: logging: support native_posix dictionary logging 2024-04-12 11:54:18 +02:00
native_simulator native_simulator: Rework fuzzing support 2024-05-02 20:46:03 +03:00
net tests|scripts/net: Change native_posix references to native_sim 2024-03-20 15:43:05 +01:00
pylib twister: fix serial connection for flash_before 2024-05-22 21:39:13 -04:00
pylint/checkers scripts: pylint: Add argument parser abbreviation checker 2023-01-26 20:12:36 +09:00
release scripts: drop list_issues.py 2023-07-25 16:45:15 +02:00
schemas scripts: twister: Remove harness repeat field 2024-04-30 18:23:23 +02:00
support treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
tests scripts: twister: Fix Unit Tests on Windows systems 2024-05-15 17:08:06 +02:00
tracing tracing: scripts: Fix spelling 2023-02-08 01:09:31 +09:00
utils hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
west_commands scripts: west: commands: build: fix pylint issue 2024-05-21 16:47:24 -04:00
.gitignore
checkpatch.pl scripts/checkpatch: Improve blank line check after declarations 2024-04-19 17:03:49 +00:00
checkstack.pl
coccicheck
dump_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_gcov_files.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
get_maintainer.py MAINTAINERS: add 2 new keys: tags, tests 2023-12-22 09:54:12 +01:00
github_helpers.py
list_boards.py scripts: Loader change 2024-05-07 09:38:00 +02:00
list_hardware.py scripts: Loader change 2024-05-07 09:38:00 +02:00
list_shields.py scripts: list_shields: add script for listing the supported shields 2024-05-21 16:47:24 -04:00
make_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
requirements-base.txt scripts: dts: update pyyaml version 2024-03-29 09:03:34 -04:00
requirements-build-test.txt scripts: coverage: gcovr to ignore negative counters 2023-11-03 07:57:10 -04:00
requirements-compliance.txt scripts: compliance: add support for YAMLLint 2023-01-04 17:29:23 +01:00
requirements-extras.txt scripts/requirements: bump imgtool to 2.0.0 2024-02-12 23:26:04 +01:00
requirements-run-test.txt scripts: tests: --package-artifacts fix, blackbox tests 2024-03-11 16:12:55 -04:00
requirements.txt doc: move requirements to doc/ 2023-07-12 09:13:49 -04:00
series-push-hook.sh
set_assignees.py scripts: set_maintainer: add log messages for skipped collabs 2024-04-04 11:14:42 +01:00
snippets.py terminology: adopt CMake, python, and Kconfig code to use qualifiers 2024-03-21 15:32:17 +01:00
spelling.txt spelling: Replace occurrences of "iff" with "if and only if" 2024-05-06 14:58:08 +01:00
tags.sh
twister twister: Add Twister execution options to twister.json 2024-05-15 14:56:59 +02:00
valgrind.supp valgrind: Update POSIX soc no cpu cleanup suppression 2023-11-29 15:33:49 +01:00
west-commands.yml scripts: west: commands: shields: add cmd for listing supported shields 2024-05-21 16:47:24 -04:00
zephyr_module.py scripts: Loader change 2024-05-07 09:38:00 +02:00