xref: /rk3399_ARM-atf/plat/arm/board/common/swd_rotpk/README (revision 98662a73c903b06f53c9f9da6a9404187fc10352)
1*98662a73Slaurenw-armThis directory contains some development keys to be used as the secure world
2*98662a73Slaurenw-armroot-of-trust key used in the CCA chain of trust.
3*98662a73Slaurenw-arm
4*98662a73Slaurenw-arm* swd_rotprivk_rsa.pem is a 2K RSA private key in PEM format. It has been
5*98662a73Slaurenw-arm  generated using the openssl command line tool:
6*98662a73Slaurenw-arm
7*98662a73Slaurenw-arm  openssl genrsa 2048 > arm_swd_rotprivk_rsa.pem
8*98662a73Slaurenw-arm
9*98662a73Slaurenw-arm* swd_rotpk_rsa_sha256.bin is the SHA-256 hash of the DER-encoded public key
10*98662a73Slaurenw-arm  associated with the above private key. It has been generated using the openssl
11*98662a73Slaurenw-arm  command line tool:
12*98662a73Slaurenw-arm
13*98662a73Slaurenw-arm  openssl rsa -in arm_swd_rotprivk_rsa.pem -pubout -outform DER | \
14*98662a73Slaurenw-arm    openssl dgst -sha256 -binary > arm_swd_rotpk_rsa_sha256.bin
15