]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: crypto: Define UCLASS API for ECDSA signature verification
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 29 Jul 2021 16:47:15 +0000 (11:47 -0500)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 16 Aug 2021 08:49:35 +0000 (10:49 +0200)
commit1d54af1392513c09927b97981356acadfa626d63
tree1b0a7947c48436c6716aba4a619eb3c39ff11a57
parent59f6eb477e053355718fa25b3bce956991f016b8
dm: crypto: Define UCLASS API for ECDSA signature verification

Define a UCLASS API for verifying ECDSA signatures. Unlike
UCLASS_MOD_EXP, which focuses strictly on modular exponentiation,
the ECDSA class focuses on verification. This is done so that it
better aligns with mach-specific implementations, such as stm32mp.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
include/crypto/ecdsa-uclass.h [new file with mode: 0644]
include/dm/uclass-id.h