MA-19065-1 Support widevine keybox provision
authorJi Luo <ji.luo@nxp.com>
Wed, 19 May 2021 05:48:05 +0000 (13:48 +0800)
committerJi Luo <ji.luo@nxp.com>
Fri, 21 May 2021 02:02:58 +0000 (10:02 +0800)
commitd7a760613efbeeea83ca4b8d9949941050e15805
tree8aad52a30a767f40b80a7b47ed6080097b77fa3d
parent6c3e9fbf53d4df861b5b17d339c3ce0a1b630868
MA-19065-1 Support widevine keybox provision

support widevine keybox provisioning via hwcrypto,
the keybox would be wrote into secure storage.

This commit supports two kinds of widevine keybox
provisioning: plain text keybox and encrypted keybox.

Command to provision the plain text keybox:
  $ fastboot stage <path-to-plain-text-keybox>
  $ fastboot oem provision-wv-keybox

Command to provision the encrypted text keybox:
  $ fastboot stage <path-to-encrypted-keybox>
  $ fastboot oem provision-wv-keybox-enc

Test: plain text/encrypted keybox provisioning on imx8mp.

Change-Id: I241afade415fc3e2b0a80d286b3cc4e8d702e620
Signed-off-by: Ji Luo <ji.luo@nxp.com>
drivers/fastboot/fb_fsl/fb_fsl_command.c
include/fb_fsl.h
include/interface/hwcrypto/hwcrypto.h
include/trusty/hwcrypto.h
include/trusty/libtipc.h
lib/trusty/ql-tipc/hwcrypto.c