]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: add rsa_verify() unit test
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 21 Feb 2020 06:13:00 +0000 (15:13 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 12 Mar 2020 12:20:39 +0000 (08:20 -0400)
commitd090b39ecbfab21af198a074a05761ec5681ee37
treeb62194c46e7c8773d55d7027a9038f357dbfa3a8
parent0cc7a7535fd06bcf2fd3386e26ee05a1280c67a4
test: add rsa_verify() unit test

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@linaro.org>
test/Kconfig
test/lib/Makefile
test/lib/rsa.c [new file with mode: 0644]