v_hdmitxss: xhdmi_hdcp_keys.c File Reference

| v_hdmitxss Xilinx SDK Drivers API Documentation

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

Functions
xhdmi_hdcp_keys.c File Reference

## Overview

This file contains the Xilinx HDCP key loading utility implementation as used in the HDMI example design.

Please see xhdmi_hdcp_keys.h for more details.

    MODIFICATION HISTORY:

    Ver   Who  Date       Changes

    1.0   MG   26-01-2016 Initial release
    1.1   YH   04-08-2016 Bypass HDCP Key password for VIPER run in board farm
    1.2   GM   12-07-2017 Changed printf usage to xil_printf
                          Changed "\n\r" in xil_printf calls to "\r\n"

## 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...

## 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