aspeed: ast2700: Add Caliptra ECDSA driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyIn review
- v24 patches 2 repliesSuperseded
- v14 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- rebase on master branch and drop "[PATCH v2 2/4] lib: ecdsa: Create device tree node automatically" due to the duplicate change.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib: ecdsa: Add ECDSA384 supportinclude/ lib/ tools/ | +19 | 0 replies | |
| 2/3 | image-fit-sig: Remove padding checkboot/ | +1 | 0 replies | |
| 3/3 | drivers/crypto: aspeed: Add Caliptra ECDSA384 supportdrivers/ drivers/ drivers/ | +195 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] aspeed: ast2700: Add Caliptra ECDSA driver
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".
v3 change:
- rebase on master branch and drop "[PATCH v2 2/4] lib: ecdsa: Create device tree node automatically" due to the duplicate change.
v2 change:
- revise the commit message of padding check removal for better explanation
- remove redundant check in static function
- revise errno and error message as suggested by Simon
- collect Reviewed-by tags
Chia-Wei Wang (3):
lib: ecdsa: Add ECDSA384 support
image-fit-sig: Remove padding check drivers/crypto: aspeed: Add Caliptra ECDSA384 support
boot/image-fit-sig.c | 2 +- drivers/crypto/aspeed/Kconfig | 10 ++ drivers/crypto/aspeed/Makefile | 1 + drivers/crypto/aspeed/cptra_ecdsa.c | 184 ++++++++++++++++++++++++++++ include/u-boot/ecdsa.h | 1 + lib/ecdsa/ecdsa-verify.c | 14 ++- tools/image-sig-host.c | 7 ++ 7 files changed, 215 insertions(+), 4 deletions(-) create mode 100644 drivers/crypto/aspeed/cptra_ecdsa.c
Signature · 1 line
2.25.1