User Tools

Site Tools


scsidrminfo

This is an old revision of the document!


SCSI for DRM stuff on HiMD

Commands

Command A3: Write Crypto Stuff

(Sony calls it "Send Key")

00: BYTE  Command byte A3
01: BYTE  unused (might contain LUN)
02: DWORD Object Number
06: BYTE  unused
07: BYTE  Magic Byte BD
08: WORD  Size of cryptographic data
0A: BYTE  key type
0B: BYTE  unused

Command A4: Read Crypto Stuff

(Sony calls it "Request Key")

00: BYTE  Command byte A4
01: BYTE  unused, send as Zero (might contain LUN)
02: DWORD Object Number
06: BYTE  unsused
07: BYTE  Magic Byte BD
08: WORD  Size of cryptographic data
0A: BYTE  key type
0B: BYTE  unused

Data formats

Key type 30: Authentication Token 1

This data packet is sent from the Host to the HiMD device

00: WORD  Length, must be 0012
02: WORD  unsused
04: BYTES 8 bytes "Leaf ID of Host"
0C: BYTES 8 bytes "Nonce from Host"

Key type 31: Authentication Token 2

This data packet is sent from the HiMD device to the Host, the expected length is 43C (i.e. header + 64 keys?)

00: DWORD unknown, maybe length in first WORD
04: BYTES 16 bytes "Disc ID"
14: BYTES 8 bytes "MAC from Device"
1C: BYTES 8 bytes "Leaf ID of Device"
24: BYTES 8 bytes "Nonce from Device"
2C: BYTES The "local EKB of the Device" Starts with its length in 16 byte units - 1

Key type 32: Authentication Token 3

This data packet is sent from the Host to the HiMD device

00: WORD  Length, must be 41A
02: WORD  unused
04: BYTES 8 bytes "MAC from Host"
0C: BYTES The "local EKB of the Host"

Key type 33: Authentication Token 4

This data packet is sent from the HiMD device to the Host (expected length 404)

00: DWORD unknown, length?
04: BYTE  unknown, but used
05: BYTE  bit flags. Top 2 Bits are one field, the next two bits are further fields
                     Low 4 bits unused.
06: WORD  length of following data
08: DWORD unknown, but used
0C: BYTES data, length from field 6.
scsidrminfo.1240593460.txt.gz · Last modified: 2009/04/24 17:17 by megadiscman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki