diff options
author | Jamin Lin <jamin_lin@aspeedtech.com> | 2022-01-19 11:23:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-29 01:58:41 +0300 |
commit | 2a4b0d5890deb0c973f8db7bb03adad96aff1050 (patch) | |
tree | 22f3c65ca8413a2ab750c948cd6c18a9b34633c8 /include/u-boot | |
parent | 05ec899140d2f602544f9ec6aa753ab36feff0b0 (diff) | |
download | u-boot-2a4b0d5890deb0c973f8db7bb03adad96aff1050.tar.xz |
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 <jamin_lin@aspeedtech.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/u-boot')
-rw-r--r-- | include/u-boot/rsa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/u-boot/rsa.h b/include/u-boot/rsa.h index 01b480d0f3..b9634e38d9 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 */ |