Thanks Yuri,
Yes it is understood that otpmk can only be accessed by CAAM and it is factory burned. But how can we get 100% sure that these chips have been shipped with otpmk. Is there any user level access to SNVS_HP Status Register possible?
Also I did not find any error logs from dmesg except this.
$dmesg | grep -i caam
-snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
Also $dmesg | grep caam shows some **-bit clear/black keys hex with following headings:
platform caam_sm: 64-bit clear key:
platform caam_sm: 64-bit black key:
platform caam_sm: 128-bit clear key:
platform caam_sm: 128-bit black key:
platform caam_sm: 192-bit clear key:
platform caam_sm: 192-bit black key:
platform caam_sm: 256-bit clear key:
platform caam_sm: 256-bit black key:
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: 64-bit black key in blob:
platform caam_sm: 128-bit black key in blob:
platform caam_sm: 192-bit black key in blob:
platform caam_sm: 256-bit black key in blob:
platform caam_sm: restored 64-bit black key:
platform caam_sm: restored 128-bit black key:
platform caam_sm: restored 192-bit black key:
platform caam_sm: restored 256-bit black key:
Thanks,
-Huz