MA-15151 Limit some hwcrypto commands within bootloader
authorJi Luo <ji.luo@nxp.com>
Wed, 17 Jul 2019 04:21:09 +0000 (12:21 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 25 Jul 2019 09:06:00 +0000 (17:06 +0800)
commit3fc3f521957677b1f363624494ed866985a25505
treee51d3e45e5893fadf602bffa5acfdfd96fc9c6f3
parent6c1087c030de491a12b7f1be9d332f30ba27d183
MA-15151 Limit some hwcrypto commands within bootloader

It can be dangerous to export some hwcrypto commands to Linux,
add commands to limit some commands within bootloader.

Test: hwcrypto commands can't be used after locking boot state.

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