tools: image-host: use pkcs-1.5 by default

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I20c37235c22127e78f1ccb46eb3ee56f920068bc
This commit is contained in:
Joseph Chen 2020-07-13 15:42:53 +08:00 committed by Jianhong Chen
parent 85289e9d5d
commit 46751ae49c
1 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,8 @@ static int fit_image_setup_sig(struct image_sign_info *info,
}
padding_name = fdt_getprop(fit, noffset, "padding", NULL);
if (!padding_name)
padding_name = "pkcs-1.5";
memset(info, '\0', sizeof(*info));
info->keydir = keydir;
info->keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL);