[PATCH 5/5] test: dm: Add test for ECDSA UCLASS support

Patrick DELAUNAY patrick.delaunay at foss.st.com
Fri Jul 30 11:53:22 CEST 2021


Hi,

On 7/29/21 6:47 PM, Alexandru Gagniuc wrote:
> 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 at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>   configs/sandbox_defconfig |  2 ++
>   test/dm/Makefile          |  1 +
>   test/dm/ecdsa.c           | 38 ++++++++++++++++++++++++++++++++++++++
>   3 files changed, 41 insertions(+)
>   create mode 100644 test/dm/ecdsa.c
>

Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick



More information about the U-Boot mailing list