lib: ecdsa: Implement UCLASS_ECDSA verification on target
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 29 Jul 2021 16:47:16 +0000 (11:47 -0500)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 16 Aug 2021 08:49:35 +0000 (10:49 +0200)
commit928a8be79480b0e2ea2461a7b2533d3e71bcb3e6
tree2c60bd2e21dad4826ee8afc93cb10644ea9943d5
parent1d54af1392513c09927b97981356acadfa626d63
lib: ecdsa: Implement UCLASS_ECDSA verification on target

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
lib/Kconfig
lib/Makefile
lib/ecdsa/Kconfig [new file with mode: 0644]
lib/ecdsa/Makefile [new file with mode: 0644]
lib/ecdsa/ecdsa-verify.c [new file with mode: 0644]