summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChia-Wei Wang <[email protected]>2024-10-14 17:56:18 +0800
committerTom Rini <[email protected]>2024-10-21 17:52:52 -0600
commit75068b1a2dbcf475c1043e7aa0f6882554d759bc (patch)
tree2a29e5485b5f474d83fb437f0c2e05952ae2ed2f /include
parent3794bbf9e0e7ce2652935514cbfac49545c329a9 (diff)
lib: ecdsa: Add ECDSA384 support
Add ECDSA384 algorithm support for image signing and verification. Signed-off-by: Chia-Wei Wang <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/u-boot/ecdsa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/u-boot/ecdsa.h b/include/u-boot/ecdsa.h
index 8f9f5e7d6e7..f0ac0f327e9 100644
--- a/include/u-boot/ecdsa.h
+++ b/include/u-boot/ecdsa.h
@@ -65,6 +65,7 @@ int ecdsa_verify(struct image_sign_info *info,
/** @} */
#define ECDSA256_BYTES (256 / 8)
+#define ECDSA384_BYTES (384 / 8)
#define ECDSA521_BYTES ((521 + 7) / 8)
#endif