NetMD.EKB (NetMD v0.1.0)

Copy Markdown View Source

Enabling Key Blocks for the NetMD secure session, from netmd-js.

The open-source EKB works with every stock device; decks with a corrupted (all 0xFF) leaf ID get a purpose-built EKB by Sir68k.

Summary

Types

t()

An enabling key block.

Functions

EKB for Sony decks with a corrupted leaf ID, by Sir68k.

Pick the EKB for a device by its leaf ID and USB ids.

The open-source EKB accepted by stock devices.

Types

t()

@type t() :: %NetMD.EKB{
  chain: [<<_::128>>],
  depth: pos_integer(),
  id: non_neg_integer(),
  root_key: <<_::128>>,
  signature: <<_::192>>
}

An enabling key block.

Functions

corrupted_deck()

@spec corrupted_deck() :: t()

EKB for Sony decks with a corrupted leaf ID, by Sir68k.

for_device(leaf_id, vendor_id, product_id)

@spec for_device(binary(), 0..65535, 0..65535) :: t()

Pick the EKB for a device by its leaf ID and USB ids.

open_source()

@spec open_source() :: t()

The open-source EKB accepted by stock devices.