| v_hdmirxss1 Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Macros | Functions
xhdmi_hdcp_keys.h File Reference

## Overview

This is the main header file for the Xilinx HDCP key loading utility used in the HDMI 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   MG   26-01-2016 Initial version

## Macros
#define | XHDMI_HDCP_KEYS_H_
| Prevent circular inclusions by using protection macros. More...

## Functions
int | XHdcp_LoadKeys (void *IicPtr, 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 XHDMI_HDCP_KEYS_H_

Prevent circular inclusions by using protection macros.

## 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 | ( | void * | IicPtr,
|  | 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