mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge patch series "aspeed: ast2700: Add Caliptra ECDSA driver"
Chia-Wei Wang <chiawei_wang@aspeedtech.com> says: Aspeed AST2700 SoCs integrates the Caliptra secure IP, where an ECDSA384 signature verification HW interface is exported for SoC crypto needs. This patch series firstly extends the FIT image signing/verify common code to support the ECDSA384 algorithm. For better convenience, the device tree for ECDSA public key storage is also revised by referring to RSA implementations. After the FIT common code revision, the driver is implemented for AST2700 to leverage the Caliptra ECDSA384 signature verification. These are verified by signed FIT images with the algorithm "sha384,ecdsa384". Link: https://lore.kernel.org/r/20241014095620.216936-1-chiawei_wang@aspeedtech.com
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user