commit | ca9e9ec4c4e9361c0b52aa898e1dcb71345467ca | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <joakim.tjernlund@infinera.com> | Fri Sep 20 18:14:35 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Oct 02 13:35:56 2024 -0600 |
tree | 2c77ca083a1d5fe3545505f47f1b2c71ccf54fcb | |
parent | d6456b09c340db58d06209bb495b172c7d10f88b [diff] [blame] |
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>
diff --git a/include/u-boot/ecdsa.h b/include/u-boot/ecdsa.h index 53490c6..8f9f5e7 100644 --- a/include/u-boot/ecdsa.h +++ b/include/u-boot/ecdsa.h
@@ -65,5 +65,6 @@ /** @} */ #define ECDSA256_BYTES (256 / 8) +#define ECDSA521_BYTES ((521 + 7) / 8) #endif