device memory. Assure this size does not extend past expected storage
space.
-config FIT_RSASSA_PSS
- bool "Support rsassa-pss signature scheme"
- depends on RSA_VERIFY
- help
- Enable this to support the pss padding algorithm as described
- in the rfc8017 (https://tools.ietf.org/html/rfc8017).
-
config FIT_CIPHER
bool "Enable ciphering data in a FIT uImages"
depends on DM
device memory. Assure this size does not extend past expected storage
space.
-config SPL_FIT_RSASSA_PSS
- bool "Support rsassa-pss signature scheme in SPL"
- depends on SPL_RSA_VERIFY
- help
- Enable this to support the pss padding algorithm as described
- in the rfc8017 (https://tools.ietf.org/html/rfc8017) in SPL.
-
config SPL_LOAD_FIT
bool "Enable SPL loading U-Boot as a FIT (basic fitImage features)"
depends on SPL
CONFIG_EFI_CAPSULE_CRT_FILE="board/sandbox/capsule_pub_key_good.crt"
CONFIG_BUTTON_CMD=y
CONFIG_FIT=y
-CONFIG_FIT_RSASSA_PSS=y
CONFIG_FIT_CIPHER=y
CONFIG_FIT_VERBOSE=y
CONFIG_BOOTMETH_ANDROID=y
CONFIG_HKDF_MBEDTLS=y
CONFIG_ECDSA=y
CONFIG_ECDSA_VERIFY=y
+CONFIG_RSASSA_PSS=y
CONFIG_TPM=y
CONFIG_ERRNO_STR=y
CONFIG_GETOPT=y
key properties will be calculated on the fly in verification code
in the SPL.
+config RSASSA_PSS
+ bool "Support rsassa-pss signature scheme"
+ depends on RSA_VERIFY
+ help
+ Enable this to support the pss padding algorithm as described
+ in the rfc8017 (https://tools.ietf.org/html/rfc8017).
+
+config SPL_RSASSA_PSS
+ bool "Support rsassa-pss signature scheme within SPL"
+ depends on SPL_RSA_VERIFY
+ help
+ Enable this to support the pss padding algorithm as described
+ in the rfc8017 (https://tools.ietf.org/html/rfc8017) within SPL.
+
config RSA_SOFTWARE_EXP
bool "Enable driver for RSA Modular Exponentiation in software"
depends on DM
goto err_sign;
}
- if (CONFIG_IS_ENABLED(FIT_RSASSA_PSS) && padding_algo &&
+ if (CONFIG_IS_ENABLED(RSASSA_PSS) && padding_algo &&
!strcmp(padding_algo->name, "pss")) {
if (EVP_PKEY_CTX_set_rsa_padding(ckey,
RSA_PKCS1_PSS_PADDING) <= 0) {
};
#endif
-#if CONFIG_IS_ENABLED(FIT_RSASSA_PSS)
+#if CONFIG_IS_ENABLED(RSASSA_PSS)
static void u32_i2osp(uint32_t val, uint8_t *buf)
{
buf[0] = (uint8_t)((val >> 24) & 0xff);
help
Print the content of the FIT verbosely in the tools builds
-config TOOLS_FIT_RSASSA_PSS
+config TOOLS_RSASSA_PSS
def_bool y
help
Support the rsassa-pss signature scheme in the tools builds