Editing Iplloader
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 459: | Line 459: | ||
* ECDSA verification (as specified in the KIRK header) must be enforced on the last KIRK-encrypted block | * ECDSA verification (as specified in the KIRK header) must be enforced on the last KIRK-encrypted block | ||
* The last 0x20 bytes of the block contain a SHA1 hash encrypted with KIRK command 7 and keyseed = 0x6C | * The last 0x20 bytes of the block contain a SHA1 hash encrypted with KIRK command 7 and keyseed = 0x6C | ||
The block hash is calculated using: <pre>sha1(block[8:] + block[:8])</pre> | The block hash is calculated using: | ||
<pre> | |||
sha1(block[ 8 : ] + block [ : 8]) | |||
</pre> | |||
The first 8 bytes of the payload (containing the first half of the block header) are copied to the end before the block is hashed. | |||
The last block hash remains in memory and is xored in each SHA1 for each block, the result is used for the hash compare in the Kirk command 0x10 ECDSA check. | The last block hash remains in memory and is xored in each SHA1 for each block, the result is used for the hash compare in the Kirk command 0x10 ECDSA check. |