[PATCH v5 6/6] test: add rsa_verify() unit test

Simon Glass sjg at chromium.org
Sat Dec 28 03:26:42 CET 2019


On Tue, 17 Dec 2019 at 01:53, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> In this patch, a very simple test is added to verify that rsa_verify()
> using rsa_verify_with_pkey() work correctly.
>
> To keep the code simple, all the test data, either public key and
> verified binary data, are embedded in the source.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
>  test/Kconfig      |  10 +++
>  test/lib/Makefile |   1 +
>  test/lib/rsa.c    | 206 ++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 217 insertions(+)
>  create mode 100644 test/lib/rsa.c

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


More information about the U-Boot mailing list