]> git.baikalelectronics.ru Git - uboot.git/commit
test: dm: Add test for ECDSA UCLASS support
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 29 Jul 2021 16:47:19 +0000 (11:47 -0500)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 16 Aug 2021 08:49:35 +0000 (10:49 +0200)
commit874dad4720f64d5e0dc5e989b53cd9a5ebe55b27
tree6a8466dfda239447062b9df2fcf104d09f2b494e
parent6de87750ba475c3ffe6d276a5320b4f4da958002
test: dm: Add test for ECDSA UCLASS support

This test verifies that ECDSA_UCLASS is implemented, and that
ecdsa_verify() works as expected. The definition of "expected" is
"does not find a device, and returns -ENODEV".

The lack of a hardware-independent ECDSA implementation prevents us
from having one in the sandbox, for now.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
configs/sandbox_defconfig
test/dm/Makefile
test/dm/ecdsa.c [new file with mode: 0644]