| { |
| "version": "0.0.2", |
| "magic_num": "0x000100000046504d", |
| "bl_version": 0, |
| "public_key": "0x2ecc5c840b628386025e74b69180ce2afced3c4bcd53a31d53e6a0dc631d9120223f3e9d4c98b8e243dbe22719046bd990a81d54c9f5b75b744ad4caccfae50b", |
| # "public_key": "0xcc72f96eb58964c8726ebe6978139ef567499d38af85055bebd2c9adac992c1c844d33117e12f9f3ad110e951f93b1e6b82ee2b5e62cee846a5218e079356ef4bc338061acef96ad907b06c0655356ffc64ae2bf5b82b31720409e0423bb6f9a", |
| |
| /* |
| 0: IMG_AUTH_NONE |
| 1: IMG_AUTH_CUS |
| */ |
| "sbc_auth_inf": 0, |
| |
| /* signature algorithm |
| 0: ECDSA NIST p256 |
| 1: ECDSA NIST p384 |
| 2: AES CMAC |
| 3: HMAC SHA256 |
| 4: NONSB SHA256 |
| 5: NONSB SHA384 |
| */ |
| "sbc_auth_alg": 0, |
| |
| |
| /* images information */ |
| "images": [ |
| { |
| /* HSM rtos */ |
| "img_file": "hsm.bin", |
| "img_enc_inf": 0, |
| "img_enc_alg": 0, |
| "img_iv": "0xa5a5a5a5a6a6a6a6a7a7a7a7a8a8a8a8", |
| } |
| |
| ], |
| |
| "load_srcipt_cmd": [ |
| { |
| /* HSM rots */ |
| "cmd": "LOAD", |
| "img_file": "hsm.bin", |
| "addr": "0x14170000" |
| }, |
| { |
| "cmd": "MCU-ENTRY", |
| "mcu_id": 1, |
| "addr": "0x14170400" |
| } |
| ], |
| |
| /* |
| 0: sign key and enc key input are from json file |
| 1: sign key and enc key input are from the command line |
| */ |
| "cmd_line_key": 0, |
| /* sign key : ECDSA + PEM format |
| 0: use above "sign_priv_key" for AES128 CMAC, HMAC-SHA25, ECDSA |
| 1: key is from pem format, just for ECDSA |
| */ |
| "pem_key_format": 0, |
| |
| /* sign key for ECDSA NIST p256 */ |
| "sign_priv_key": "0xc1bee4fa86af8684677caeeea88ab0723e554aef0160b8fc653c0e00080f4f78", |
| |
| /* sign key for ECDSA NIST p384 */ |
| #"sign_priv_key": "0x55640ac9f5c622ac328e95fb11ebc8749b1e3b69007a19a9e44681a68f8ebc1dc58257b967b19e8dea7a7bf129b6bb4c", |
| |
| /* sign key for AES128 CMAC, HMAC-SHA256 */ |
| # "sign_priv_key": "0x000102030405060708090a0b0c0d0e0f", |
| |
| /* encrypt symmetric key */ |
| #"aes_enc_sym_key": "0x000102030405060708090a0b0c0d0e0f", |
| "aes_enc_sym_key": "0x000102030405060708090a0b0c0d0e0f00000000000000000000000000000000", |
| } |
| |