rsa: adds rsa3072 algorithm
authorJamin Lin <jamin_lin@aspeedtech.com>
Wed, 19 Jan 2022 08:23:21 +0000 (16:23 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 28 Jan 2022 22:58:41 +0000 (17:58 -0500)
commit2a4b0d5890deb0c973f8db7bb03adad96aff1050
tree22f3c65ca8413a2ab750c948cd6c18a9b34633c8
parent05ec899140d2f602544f9ec6aa753ab36feff0b0
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>
configs/sandbox_defconfig
include/u-boot/rsa.h
lib/rsa/rsa-verify.c
test/py/tests/test_vboot.py
test/py/tests/vboot/sign-configs-sha384.its [new file with mode: 0644]
test/py/tests/vboot/sign-images-sha384.its [new file with mode: 0644]
tools/image-sig-host.c