For sake of memory footprint it might be required to shrink down the memory footprint as much as possible. Unfortunately Mbed TLS PSA interface brings in some extra code for key management which makes it larger than the TinyCrypt counterpart when it comes to p256-m interfacing. For this reason it might be useful to directly access the p256-m driver directly. This commit adds this support and it also updates the corresponding test in order to make use of this condition. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
18 lines
520 B
YAML
18 lines
520 B
YAML
common:
|
|
filter: dt_chosen_enabled("zephyr,entropy") and
|
|
CONFIG_CSPRNG_ENABLED and
|
|
CONFIG_HARDWARE_DEVICE_CS_GENERATOR and
|
|
not CONFIG_BUILD_WITH_TFM and
|
|
not (CONFIG_MBEDTLS and CONFIG_TINYCRYPT)
|
|
tags:
|
|
- mbedtls
|
|
- tinycrypt
|
|
- p256-m
|
|
tests:
|
|
crypto.secp256r1.mbedtls:
|
|
extra_args: OVERLAY_CONFIG=mbedtls.conf
|
|
crypto.secp256r1.p256-m_raw:
|
|
extra_args: OVERLAY_CONFIG=p256-m_raw.conf
|
|
crypto.secp256r1.tinycrypt:
|
|
extra_args: OVERLAY_CONFIG=tinycrypt.conf
|