1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-04 17:01:34 +02:00

lib: ecdsa: Add ECDSA384 support

Add ECDSA384 algorithm support for image signing and verification.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Chia-Wei Wang
2024-10-14 17:56:18 +08:00
committed by Tom Rini
parent 3794bbf9e0
commit 75068b1a2d
3 changed files with 19 additions and 3 deletions

View File

@@ -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