| dp14txss Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Macros | Functions
xdp_hdcp_keys.h File Reference

## Overview

This is the main header file for the Xilinx HDCP key loading utility used in the DP example design.

The HDCP cores are used for content protection according to the HDCP 1.4 and HDCP 2.2 specifications.

    MODIFICATION HISTORY:

    Ver   Who  Date       Changes

    1.0   ND   30-12-2020 Initial version

## Macros
#define | XDP_HDCP_KEYS_H_
| Prevent circular inclusions by using protection macros. More...
#define | XHdcp_KeyMgmtBlk_In32 Xil_In32
| Input Operations. More...
#define | XHdcp_KeyMgmtBlk_Out32 Xil_Out32
| Output Operations. More...

## Functions
int | XHdcp_LoadKeys (u8 *Hdcp22Lc128, u32 Hdcp22Lc128Size, u8 *Hdcp22RxPrivateKey, u32 Hdcp22RxPrivateKeySize, u8 *Hdcp14KeyA, u32 Hdcp14KeyASize, u8 *Hdcp14KeyB, u32 Hdcp14KeyBSize)
| This function loads the HDCP keys from the eeprom. More...
int | XHdcp_KeyManagerInit (u32 BaseAddress, u8 *Hdcp14Key)
| This function initialize the HDCP 1.4 key manager. More...

## Macro Definition Documentation

#define XDP_HDCP_KEYS_H_

Prevent circular inclusions by using protection macros.

#define XHdcp_KeyMgmtBlk_In32 Xil_In32

Input Operations.

#define XHdcp_KeyMgmtBlk_Out32 Xil_Out32

Output Operations.

## Function Documentation

int XHdcp_KeyManagerInit | ( | u32 | BaseAddress,
|  | u8 * | Hdcp14Key
| ) |  |

This function initialize the HDCP 1.4 key manager.

Returns
  - XST_SUCCESS if action was successful
  - XST_FAILURE if action was not successful

int XHdcp_LoadKeys | ( | u8 * | Hdcp22Lc128,
|  | u32 | Hdcp22Lc128Size,
|  | u8 * | Hdcp22RxPrivateKey,
|  | u32 | Hdcp22RxPrivateKeySize,
|  | u8 * | Hdcp14KeyA,
|  | u32 | Hdcp14KeyASize,
|  | u8 * | Hdcp14KeyB,
|  | u32 | Hdcp14KeyBSize
| ) |  |

This function loads the HDCP keys from the eeprom.

Returns
  - XST_SUCCESS if action was successful
  - XST_FAILURE if action was not successful