diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-07-29 11:47:15 -0500 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-08-16 10:49:35 +0200 |
commit | 1d54af1392513c09927b97981356acadfa626d63 (patch) | |
tree | 1b0a7947c48436c6716aba4a619eb3c39ff11a57 /include/dm | |
parent | 59f6eb477e053355718fa25b3bce956991f016b8 (diff) | |
download | u-boot-1d54af1392513c09927b97981356acadfa626d63.zip u-boot-1d54af1392513c09927b97981356acadfa626d63.tar.gz u-boot-1d54af1392513c09927b97981356acadfa626d63.tar.bz2 |
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>
Diffstat (limited to 'include/dm')
-rw-r--r-- | include/dm/uclass-id.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 9d47453..e7edd40 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclass-id.h @@ -47,6 +47,7 @@ enum uclass_id { UCLASS_DSI_HOST, /* Display Serial Interface host */ UCLASS_DMA, /* Direct Memory Access */ UCLASS_DSA, /* Distributed (Ethernet) Switch Architecture */ + UCLASS_ECDSA, /* Elliptic curve cryptographic device */ UCLASS_EFI, /* EFI managed devices */ UCLASS_ETH, /* Ethernet device */ UCLASS_ETH_PHY, /* Ethernet PHY device */ |