Merge tag 'v2021.10-rc4' into next
Prepare v2021.10-rc4 Signed-off-by: Tom Rini <trini@konsulko.com> # gpg: Signature made Tue 14 Sep 2021 06:58:32 PM EDT # gpg: using RSA key 1A3C7F70E08FAB1707809BBF147C39FF9634B72C # gpg: Good signature from "Thomas Rini <trini@konsulko.com>" [ultimate] # Conflicts: # board/Arcturus/ucp1020/spl.c # cmd/mvebu/Kconfig # common/Kconfig.boot # common/image-fit.c # configs/UCP1020_defconfig # configs/sifive_unmatched_defconfig # drivers/pci/Kconfig # include/configs/UCP1020.h # include/configs/sifive-unmatched.h # lib/Makefile # scripts/config_whitelist.txt
This commit is contained in:
@@ -251,7 +251,7 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name,
|
||||
snprintf(key_id, sizeof(key_id),
|
||||
"%s%s",
|
||||
keydir, name);
|
||||
else if (keydir)
|
||||
else if (name)
|
||||
snprintf(key_id, sizeof(key_id),
|
||||
"%s",
|
||||
name ? name : "");
|
||||
|
||||
@@ -95,6 +95,13 @@ int padding_pkcs_15_verify(struct image_sign_info *info,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
U_BOOT_PADDING_ALGO(pkcs_15) = {
|
||||
.name = "pkcs-1.5",
|
||||
.verify = padding_pkcs_15_verify,
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FIT_RSASSA_PSS
|
||||
static void u32_i2osp(uint32_t val, uint8_t *buf)
|
||||
{
|
||||
@@ -296,6 +303,14 @@ out:
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
U_BOOT_PADDING_ALGO(pss) = {
|
||||
.name = "pss",
|
||||
.verify = padding_pss_verify,
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if CONFIG_IS_ENABLED(FIT_SIGNATURE) || CONFIG_IS_ENABLED(RSA_VERIFY_WITH_PKEY)
|
||||
|
||||
Reference in New Issue
Block a user