161 lines
5.3 KiB
INI
161 lines
5.3 KiB
INI
|
# SignSuite : 签名秘钥类型
|
|||
|
# 0: ECDSA_SHA256
|
|||
|
# 1: ECDSA_SHA256_LEA_CTR
|
|||
|
# 2: ECDSA_SHA256_LEA_CBC_MAC
|
|||
|
# 3: ECDSA_SHA256_AES_CBC
|
|||
|
|
|||
|
# 10: SM2_SM3
|
|||
|
# 11: SM2_SM3_LEA_CTR
|
|||
|
# 12: SM2_SM3_LEA_CBC_MAC
|
|||
|
# 13: SM2_SM3_SM4_CBC
|
|||
|
|
|||
|
# 30: RSA 4096
|
|||
|
# 34: RSA 4096 - SHA256
|
|||
|
[SIGN_CFG]
|
|||
|
# 此SignSuite默认为ECDSA_SHA256_LEA_CTR类型
|
|||
|
SignSuite=1
|
|||
|
UpgImagePath =
|
|||
|
UpgSignedImagePath =
|
|||
|
RootKeyFile=build/config/target_config/ws63/sign_config/ec_bp256_oem_root_private_key.pem
|
|||
|
SubKeyFile=build/config/target_config/ws63/sign_config/ec_bp256_app_private_key.pem
|
|||
|
|
|||
|
[TOOLS]
|
|||
|
UpgToolPath=tools/bin/sign_tool/sign_tool_pltuni
|
|||
|
LzmaToolPath=tools/bin/lzma_tool/lzma_tool
|
|||
|
UpgToolWinPath=tools\bin\sign_tool\sign_tool_pltuni.exe
|
|||
|
LzmaToolWinPath=tools\bin\lzma_tool\lzma_tool.exe
|
|||
|
|
|||
|
# Default Single sign mode. If there are 'RootKeyFileExt' & 'SubKeyFileExt' then means Double Sign mode.
|
|||
|
# RootKeyFileExt=
|
|||
|
# SubKeyFileExt=
|
|||
|
[FOTA_KEY_AREA]
|
|||
|
ImageId=0xCB8D154E
|
|||
|
StructVersion=0x00010000
|
|||
|
KeyOwnerId=0
|
|||
|
KeyId=0
|
|||
|
# KeyAlg :Algorithm of the external public key:
|
|||
|
# 0x2A13C812: ECC256_SHA256 (校验签名)
|
|||
|
# 0x2A13C823: SM2_SM3
|
|||
|
# 0x2A13C845: RSA4096_SHA256
|
|||
|
# 0x2A13C856: SHA256(ECC256 FORMAT)
|
|||
|
# 0x2A13C867: SHA256(RSA4096) (校验hash)
|
|||
|
# 0x2A13C878: SM3_ONLY
|
|||
|
# Others: Invalid
|
|||
|
KeyAlg=0x2A13C812
|
|||
|
KeyVersion=0x00000000
|
|||
|
KeyVersionMask=0x00000000
|
|||
|
Msid=0x00000000
|
|||
|
MsidMask=0x00000000
|
|||
|
|
|||
|
[FOTA_INFO_AREA]
|
|||
|
ImageId=0xCB8D154E
|
|||
|
StructVersion=0x00010000
|
|||
|
Version=0x00000000
|
|||
|
VersionMask=0x00000000
|
|||
|
Msid=0x00000000
|
|||
|
MsidMask=0x00000000
|
|||
|
HardwareID=0
|
|||
|
|
|||
|
[flashboot]
|
|||
|
HeaderMagic=0x464F5451
|
|||
|
ImageId=0x4B1E3C2D
|
|||
|
# DecompressFlag :升级镜像模式标记
|
|||
|
# 0x3C7896E1 - compressed image
|
|||
|
# 0x44494646 - diff image
|
|||
|
# other :原始镜像不处理
|
|||
|
DecompressFlag=0x3C7896E1
|
|||
|
# ReRncFlag:升级镜像加密标记
|
|||
|
# 0x3C7896E1:加密
|
|||
|
# other:不加密
|
|||
|
ReRncFlag=0x0
|
|||
|
# RootKeyType : 用于加密图像的根密钥,在ReEncFlag启用时有效
|
|||
|
# 0 - ODRK0, for TEE runtime FW image.
|
|||
|
# 1 - ODRK1, for Protocol and REE Application image.
|
|||
|
RootKeyType=0x0
|
|||
|
# 用于解密更新映像秘钥的派生参数盐值16,在ReEncFlag启用时有效
|
|||
|
ProtectionKeyL1=00000000000000000000000000000000
|
|||
|
# 用于解密更新映像秘钥的派生参数盐值12,在ReEncFlag启用时有效
|
|||
|
ProtectionKeyL2=00000000000000000000000000000000
|
|||
|
# 用于加密更新映像的加密保护密钥,在ReEncFlag启用时有效
|
|||
|
PlainKey=6712E3ACC547DEEF9375159058521FEB
|
|||
|
Iv=00000000000000000000000000000000
|
|||
|
version_ext=0x00000000
|
|||
|
version_mask=0x00000000
|
|||
|
|
|||
|
[nv]
|
|||
|
HeaderMagic=0x464F5451
|
|||
|
ImageId=0xCB9E063C
|
|||
|
# DecompressFlag :升级镜像模式标记
|
|||
|
# 0 :原始镜像不处理 (nv只能使用该值)
|
|||
|
DecompressFlag=0x0
|
|||
|
# ReRncFlag:升级镜像加密标记
|
|||
|
# 0x3C7896E1:加密
|
|||
|
# other:不加密
|
|||
|
ReRncFlag=0x0
|
|||
|
# RootKeyType : 用于加密图像的根密钥,在ReEncFlag启用时有效
|
|||
|
# 0 - ODRK0, for TEE runtime FW image.
|
|||
|
# 1 - ODRK1, for Protocol and REE Application image.
|
|||
|
RootKeyType=0x0
|
|||
|
# 用于解密更新映像秘钥的派生参数盐值16,在ReEncFlag启用时有效
|
|||
|
ProtectionKeyL1=00000000000000000000000000000000
|
|||
|
# 用于解密更新映像秘钥的派生参数盐值12,在ReEncFlag启用时有效
|
|||
|
ProtectionKeyL2=00000000000000000000000000000000
|
|||
|
# 用于加密更新映像的加密保护密钥,在ReEncFlag启用时有效
|
|||
|
PlainKey=6712E3ACC547DEEF9375159058521FEB
|
|||
|
Iv=00000000000000000000000000000000
|
|||
|
version_ext=0x00000000
|
|||
|
version_mask=0x00000000
|
|||
|
|
|||
|
[application]
|
|||
|
HeaderMagic=0x464F5451
|
|||
|
ImageId=0x4B0F2D2D
|
|||
|
# DecompressFlag :升级镜像模式标记
|
|||
|
# 0x3C7896E1 - compressed image
|
|||
|
# 0x44494646 - diff image
|
|||
|
# other :原始镜像不处理
|
|||
|
# DecompressFlag=0x3C7896E1
|
|||
|
# DecompressFlag=0x44494646
|
|||
|
DecompressFlag=0x3C7896E1
|
|||
|
# ReRncFlag:升级镜像加密标记
|
|||
|
# 0x3C7896E1:加密
|
|||
|
# other:不加密
|
|||
|
ReRncFlag=0x0
|
|||
|
# RootKeyType : 用于加密图像的根密钥,在ReEncFlag启用时有效
|
|||
|
# 0 - ODRK0, for TEE runtime FW image.
|
|||
|
# 1 - ODRK1, for Protocol and REE Application image.
|
|||
|
RootKeyType=0x0
|
|||
|
# 用于解密更新映像秘钥的派生参数盐值16byte,在ReEncFlag启用时有效
|
|||
|
ProtectionKeyL1=00112233445566778899AABBCCDDEEFF
|
|||
|
# 用于解密更新映像秘钥的派生参数盐值前12byte,在ReEncFlag启用时有效
|
|||
|
ProtectionKeyL2=00112233445566778899AABB00000000
|
|||
|
# 用于加密更新映像的加密保护密钥,在ReEncFlag启用时有效
|
|||
|
PlainKey=70D37764279C2B086604078E8C577505
|
|||
|
#70D37764279C2B086604078E8C577505DEF83C1FD6E4D47BB464CF172F91156C ABRK ota加密
|
|||
|
Iv=FF000000000000000000000000000000
|
|||
|
version_ext=0x00000000
|
|||
|
version_mask=0x00000000
|
|||
|
|
|||
|
[hilink]
|
|||
|
HeaderMagic=0x464F5451
|
|||
|
ImageId=0x5A87A52D
|
|||
|
# DecompressFlag :升级镜像模式标记
|
|||
|
# 0x3C7896E1 - compressed image
|
|||
|
# 0x44494646 - diff image
|
|||
|
# other :原始镜像不处理
|
|||
|
# DecompressFlag=0x3C7896E1
|
|||
|
# DecompressFlag=0x44494646
|
|||
|
DecompressFlag=0x3C7896E1
|
|||
|
# ReRncFlag:升级镜像加密标记
|
|||
|
# 0x3C7896E1:加密
|
|||
|
# other:不加密
|
|||
|
ReRncFlag=0x0
|
|||
|
# RootKeyType : 用于加密图像的根密钥,在ReEncFlag启用时有效
|
|||
|
# 0 - ODRK0, for TEE runtime FW image.
|
|||
|
# 1 - ODRK1, for Protocol and REE Application image.
|
|||
|
RootKeyType=0x0
|
|||
|
# 用于解密更新映像的1级加密保护密钥,在ReEncFlag启用时有效
|
|||
|
ProtectionKeyL1=
|
|||
|
# 用于解密更新映像的2级加密保护密钥,在ReEncFlag启用时有效
|
|||
|
ProtectionKeyL2=
|
|||
|
version_ext=0x00000000
|
|||
|
version_mask=0x00000000
|