summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2021-04-13 14:18:24 +0800
committerJi Luo <ji.luo@nxp.com>2022-04-18 16:40:10 +0800
commit4d54e716c0ce68e056105f12cc19a95e944246dc (patch)
treeddfbaaca1921fd5ba74e483abcddac37360519bf /lib
parentb89b3847e0b3d8e9b761860ea1e45dc4f12fbf27 (diff)
MA-18914 Don't load key from RPMB in hard-code case
Use hard-code public key instead of reading it from RPMB When "CONFIG_LOAD_KEY_FROM_RPMB" is setting to "n". Test: Boots on imx8mp. Change-Id: I701777a0cfe3790a4e38f2cbe858e1fbddc2552a Signed-off-by: Ji Luo <ji.luo@nxp.com> Reviewed-by: Wang Haoran <elven.wang@nxp.com> (cherry picked from commit 740eaa338b656b20611affb22572fe0a2253161d) (cherry picked from commit acf95d07b8d85efa7091cd8a361275c03d78b2fe)
Diffstat (limited to 'lib')
-rw-r--r--lib/avb/fsl/fsl_public_key.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/avb/fsl/fsl_public_key.h b/lib/avb/fsl/fsl_public_key.h
index f590cdb711..b3b6d65a3c 100644
--- a/lib/avb/fsl/fsl_public_key.h
+++ b/lib/avb/fsl/fsl_public_key.h
@@ -8,7 +8,7 @@
#ifndef __FSL_PUBLIC_KEY_H_
#define __FSL_PUBLIC_KEY_H_
/*This public key is generated from testkey_rsa4096.pem.*/
-unsigned char fsl_public_key[] = {
+static unsigned char fsl_public_key[] = {
0x00,0x00,0x10,0x00,0x55,0xd9,0x04,0xad,
0xd8,0x04,0xaf,0xe3,0xd3,0x84,0x6c,0x7e,
0x0d,0x89,0x3d,0xc2,0x8c,0xd3,0x12,0x55,