[PATCH 2/5] lib: ecdsa: Implement UCLASS_ECDSA verification on target

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


Hi,

On 7/29/21 6:47 PM, Alexandru Gagniuc wrote:
> Implement the crypto_algo .verify() function for ecdsa256. Because
> it backends on UCLASS_ECDSA, this change is focused on parsing the
> keys from devicetree and passing this information to the specific
> UCLASS driver.
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>   lib/Kconfig              |   1 +
>   lib/Makefile             |   1 +
>   lib/ecdsa/Kconfig        |  23 +++++++
>   lib/ecdsa/Makefile       |   1 +
>   lib/ecdsa/ecdsa-verify.c | 134 +++++++++++++++++++++++++++++++++++++++
>   5 files changed, 160 insertions(+)
>   create mode 100644 lib/ecdsa/Kconfig
>   create mode 100644 lib/ecdsa/Makefile
>   create mode 100644 lib/ecdsa/ecdsa-verify.c
>

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

Thanks
Patrick



More information about the U-Boot mailing list