The hdcp_key_utility.c has two (empty) HDCP 1.x key arrays.
- The Hdcp14Key1 array.
This array holds the HDCP 1.x RX KSV and Keys.
- The Hdcp14Key2 array.
This array holds the HDCP 1.x RX KSV and Keys.
The arrays have a size of 328 bytes and contain the Key Selection Vector (KSV) (5 bytes padded with zeros to 8 bytes) and key set (320 bytes), where each key is 7 bytes padded with zeros to 8 bytes.
To format the HDCP 1.x keys for the key_utility, use the following steps:
- Discard the 20 byte SHA-1.
- Pad each key on the right with one byte of 0s (KSV is already padded).
You should now have 1 x 8 byte KSV + 40 x 8 byte Keys.