[PATCH v4 1/1] rsa: adds rsa3072 algorithm

Simon Glass sjg at chromium.org
Thu Jan 27 16:05:53 CET 2022


On Wed, 19 Jan 2022 at 01:23, Jamin Lin <jamin_lin at aspeedtech.com> wrote:
>
> 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 at aspeedtech.com>
> ---
>  configs/sandbox_defconfig                   |  1 +
>  include/u-boot/rsa.h                        |  1 +
>  lib/rsa/rsa-verify.c                        |  6 +++
>  test/py/tests/test_vboot.py                 | 12 +++++-
>  test/py/tests/vboot/sign-configs-sha384.its | 45 +++++++++++++++++++++
>  test/py/tests/vboot/sign-images-sha384.its  | 42 +++++++++++++++++++
>  tools/image-sig-host.c                      |  7 ++++
>  7 files changed, 112 insertions(+), 2 deletions(-)
>  create mode 100644 test/py/tests/vboot/sign-configs-sha384.its
>  create mode 100644 test/py/tests/vboot/sign-images-sha384.its

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list