We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0935784 commit cd134c3Copy full SHA for cd134c3
scripts/opentitan/ot/otp/partition.py
@@ -164,11 +164,15 @@ def emit(fmt, *args):
164
if itdef.get('ismubi'):
165
emit('%-46s (decoded) %s',
166
name, str(OtpMap.MUBI8_BOOLEANS.get(ival, ival)))
167
- elif itsize == 4 and ival in OtpMap.HARDENED_BOOLEANS:
+ continue
168
+ if itsize == 4 and ival in OtpMap.HARDENED_BOOLEANS:
169
170
name, str(OtpMap.HARDENED_BOOLEANS[ival]))
- else:
171
- emit('%-46s %x', name, ival)
172
+ emit('%-46s %x', name, ival)
173
+ if self._digest_bytes is not None:
174
+ emit('%-46s %s', f'{pname}:DIGEST',
175
+ hexlify(self._digest_bytes).decode())
176
177
178
class OtpLifecycleExtension(OtpPartitionDecoder):
0 commit comments