From 2a4b0d5890deb0c973f8db7bb03adad96aff1050 Mon Sep 17 00:00:00 2001 From: Jamin Lin Date: Wed, 19 Jan 2022 16:23:21 +0800 Subject: rsa: adds rsa3072 algorithm Add to support rsa 3072 bits algorithm in tools for image sign at host side and adds rsa 3072 bits verification in the image binary. Add test case in vboot for sha384 with rsa3072 algorithm testing. Signed-off-by: Jamin Lin Reviewed-by: Simon Glass --- include/u-boot/rsa.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/u-boot/rsa.h b/include/u-boot/rsa.h index 01b480d..b9634e3 100644 --- a/include/u-boot/rsa.h +++ b/include/u-boot/rsa.h @@ -111,6 +111,7 @@ int padding_pss_verify(struct image_sign_info *info, #define RSA_DEFAULT_PADDING_NAME "pkcs-1.5" #define RSA2048_BYTES (2048 / 8) +#define RSA3072_BYTES (3072 / 8) #define RSA4096_BYTES (4096 / 8) /* This is the minimum/maximum key size we support, in bits */ -- cgit v1.1