]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitcfa141841ae983f1111c9c3d58eae160595bcda0
tree00c969a8b64ccbb92d5447ec3bd895acbf6a952a
parent743a4e7604e2f0fe165e68b231e55dc136f0e592
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]