Skip to content

Commit dfaa77c

Browse files
tomi-fontnordic-piks
authored andcommitted
scripts: quarantine_zephyr: add crypto.psa.* for CryptoCell platforms
The test calls `psa_generate_random()` which fails on those platforms because of `CONFIG_PSA_WANT_GENERATE_RANDOM` not being enabled. `CONFIG_ENTROPY_CC3XX` is used as entropy driver, and we make `CONFIG_PSA_WANT_GENERATE_RANDOM` default to y only when `CONFIG_ENTROPY_PSA_CRYPTO_RNG` is used. Enabling `CONFIG_PSA_WANT_GENERATE_RANDOM` by default in more cases doesn't seem like a good solution as there are no good conditions to test for if we want to limit how much we enable it by default. Making the test work would require adding a noup in `sdk-zephyr` to enable `CONFIG_PSA_WANT_GENERATE_RANDOM` but it doesn't really bring value as we already have our own (and better) crypto tests so just disable it. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
1 parent d48884c commit dfaa77c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

scripts/quarantine_zephyr.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,3 +624,15 @@
624624
- nrf54h20dk@0.9.0/nrf54h20/cpuapp
625625
- nrf54h20dk@0.9.0/nrf54h20/cpurad
626626
comment: "Not supported in NCS"
627+
628+
- scenarios:
629+
- crypto.psa.with_entropy_driver
630+
- crypto.psa.without_entropy_driver
631+
platforms:
632+
- nrf52dk/nrf52832
633+
- nrf52840dk/nrf52840
634+
- nrf5340dk/nrf5340/cpuapp
635+
- nrf5340dk/nrf5340/cpunet
636+
- nrf54l15dk/nrf54l15/cpuapp
637+
- nrf9160dk@0.14.0/nrf9160
638+
comment: "Doesn't work out of the box - we have our own crypto tests"

0 commit comments

Comments
 (0)