Skip to content

Commit

Permalink
manifest: Update sdk-zephyr to disable PSA configurations by default
Browse files Browse the repository at this point in the history
Update sdk-zephyr to disable PSA configurations by default.
Remove default configuration overrides in matter project.
Fix TF-M compilation error in ITS when disabling PS.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
  • Loading branch information
joerchan committed Jul 7, 2023
1 parent 8422989 commit 57f4030
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 387 deletions.
215 changes: 0 additions & 215 deletions modules/trusted-firmware-m/Kconfig.mbedtls_minimal.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,218 +70,3 @@ config MBEDTLS_PSA_CRYPTO_STORAGE_C

config MBEDTLS_LEGACY_CRYPTO_C
default n

config PSA_WANT_ALG_CTR_DRBG
default n

config PSA_WANT_ALG_HMAC_DRBG
bool
default y

config PSA_WANT_KEY_TYPE_DERIVE
bool
default n

config PSA_WANT_KEY_TYPE_HMAC
bool
default n

config PSA_WANT_KEY_TYPE_AES
bool
default n

config PSA_WANT_KEY_TYPE_CHACHA20
bool
default n

config PSA_WANT_KEY_TYPE_ECC_KEY_PAIR
bool
default n

config PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY
bool
default n

config PSA_WANT_KEY_TYPE_RAW_DATA
bool
default n

config PSA_WANT_KEY_TYPE_RSA_KEY_PAIR
bool
default n

config PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY
bool
default n

config PSA_WANT_ALG_CCM
bool
default n

config PSA_WANT_ALG_GCM
bool
default n

config PSA_WANT_ALG_CHACHA20_POLY1305
bool
default n

config PSA_WANT_ALG_CBC_MAC
bool
default n

config PSA_WANT_ALG_CMAC
bool
default n

config PSA_WANT_ALG_HMAC
bool
default n

config PSA_WANT_ALG_SHA_1
bool
default n

config PSA_WANT_ALG_SHA_224
bool
default n

config PSA_WANT_ALG_SHA_256
bool
default n

config PSA_WANT_ALG_SHA_384
bool
default n

config PSA_WANT_ALG_SHA_512
bool
default n

config PSA_WANT_ALG_RIPEMD160
bool
default n

config PSA_WANT_ALG_MD5
bool
default n

config PSA_WANT_ALG_ECB_NO_PADDING
bool
default n

config PSA_WANT_ALG_CBC_NO_PADDING
bool
default n

config PSA_WANT_ALG_CBC_PKCS7
bool
default n

config PSA_WANT_ALG_CFB
bool
default n

config PSA_WANT_ALG_CTR
bool
default n

config PSA_WANT_ALG_OFB
bool
default n

config PSA_WANT_ALG_XTS
bool
default n

config PSA_WANT_ALG_HKDF
bool
default n

config PSA_WANT_ALG_PBKDF2_HMAC
bool
default n

config PSA_WANT_ALG_TLS12_PRF
bool
default n

config PSA_WANT_ALG_ECDH
bool
default n

config PSA_WANT_ALG_ECDSA
bool
default n

config PSA_WANT_ALG_DETERMINISTIC_ECDSA
bool
default n

config PSA_WANT_ECC_BRAINPOOL_P_R1_256
bool
default n

config PSA_WANT_ECC_BRAINPOOL_P_R1_384
bool
default n

config PSA_WANT_ECC_BRAINPOOL_P_R1_512
bool
default n

config PSA_WANT_ECC_MONTGOMERY_255
bool
default n

config PSA_WANT_ECC_MONTGOMERY_448
bool
default n

config PSA_WANT_ECC_SECP_K1_192
bool
default n

config PSA_WANT_ECC_SECP_K1_256
bool
default n

config PSA_WANT_ECC_SECP_R1_192
bool
default n

config PSA_WANT_ECC_SECP_R1_224
bool
default n

config PSA_WANT_ECC_SECP_R1_256
bool
default n

config PSA_WANT_ECC_SECP_R1_384
bool
default n

config PSA_WANT_ECC_SECP_R1_521
bool
default n

config PSA_WANT_ALG_RSA_OAEP
bool
default n

config PSA_WANT_ALG_RSA_PKCS1V15_CRYPT
bool
default n

