scsidrminfo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
scsidrminfo [2009/04/24 17:41] – megadiscman | scsidrminfo [2009/10/24 23:36] – send key/report key are officially documented SCSI commands megadiscman | ||
---|---|---|---|
Line 4: | Line 4: | ||
==== Command A3: Write Crypto Stuff ==== | ==== Command A3: Write Crypto Stuff ==== | ||
- | (Sony calls it "Send Key") | + | (This is officially |
< | < | ||
Line 11: | Line 11: | ||
02: DWORD Object Number | 02: DWORD Object Number | ||
06: BYTE unused | 06: BYTE unused | ||
- | 07: BYTE | + | 07: BYTE |
08: WORD Size of cryptographic data | 08: WORD Size of cryptographic data | ||
0A: BYTE key type | 0A: BYTE key type | ||
Line 18: | Line 18: | ||
==== Command A4: Read Crypto Stuff ==== | ==== Command A4: Read Crypto Stuff ==== | ||
- | (Sony calls it "Request | + | (This is officially |
< | < | ||
Line 25: | Line 25: | ||
02: DWORD Object Number | 02: DWORD Object Number | ||
06: BYTE unsused | 06: BYTE unsused | ||
- | 07: BYTE | + | 07: BYTE |
08: WORD Size of cryptographic data | 08: WORD Size of cryptographic data | ||
0A: BYTE key type | 0A: BYTE key type | ||
Line 32: | Line 32: | ||
===== Data formats ===== | ===== Data formats ===== | ||
+ | even key types imply data transfer to device (using A3 command), whereas odd key types imply data transfer from device (using A4 command) | ||
+ | |||
+ | Generally, all unused fields are sent as zero. | ||
==== Key type 30: Authentication Token 1 ==== | ==== Key type 30: Authentication Token 1 ==== | ||
Line 89: | Line 92: | ||
0C: BYTES ICV data | 0C: BYTES ICV data | ||
XX: BYTES 8 Bytes MAC | XX: BYTES 8 Bytes MAC | ||
+ | </ | ||
+ | |||
+ | ==== Key type 38: secure clock ==== | ||
+ | This data packet is sent to the device | ||
+ | < | ||
+ | 00: BYTE unused | ||
+ | 01: BYTE constant 0 | ||
+ | 02: WORD unused | ||
+ | 04: BYTE unused | ||
+ | 05: BYTE constant 20 | ||
+ | 06: BYTE unused | ||
+ | 07: BYTE constant 8 | ||
+ | 08: DWORD unused | ||
+ | 0C: BYTE unused | ||
+ | 0D: BYTE Seconds | ||
+ | 0E: BYTE Minutes | ||
+ | 0F: BYTE Hour | ||
+ | 10: BYTE Day | ||
+ | 11: BYTE Month | ||
+ | 12: BYTE Year | ||
+ | 13: BYTE unused | ||
+ | 14: BYTES MAC | ||
+ | </ | ||
+ | |||
+ | ==== Key type 39: Unique ID ==== | ||
+ | This data packet is sent from the HiMD device to the host (expected length 192 bytes) | ||
+ | < | ||
+ | 00: DWORD unknown, maybe length in first two bytes | ||
+ | 04: WORD " | ||
+ | 06: BYTE Version | ||
+ | 07: BYTE Length | ||
+ | 08: BYTES Uid Data | ||
+ | </ | ||
+ | |||
+ | ==== Key type 3B: Leaf ID ==== | ||
+ | This data packet is sent from the HiMD device to the host | ||
+ | < | ||
+ | 00: WORD unknown, length? | ||
+ | 02: BYTES 8 Bytes leaf ID | ||
+ | </ | ||
+ | |||
+ | ==== Key type 3D: Disc ID ==== | ||
+ | < | ||
+ | 00: WORD unknown, length? | ||
+ | 02: BYTES 16 bytes disc ID | ||
</ | </ | ||
scsidrminfo.txt · Last modified: 2010/07/06 15:10 by megadiscman