Switch System Flaws: Difference between revisions

No edit summary
No edit summary
Line 38: Line 38:
The Tegra X1 security engine supports writing keyslot data to the engine with syntax as follows:  
The Tegra X1 security engine supports writing keyslot data to the engine with syntax as follows:  


SECURITY_ENGINE->AES_KEYTABLE_ADDR = (keyslot << 24) | (dword_index_in_keyslot);  
SECURITY_ENGINE->AES_KEYTABLE_ADDR = (keyslot << 4) | (dword_index_in_keyslot);  


SECURITY_ENGINE->AES_KEYTABLE_DATA = readle32(key, dword_index_in_keyslot * 4);  
SECURITY_ENGINE->AES_KEYTABLE_DATA = readle32(key, dword_index_in_keyslot * 4);