config PSA_WANT_ALG_RSA_PKCS1V15_SIGN
bool
default n

config PSA_WANT_ALG_RSA_PSS
bool
default n

config PSA_WANT_ALG_STREAM_CIPHER
bool
default n
160 changes: 0 additions & 160 deletions modules/trusted-firmware-m/Kconfig.psa.defconfig
Original file line number Diff line number Diff line change
@@ -1,163 +1,3 @@
config MBEDTLS
bool
default n

config PSA_WANT_KEY_TYPE_DERIVE
bool
default y
config PSA_WANT_KEY_TYPE_HMAC
bool
default y
config PSA_WANT_KEY_TYPE_AES
bool
default y
config PSA_WANT_KEY_TYPE_CHACHA20
bool
default y
config PSA_WANT_KEY_TYPE_ECC_KEY_PAIR
bool
default y
config PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY
bool
default y
config PSA_WANT_KEY_TYPE_RAW_DATA
bool
default y
config PSA_WANT_KEY_TYPE_RSA_KEY_PAIR
bool
default y
config PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY
bool
default y
config PSA_WANT_ALG_CCM
bool
default y
config PSA_WANT_ALG_GCM
bool
default y
config PSA_WANT_ALG_CHACHA20_POLY1305
bool
default y
config PSA_WANT_ALG_CBC_MAC
bool
default y
config PSA_WANT_ALG_CMAC
bool
default y
config PSA_WANT_ALG_HMAC
bool
default y
config PSA_WANT_ALG_SHA_1
bool
default n
config PSA_WANT_ALG_SHA_224
bool
default y
config PSA_WANT_ALG_SHA_256
bool
default y
config PSA_WANT_ALG_SHA_384
bool
default y
config PSA_WANT_ALG_SHA_512
bool
default y
config PSA_WANT_ALG_RIPEMD160
bool
default n
config PSA_WANT_ALG_MD5
bool
default n
config PSA_WANT_ALG_ECB_NO_PADDING
bool
default y
config PSA_WANT_ALG_CBC_NO_PADDING
bool
default y
config PSA_WANT_ALG_CBC_PKCS7
bool
default y
config PSA_WANT_ALG_CFB
bool
default n
config PSA_WANT_ALG_CTR
bool
default y
config PSA_WANT_ALG_OFB
bool
default n

# PSA_WANT_ALG_XTS - Currently not supported

config PSA_WANT_ALG_HKDF
bool
default y
config PSA_WANT_ALG_PBKDF2_HMAC
bool
default y
config PSA_WANT_ALG_TLS12_PRF
bool
default y
config PSA_WANT_ALG_TLS12_PSK_TO_MS
bool
default y
config PSA_WANT_ALG_ECDH
bool
default y
config PSA_WANT_ALG_ECDSA
bool
default y
config PSA_WANT_ALG_DETERMINISTIC_ECDSA
bool
default y
config PSA_WANT_ECC_BRAINPOOL_P_R1_256
bool
default y
config PSA_WANT_ECC_BRAINPOOL_P_R1_384
bool
default n
config PSA_WANT_ECC_BRAINPOOL_P_R1_512
bool
default n
config PSA_WANT_ECC_MONTGOMERY_255
bool
default y
config PSA_WANT_ECC_MONTGOMERY_448
bool
default n
config PSA_WANT_ECC_SECP_K1_192
bool
default n
config PSA_WANT_ECC_SECP_K1_256
bool
default y
config PSA_WANT_ECC_SECP_R1_192
bool
default y
config PSA_WANT_ECC_SECP_R1_224
bool
default y
config PSA_WANT_ECC_SECP_R1_256
bool
default y
config PSA_WANT_ECC_SECP_R1_384
bool
default y
config PSA_WANT_ECC_SECP_R1_521
bool
default y
config PSA_WANT_ALG_RSA_OAEP
bool
default y
config PSA_WANT_ALG_RSA_PKCS1V15_CRYPT
bool
default y
config PSA_WANT_ALG_RSA_PKCS1V15_SIGN
bool
default y
config PSA_WANT_ALG_RSA_PSS
bool
default y
config PSA_WANT_ALG_STREAM_CIPHER
bool
default y
Loading

0 comments on commit 57f4030

Please sign in to comment.