Sun Oct 16 2011 08:43:15

Asterisk developer's documentation


SHA1Context Struct Reference

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

#include <sha1.h>

Data Fields

int Computed
int Corrupted
uint32_t Intermediate_Hash [SHA1HashSize/4]
uint32_t Length_High
uint32_t Length_Low
uint8_t Message_Block [64]
uint32_t Message_Block_Index

Detailed Description

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


Field Documentation

int Computed

Is the digest computed?

Definition at line 57 of file sha1.h.

Referenced by SHA1Reset(), SHA1Result(), and SHA1Input().

int Corrupted

Is the message digest corrupted?

Definition at line 58 of file sha1.h.

Referenced by SHA1Reset(), SHA1Result(), and SHA1Input().

uint32_t Intermediate_Hash[SHA1HashSize/4]

Definition at line 48 of file sha1.h.

Referenced by SHA1Reset(), SHA1Result(), and SHA1ProcessMessageBlock().

uint32_t Length_High

Message length in bits

Definition at line 51 of file sha1.h.

Referenced by SHA1Reset(), SHA1Result(), SHA1Input(), and SHA1PadMessage().

uint32_t Length_Low

Message Digest Message length in bits

Definition at line 50 of file sha1.h.

Referenced by SHA1Reset(), SHA1Result(), SHA1Input(), and SHA1PadMessage().

uint8_t Message_Block[64]

512-bit message blocks

Definition at line 55 of file sha1.h.

Referenced by SHA1Result(), SHA1Input(), SHA1ProcessMessageBlock(), and SHA1PadMessage().

8 bits actually suffice

Definition at line 54 of file sha1.h.

Referenced by SHA1Reset(), SHA1Input(), SHA1ProcessMessageBlock(), and SHA1PadMessage().


The documentation for this struct was generated from the following file: