v_hdmirxss: sha2.c File Reference

| v_hdmirxss Xilinx SDK Drivers API Documentation

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

Functions
sha2.c File Reference

## Overview

This file contains the implementation of the SHA-2 Secure Hashing Algorithm.

     MODIFICATION HISTORY:

     Ver   Who  Date     Changes

     1.00  MH   10/30/15 First Release

## Functions
void | XHdcp22Cmn_Sha256Hash (const u8 *Data, u32 DataSize, u8 *HashedData)
| This function computes a SHA256 hash on a array of data. More...

## Function Documentation

void XHdcp22Cmn_Sha256Hash | ( | const u8 * | Data,
|  | u32 | DataSize,
|  | u8 * | HashedData
| ) |  |

This function computes a SHA256 hash on a array of data.

Parameters

  Data | is the data on which a hash is calculated.
  DataSize | is the size of the data array..
  HashedData | is a 256-bits size hash.

Returns
  None.

Note
  None.

Referenced by XHdcp22Cmn_HmacSha256Hash().