Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrf_security: Add Oberon PSA configurations in Kconfig #11676

Merged
merged 3 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
423 changes: 251 additions & 172 deletions doc/nrf/libraries/nrf_security/doc/driver_config.rst

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions modules/trusted-firmware-m/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ config TFM_CRYPTO_ENGINE_BUF_SIZE
int
prompt "TF-M Crypto - Engine buffer size" if !TFM_PROFILE_TYPE_MINIMAL
default 1 if TFM_PROFILE_TYPE_MINIMAL
default 12288 if PSA_CRYPTO_DRIVER_ALG_RSA_OAEP_CC3XX || \
PSA_CRYPTO_DRIVER_ALG_RSA_PKCS1V15_CRYPT_CC3XX || \
PSA_CRYPTO_DRIVER_ALG_RSA_PKCS1V15_SIGN_CC3XX
default 12288 if PSA_NEED_CC3XX_RSA_OAEP || \
PSA_NEED_CC3XX_RSA_PKCS1V15_CRYPT || \
PSA_NEED_CC3XX_RSA_PKCS1V15_SIGN
default 8320
help
Buffer used by Mbed Crypto for its own allocations at runtime.
Expand Down
5 changes: 0 additions & 5 deletions samples/crypto/psa_tls/overlays/cc3xx-oberon-psa.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
CONFIG_NRF_SECURITY=y
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y
CONFIG_PSA_CRYPTO_DRIVER_OBERON=y
Vge0rge marked this conversation as resolved.
Show resolved Hide resolved

CONFIG_PSA_CRYPTO_DRIVER_ALG_STREAM_CIPHER_OBERON=y
Vge0rge marked this conversation as resolved.
Show resolved Hide resolved
CONFIG_PSA_CRYPTO_DRIVER_ALG_CBC_NO_PADDING_OBERON=y
CONFIG_PSA_CRYPTO_DRIVER_ALG_CCM_OBERON=y
CONFIG_PSA_CRYPTO_DRIVER_ALG_GCM_OBERON=y
8 changes: 0 additions & 8 deletions subsys/nrf_security/Kconfig.psa
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ config MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER

osource "modules/mbedtls/Kconfig.psa"

config PSA_WANT_ALG_CTR_DRBG
bool
default y if ENTROPY_GENERATOR

config PSA_WANT_ALG_HMAC_DRBG
bool
default y if PSA_WANT_ALG_DETERMINISTIC_ECDSA

config MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG
bool
default y
Expand Down
181 changes: 86 additions & 95 deletions subsys/nrf_security/cmake/psa_crypto_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ kconfig_check_and_set_base_to_one(PSA_WANT_ALG_JPAKE)
kconfig_check_and_set_base_to_one(PSA_WANT_ALG_SPAKE2P)
kconfig_check_and_set_base_to_one(PSA_WANT_ALG_SRP_6)

kconfig_check_and_set_base_int(PSA_MAX_RSA_KEY_BITS)

kconfig_check_and_set_base_to_one(PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT)

kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_SUPPORT)
Expand All @@ -82,108 +84,97 @@ kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_AES)
kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_CHACHA20)

# Convert nrf_cc3xx_platform driver configurations
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_PRNG_CC3XX_PLATFORM)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CTR_DRBG_CC3XX_PLATFORM)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_HMAC_DRBG_CC3XX_PLATFORM)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_CTR_DRBG_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_HMAC_DRBG_DRIVER)

# Convert nrf_cc3xx driver configurations
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_CIPHER_SUPPORT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_AEAD_SUPPORT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_MAC_SUPPORT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_HASH_SUPPORT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_ASYM_ENCRYPT_SUPPORT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_ASYM_SIGN_SUPPORT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_ECC_SUPPORT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_RSA_SUPPORT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_ACCEL_KEY_TYPES_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CBC_NO_PADDING_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CBC_PKCS7_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CCM_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_OFB_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CHACHA20_POLY1305_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CMAC_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CTR_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_DETERMINISTIC_ECDSA_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_ECB_NO_PADDING_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_ECDH_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_ECDSA_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_GCM_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_HMAC_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_RSA_OAEP_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_RSA_PKCS1V15_CRYPT_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_RSA_PKCS1V15_SIGN_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SHA_1_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SHA_224_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SHA_256_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_STREAM_CIPHER_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_BRAINPOOL_P_R1_256_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_MONTGOMERY_255_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_K1_192_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_K1_256_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_R1_192_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_R1_224_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_R1_256_CC3XX)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_R1_384_CC3XX)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_AEAD_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_ASYMMETRIC_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_CIPHER_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_ECDH_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_ENTROPY_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_HASH_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_KEY_PAIR_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_MAC_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_SIGNATURE_DRIVER)


# Convert nrf_oberon driver configurations
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_CIPHER_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_AEAD_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_MAC_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_HASH_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_KDF_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_ASYM_ENCRYPT_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_ASYM_SIGN_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_ECC_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_RSA_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_RSA_CRYPT_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_RSA_SIGN_SUPPORT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_HAS_ACCEL_KEY_TYPES_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_PRNG_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CTR_DRBG_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_HMAC_DRBG_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CBC_NO_PADDING_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CBC_PKCS7_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CCM_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CHACHA20_POLY1305_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CMAC_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_CTR_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_DETERMINISTIC_ECDSA_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_ECB_NO_PADDING_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_ECDH_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_ECDSA_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_GCM_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_HKDF_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_PBKDF2_HMAC_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_PBKDF2_AES_CMAC_PRF_128_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_HMAC_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SHA_1_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_RSA_OAEP_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_RSA_PKCS1V15_CRYPT_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_RSA_PKCS1V15_SIGN_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_RSA_PSS_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SHA_224_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SHA_256_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SHA_384_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SHA_512_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_TLS12_PRF_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_TLS12_PSK_TO_MS_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_STREAM_CIPHER_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_MONTGOMERY_255_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_R1_224_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_R1_256_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_SECP_R1_384_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ECC_TWISTED_EDWARDS_255_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_JPAKE_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SPAKE2P_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_SRP_OBERON)
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ALG_TLS12_ECJPAKE_TO_PMS_OBERON)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_AEAD_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_CIPHER_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_CTR_DRBG_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDH_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDSA_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_HASH_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_HMAC_DRBG_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_JPAKE_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KDF_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_MAC_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_CRYPT)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_SIGN)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_SPAKE2P_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_SRP_DRIVER)

kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_AES_CBC_NO_PADDING)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_AES_CBC_PKCS7)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_AES_CCM)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_AES_CCM_STAR_NO_TAG)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_AES_CTR)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_AES_ECB_NO_PADDING)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_AES_GCM)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_CHACHA20)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_CHACHA20_POLY1305)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_CMAC)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_DETERMINISTIC_ECDSA)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDH_P224)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDH_P256)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDH_P384)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDH_X25519)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDSA_ED25519)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDSA_P224)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDSA_P256)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECDSA_P384)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_ECJPAKE_TO_PMS)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_HKDF)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_HKDF_EXPAND)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_HKDF_EXTRACT)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_HMAC)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_25519)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_ED25519)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_P224)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_P256)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_P384)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_P521)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_SECP)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_KEY_PAIR_X25519)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_PBKDF2_AES_CMAC_PRF_128)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_PBKDF2_HMAC)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RANDOMIZED_ECDSA)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_KEY_SIZE_1024)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_KEY_SIZE_1536)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_KEY_SIZE_2048)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_KEY_SIZE_3072)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_KEY_SIZE_4096)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_KEY_SIZE_6144)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_KEY_SIZE_8192)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_OAEP)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_PKCS1V15_CRYPT)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_PKCS1V15_SIGN)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_RSA_PSS)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_SHA_1)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_SHA_224)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_SHA_256)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_SHA_384)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_SHA_512)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_TLS12_PRF)
kconfig_check_and_set_base_to_one(PSA_NEED_OBERON_TLS12_PSK_TO_MS)


kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_RSA_KEY_SIZE_1024_OBERON)

# Convert zephyr driver configurations
kconfig_check_and_set_base_to_one(PSA_CRYPTO_DRIVER_ENTROPY_ZEPHYR)
kconfig_check_and_set_base_to_one(PSA_NEED_ZEPHYR_ENTROPY_DRIVER)

# Nordic specific
kconfig_check_and_set_base_to_one(PSA_NATIVE_ITS)
Expand Down
Loading
Loading