modules: tfm: Split CRYPTO_ASYMMETRIC module into SIGN and ENCRYPT
The ASSYMETRIC crypto module has been split in two, for sign and encrypt. Update Kconfig entries to match. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
81c5fb47a8
commit
aaa38bfcb6
2 changed files with 14 additions and 5 deletions
|
@ -23,7 +23,8 @@ set(TFM_CRYPTO_MODULES
|
||||||
CRYPTO_MAC_MODULE
|
CRYPTO_MAC_MODULE
|
||||||
CRYPTO_HASH_MODULE
|
CRYPTO_HASH_MODULE
|
||||||
CRYPTO_CIPHER_MODULE
|
CRYPTO_CIPHER_MODULE
|
||||||
CRYPTO_ASYMMETRIC_MODULE
|
CRYPTO_ASYM_ENCRYPT_MODULE
|
||||||
|
CRYPTO_ASYM_SIGN_MODULE
|
||||||
CRYPTO_KEY_DERIVATION_MODULE
|
CRYPTO_KEY_DERIVATION_MODULE
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -54,12 +54,20 @@ config TFM_CRYPTO_CIPHER_MODULE_ENABLED
|
||||||
Unset this option if the functionality provided by 'crypto_cipher.c'
|
Unset this option if the functionality provided by 'crypto_cipher.c'
|
||||||
is not used.
|
is not used.
|
||||||
|
|
||||||
config TFM_CRYPTO_ASYMMETRIC_MODULE_ENABLED
|
config TFM_CRYPTO_ASYM_ENCRYPT_MODULE_ENABLED
|
||||||
bool "Enable ASYMMETRIC crypto module"
|
bool "Enable ASYM ENCRYPT crypto module"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enables the ASYMMETRIC crypto module within the crypto partition.
|
Enables the ASYM ENCRYPT crypto module within the crypto partition.
|
||||||
Unset this option if the functionality provided by 'crypto_asymmetric.c'
|
Unset this option if the encrypt functionality provided by 'crypto_asymmetric.c'
|
||||||
|
is not used.
|
||||||
|
|
||||||
|
config TFM_CRYPTO_ASYM_SIGN_MODULE_ENABLED
|
||||||
|
bool "Enable ASYM SIGN crypto module"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Enables the ASYM SIGN crypto module within the crypto partition.
|
||||||
|
Unset this option if the sign functionality provided by 'crypto_asymmetric.c'
|
||||||
is not used.
|
is not used.
|
||||||
|
|
||||||
config TFM_CRYPTO_KEY_DERIVATION_MODULE_ENABLED
|
config TFM_CRYPTO_KEY_DERIVATION_MODULE_ENABLED
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue