Thu Oct 11 06:51:29 2012

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.

Definition at line 46 of file sha1.h.


Field Documentation

int Computed

Is the digest computed?

Definition at line 57 of file sha1.h.

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

int Corrupted

Is the message digest corrupted?

Definition at line 58 of file sha1.h.

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

uint32_t Intermediate_Hash[SHA1HashSize/4]

Definition at line 48 of file sha1.h.

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

uint32_t Length_High

Message length in bits

Definition at line 51 of file sha1.h.

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

uint32_t Length_Low

Message Digest Message length in bits

Definition at line 50 of file sha1.h.

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

uint8_t Message_Block[64]

512-bit message blocks

Definition at line 55 of file sha1.h.

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

8 bits actually suffice

Definition at line 54 of file sha1.h.

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


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

Generated on Thu Oct 11 06:51:29 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6