Mon Jun 27 16:51:25 2011

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.

int Corrupted

Is the message digest corrupted?

Definition at line 58 of file sha1.h.

uint32_t Intermediate_Hash[SHA1HashSize/4]

Definition at line 48 of file sha1.h.

uint32_t Length_High

Message length in bits

Definition at line 51 of file sha1.h.

uint32_t Length_Low

Message Digest Message length in bits

Definition at line 50 of file sha1.h.

uint8_t Message_Block[64]

512-bit message blocks

Definition at line 55 of file sha1.h.

uint32_t Message_Block_Index

8 bits actually suffice

Definition at line 54 of file sha1.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:25 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7