Editing Keystone
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 8: | Line 8: | ||
== Structure == | == Structure == | ||
Size is always 96 | Size is always 96 bytes | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! From !! To !! Description | |||
|- | |- | ||
| | | 00 || 1F || MAGIC ("keystone") and some constant bytes | ||
|- | |- | ||
| | | || || 6b 65 79 73 74 6f 6e 65 02 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ||
|- | |||
| 20 || 3F || HMAC-SHA256 (32 bytes) of the bytes of the passcode using keystone_passcode_secret as key | |||
|- | |||
| 40 || 5F || HMAC-SHA256 (32 bytes) of the previous two sections using keystone_ks_secret as key | |||
|} | |} | ||
Line 70: | Line 73: | ||
00000050 b7 32 14 3b 91 cd 2e 4f ea 2d 20 53 10 6e b7 5d |.2.;...O.- S.n.]| | 00000050 b7 32 14 3b 91 cd 2e 4f ea 2d 20 53 10 6e b7 5d |.2.;...O.- S.n.]| | ||
</pre> | </pre> | ||