Skip to content

arm: stm32mp: adapt the command stm32key for STM32MP13x

Patrick Delaunay u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm: stm32mp: add defines for BSEC_LOCK status in stm32key commandarch/arm/mach-stm32mp/cmd_stm32key.c+9 -61 reply
2/4arm: stm32mp: introduced read_close_status function in stm32key commandarch/arm/mach-stm32mp/cmd_stm32key.c+65 -421 reply
3/4arm: stm32mp: support several key in command stm32keyarch/arm/mach-stm32mp/cmd_stm32key.c+149 -461 reply
4/4arm: stm32mp: adapt the command stm32key for STM32MP13xarch/arm/mach-stm32mp/cmd_stm32key.c+45 -71 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPatrice Chotard
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] arm: stm32mp: adapt the command stm32key for STM32MP13x

And support the 2 keys for STM32MP13x
- PKHTH : Hash of the 8 ECC Public Keys Hashes Table (ECDSA is the authentication algorithm)
- EDMK : Encryption/Decryption Master Key

Only one key is supported for STM32MP15x
- PKH : Hash of the ECC Public Key
(ECDSA is the authentication algorithm)

This STM32KEY command is used in STM32MP SoCs to provision the keys in the correct OTP needed to activate secure boot features:
authentication and encryption.

See [1] for details

[1] STM32 MPU wiki
https://wiki.st.com/stm32mpu/wiki/How_to_use_U-Boot_stm32key_command

Patrick Delaunay (4):
arm: stm32mp: add defines for BSEC_LOCK status in stm32key command
arm: stm32mp: introduced read_close_status function in stm32key
command
arm: stm32mp: support several key in command stm32key
arm: stm32mp: adapt the command stm32key for STM32MP13x

 arch/arm/mach-stm32mp/cmd_stm32key.c | 331 ++++++++++++++++++++-------
 1 file changed, 249 insertions(+), 82 deletions(-)
Signature · 1 line
2.25.1