1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-06 18:54:57 +02:00

Add mkimage secp521r1 ECDSA curve support

Adds support for the secp521r1 ECDSA algorithm to mkimage.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Joakim Tjernlund
2024-09-20 18:14:35 +02:00
committed by Tom Rini
parent a280368b48
commit 7bc5f66f55
3 changed files with 9 additions and 1 deletions

View File

@@ -65,5 +65,6 @@ int ecdsa_verify(struct image_sign_info *info,
/** @} */
#define ECDSA256_BYTES (256 / 8)
#define ECDSA521_BYTES ((521 + 7) / 8)
#endif