hdcp1x: SHA1Context Struct Reference

| hdcp1x Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

- Data Structures
- Data Fields

Data Fields
SHA1Context Struct Reference

This structure will hold context information for the SHA-1 hashing operation. More...

## Data Fields
uint32_t | Intermediate_Hash [SHA1HashSize/4]
| Message Digest. More...
uint32_t | Length_Low
| Message length in bits. More...
uint32_t | Length_High
| Message length in bits. More...
int_least16_t | Message_Block_Index
| Index into message block array. More...
uint8_t | Message_Block [64]
| 512-bit message blocks More...
int | Computed
| Is the digest computed? More...
int | Corrupted
| Is the message digest corrupted? More...

## Detailed Description

This structure will hold context information for the SHA-1 hashing operation.

## Field Documentation

int SHA1Context::Computed

Is the digest computed?

int SHA1Context::Corrupted

Is the message digest corrupted?

uint32_t SHA1Context::Intermediate_Hash[SHA1HashSize/4]

Message Digest.

uint32_t SHA1Context::Length_High

Message length in bits.

uint32_t SHA1Context::Length_Low

Message length in bits.

uint8_t SHA1Context::Message_Block[64]

512-bit message blocks

int_least16_t SHA1Context::Message_Block_Index

Index into message block array.