Hi,
I want to confirm the generation of the OTPMK and SRKH.
Are the OTPMK and SRKH will generate when using flex-builder -m ls1088ardb -a arm64 -s to build code?
Or do I need to use the command ./gen_otpmk_drbg --b 2 to generate the OTPMK and ./uni_sign --hash to generate the SRKH
In addition, I also want to confirm the byte swap of the OTPMK and the SRKH, if the generated OTPMK is as follows
OTPMK[255:0] is:
2e89c524788e777bef7abff23635627e65070e76b3aca9dab5214243d6808a11
NAME | BITS | VALUE
_________|______________|____________
OTPMKR 0 | 255-224 | 2e89c524
OTPMKR 1 | 223-192 | 788e777b
OTPMKR 2 | 191-160 | ef7abff2
OTPMKR 3 | 159-128 | 3635627e
OTPMKR 4 | 127- 96 | 65070e76
OTPMKR 5 | 95- 64 | b3aca9da
OTPMKR 6 | 63- 32 | b5214243
OTPMKR 7 | 31- 0 | d6808a11
The byte swap of the OTPMK I do is the following.
Is it correct?
=> mw 0x1e80234 0x24c5892e
=> mw 0x1e80238 0x7b778e78
=> mw 0x1e8023c 0xf2bf7aef
=> mw 0x1e80240 0x7e623536
=> mw 0x1e80244 0x760e0765
=> mw 0x1e80248 0xdaa9acb3
=> mw 0x1e8024c 0x434221b5
=> mw 0x1e80250 0x118a80d6
Similarly, if the generated SRKH is as follows.
SRK (Public Key) Hash:
b0afeac4309c3d913e2c33a59396b4c396b5e240d5b17fbb4cd088a938704fdc
SFP SRKHR0 = b0afeac4
SFP SRKHR1 = 309c3d91
SFP SRKHR2 = 3e2c33a5
SFP SRKHR3 = 9396b4c3
SFP SRKHR4 = 96b5e240
SFP SRKHR5 = d5b17fbb
SFP SRKHR6 = 4cd088a9
SFP SRKHR7 = 38704fdc
The byte swap of the SRKH I do is the following.
=> mw 0x1e80254 0xc4eaafb0
=> mw 0x1e80258 0x913d9c30
=> mw 0x1e8025c 0xa5332c3e
=> mw 0x1e80260 0xc3b49693
=> mw 0x1e80264 0x40e2b596
=> mw 0x1e80268 0xbb7fb1d5
=> mw 0x1e8026c 0xa988d04c
=> mw 0x1e80270 0xdc4f7038
Is it correct?
Thanks