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)
commit46a738a4ec81959c7545a4bb07e4f5232bbcfefe
tree6a8466dfda239447062b9df2fcf104d09f2b494e
parent61416fe9df966319866f058bb69c49922f33adcb
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]