]> git.ipfire.org Git - thirdparty/u-boot.git/commit - cmd/Kconfig
cmd: SCP03: enable and provision command
authorJorge Ramirez-Ortiz <jorge@foundries.io>
Sun, 14 Feb 2021 15:27:24 +0000 (16:27 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 13 Mar 2021 18:14:52 +0000 (13:14 -0500)
commit26839e5ddee369ea68acd8cbc8e24c7180c17e82
tree00c969a8b64ccbb92d5447ec3bd895acbf6a952a
parent166363f2ed9e72ed3e2bf09d9317d6a5fdafcbea
cmd: SCP03: enable and provision command

Enable and provision the SCP03 keys on a TEE controlled secured elemt
from the U-Boot shell.

Executing this command will generate and program new SCP03 encryption
keys on the secure element NVM.

Depending on the TEE implementation, the keys would then be stored in
some persistent storage or better derived from some platform secret
(so they can't be lost).

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
cmd/Kconfig
cmd/Makefile
cmd/scp03.c [new file with mode: 0644]