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

Simon Glass sjg at chromium.org
Wed May 19 18:36:32 CEST 2021


On Mon, 17 May 2021 at 12:39, Alexandru Gagniuc <mr.nuke.me at gmail.com> 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>
> ---
>  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: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list