xref: /rk3399_ARM-atf/plat/arm/board/common/protpk/README (revision 32e26c067a21ae1dda62f63055b6c4264dbb45d0)
1*32e26c06SSandrine BailleuxThis directory contains some development keys to be used as the platform
2*32e26c06SSandrine Bailleuxroot-of-trust key.
3*32e26c06SSandrine Bailleux
4*32e26c06SSandrine Bailleux* arm_protprivk_rsa.pem is a 2K RSA private key in PEM format. It has been
5*32e26c06SSandrine Bailleux  generated using the openssl command line tool:
6*32e26c06SSandrine Bailleux
7*32e26c06SSandrine Bailleux  openssl genrsa 2048 > arm_protprivk_rsa.pem
8*32e26c06SSandrine Bailleux
9*32e26c06SSandrine Bailleux* arm_protpk_rsa_sha256.bin is the SHA-256 hash of the DER-encoded public key
10*32e26c06SSandrine Bailleux  associated with the above private key. It has been generated using the openssl
11*32e26c06SSandrine Bailleux  command line tool:
12*32e26c06SSandrine Bailleux
13*32e26c06SSandrine Bailleux  openssl rsa -in arm_protprivk_rsa.pem -pubout -outform DER | \
14*32e26c06SSandrine Bailleux    openssl dgst -sha256 -binary > arm_protpk_rsa_sha256.bin
15