From 46a738a4ec81959c7545a4bb07e4f5232bbcfefe Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Thu, 29 Jul 2021 11:47:19 -0500 Subject: 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 Reviewed-by: Simon Glass Reviewed-by: Patrick Delaunay --- configs/sandbox_defconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configs') diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index bcd82f7..8bb981d 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 -- cgit v1.1