mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add va printouts
This commit is contained in:
parent
ebc0739bee
commit
6d2be1b6d7
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ class BasisDicts:
|
||||||
pp = v2p[dict_header_vaddr]
|
pp = v2p[dict_header_vaddr]
|
||||||
self.keys = {}
|
self.keys = {}
|
||||||
try:
|
try:
|
||||||
logging.debug('dict decrypt @ pp {:x}, nonce: {}'.format(pp, disk[pp:pp+12].hex()))
|
logging.debug('dict decrypt @ pp {:x} va {:x}, nonce: {}'.format(pp, dict_header_vaddr, disk[pp:pp+12].hex()))
|
||||||
cipher = AES_GCM_SIV(key, disk[pp:pp+12])
|
cipher = AES_GCM_SIV(key, disk[pp:pp+12])
|
||||||
pt_data = cipher.decrypt(disk[pp+12:pp+PAGE_SIZE], basis_aad(name, dna=dna))
|
pt_data = cipher.decrypt(disk[pp+12:pp+PAGE_SIZE], basis_aad(name, dna=dna))
|
||||||
# print('raw pt_data: {}'.format(pt_data[:127].hex()))
|
# print('raw pt_data: {}'.format(pt_data[:127].hex()))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue