Skip to content

Commit 6d2be1b

Browse files
committed
add va printouts
1 parent ebc0739 commit 6d2be1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/pddbcommon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def __init__(self, index, v2p, disk, key, name, dna=DNA):
282282
pp = v2p[dict_header_vaddr]
283283
self.keys = {}
284284
try:
285-
logging.debug('dict decrypt @ pp {:x}, nonce: {}'.format(pp, disk[pp:pp+12].hex()))
285+
logging.debug('dict decrypt @ pp {:x} va {:x}, nonce: {}'.format(pp, dict_header_vaddr, disk[pp:pp+12].hex()))
286286
cipher = AES_GCM_SIV(key, disk[pp:pp+12])
287287
pt_data = cipher.decrypt(disk[pp+12:pp+PAGE_SIZE], basis_aad(name, dna=dna))
288288
# print('raw pt_data: {}'.format(pt_data[:127].hex()))

0 commit comments

Comments
 (0)