diff options
author | Joakim Tjernlund <joakim.tjernlund@infinera.com> | 2024-09-20 18:14:35 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-02 13:35:56 -0600 |
commit | 7bc5f66f55fd1a3106e8e6beb91949e0c34fc7b1 (patch) | |
tree | 2c77ca083a1d5fe3545505f47f1b2c71ccf54fcb /include/u-boot/ecdsa.h | |
parent | a280368b4874f44304c14bc117815855dea1969a (diff) |
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>
Diffstat (limited to 'include/u-boot/ecdsa.h')
-rw-r--r-- | include/u-boot/ecdsa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/u-boot/ecdsa.h b/include/u-boot/ecdsa.h index 53490c6b287..8f9f5e7d6e7 100644 --- a/include/u-boot/ecdsa.h +++ b/include/u-boot/ecdsa.h @@ -65,5 +65,6 @@ int ecdsa_verify(struct image_sign_info *info, /** @} */ #define ECDSA256_BYTES (256 / 8) +#define ECDSA521_BYTES ((521 + 7) / 8) #endif |