Skip to content

Commit

Permalink
samples: crypto: Don't disable Oberon for TF-M
Browse files Browse the repository at this point in the history
When we built with TF-M in non minimal builts we
we required HKDF which is only supported by Oberon.
So in configuration we don't allow Oberon to be disabled,
this updates all the samples so that they don't allow to
disable the Oberon PSA driver in TF-M builds.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
  • Loading branch information
Vge0rge authored and nordicjm committed Aug 25, 2023
1 parent 1acc1c4 commit be8b747
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/aes_cbc/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/aes_ccm/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/aes_ctr/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/chachapoly/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/ecdh/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/ecdsa/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/hkdf/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/hmac/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/rng/boards/nrf5340dk_nrf5340_cpuapp_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/rng/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/rsa/boards/nrf5340dk_nrf5340_cpuapp_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/rsa/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
1 change: 0 additions & 1 deletion samples/crypto/sha256/boards/nrf9160dk_nrf9160_ns.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y

0 comments on commit be8b747

Please sign in to comment.