diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-07-29 11:47:19 -0500 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-08-16 10:49:35 +0200 |
commit | 46a738a4ec81959c7545a4bb07e4f5232bbcfefe (patch) | |
tree | 6a8466dfda239447062b9df2fcf104d09f2b494e /configs | |
parent | 61416fe9df966319866f058bb69c49922f33adcb (diff) | |
download | u-boot-46a738a4ec81959c7545a4bb07e4f5232bbcfefe.tar.gz |
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>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sandbox_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index bcd82f76ff..8bb981d6f5 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -299,3 +299,5 @@ CONFIG_TEST_FDTDEC=y CONFIG_UNIT_TEST=y CONFIG_UT_TIME=y CONFIG_UT_DM=y +CONFIG_ECDSA=y +CONFIG_ECDSA_VERIFY=y |