User Tools

Site Tools


scsidrminfo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scsidrminfo [2009/04/24 18:14] megadiscmanscsidrminfo [2010/07/06 15:10] (current) megadiscman
Line 4: Line 4:
  
 ==== Command A3: Write Crypto Stuff ==== ==== Command A3: Write Crypto Stuff ====
-(Sony calls it "Send Key")+(This is officially "Send Key", but only on CD/DVD devices...)
  
 <code> <code>
Line 11: Line 11:
 02: DWORD Object Number 02: DWORD Object Number
 06: BYTE  unused 06: BYTE  unused
-07: BYTE  Magic Byte BD+07: BYTE  Key class - For Sony DRM: BD
 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 "Report Key")+(This is officially "Report Key", but only on CD/DVD devices...)
  
 <code> <code>
Line 25: Line 25:
 02: DWORD Object Number 02: DWORD Object Number
 06: BYTE  unsused 06: BYTE  unsused
-07: BYTE  Magic Byte BD+07: BYTE  Key class - For Sony DRM: BD
 08: WORD  Size of cryptographic data 08: WORD  Size of cryptographic data
 0A: BYTE  key type 0A: BYTE  key type
Line 71: Line 71:
 <code> <code>
 00: DWORD unknown, length? 00: DWORD unknown, length?
-04: BYTE  unknown, but used+04: BYTE  unknown, must be zero
 05: BYTE  bit flags. Bits 6,7: encryption type (0=plain, 2=des ecb, 3=des cbc) 05: BYTE  bit flags. Bits 6,7: encryption type (0=plain, 2=des ecb, 3=des cbc)
                      Bit  5:   MAC flag                      Bit  5:   MAC flag
                      Bit  4:   DIR flag                      Bit  4:   DIR flag
 06: WORD  length of following data 06: WORD  length of following data
-08: DWORD unknown, but used+08: DWORD generation number
 0C: BYTES data, length from field 6. 0C: BYTES data, length from field 6.
 +..: BYTES MAC, only present if MAC bit is set. NOT included in length
 </code> </code>
  
Line 88: Line 89:
 05: BYTE  bit flags, same bits used as in Type 33 05: BYTE  bit flags, same bits used as in Type 33
 06: WORD  length of ICV data 06: WORD  length of ICV data
-08: WORD  Revision +08: DWORD Generation number
-0A: WORD  unknown, but used+
 0C: BYTES ICV data 0C: BYTES ICV data
 XX: BYTES 8 Bytes MAC XX: BYTES 8 Bytes MAC
Line 117: Line 117:
  
 ==== Key type 39: Unique ID ==== ==== Key type 39: Unique ID ====
 +This data packet is sent from the HiMD device to the host (expected length 192 bytes)
 +<code>
 +00: DWORD unknown, maybe length in first two bytes
 +04: WORD  "UidCode"
 +06: BYTE  Version
 +07: BYTE  Length
 +08: BYTES Uid Data
 +</code>
  
 ==== Key type 3B: Leaf ID ==== ==== Key type 3B: Leaf ID ====
 +This data packet is sent from the HiMD device to the host
 +<code>
 +00: WORD  unknown, length?
 +02: BYTES 8 Bytes leaf ID
 +</code>
  
 ==== Key type 3D: Disc ID ==== ==== Key type 3D: Disc ID ====
 <code> <code>
-00: WORD  unusused, length?+00: WORD  unknown, length?
 02: BYTES 16 bytes disc ID 02: BYTES 16 bytes disc ID
 </code> </code>
  
scsidrminfo.1240596884.txt.gz · Last modified: 2009/04/24 18:14 by megadiscman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki