New_Seed_Source.cpp
int SHA1Reset(SHA1Context *context) {
	if (!context) {
		return shaNull;
	}
	context->Length_Low = 0;
	context->Length_High = 0;
	context->Message_Block_Index = 0;

	context->Intermediate_Hash[0] = 0x67452301;
	context->Intermediate_Hash[1] = 0xEFCDAB89;
	context->Intermediate_Hash[2] = 0x98BADCFE;
	context->Intermediate_Hash[3] = 0x10325476;
	context->Intermediate_Hash[4] = 0xC3D2E1F0;

	context->Computed = 0;
	context->Corrupted = 0;

	return shaOk;
}
/*
* SHA1 Reset
*
* This function will initialize the SHA1Context in preparation for computing
* a new SHA1 message digest.
*
* It initializes Length_Low, Length_High and Message_block_index to zero
*
* Returns SHA1 Error code
*/
SHA1 Reset
This function will initialize the SHA1Context in preparation for computing
a new SHA1 message digest.



Returns SHA1 Error code
SHA1 Reset This function will initialize the SHA1Context in preparation for computing a new SHA1 message digest . Returns SHA1 Error code
int SHA1Reset(SHA1Context *context) {
	if (!context) {
		return shaNull;
	}
	context->Length_Low = 0;
	context->Length_High = 0;
	context->Message_Block_Index = 0;
	context->Intermediate_Hash[0] = 0x67452301;
	context->Intermediate_Hash[1] = 0xEFCDAB89;
	context->Intermediate_Hash[2] = 0x98BADCFE;
	context->Intermediate_Hash[3] = 0x10325476;
	context->Intermediate_Hash[4] = 0xC3D2E1F0;
	context->Computed = 0;
	context->Corrupted = 0;
	return shaOk;
}
int SHA1Reset ( SHA1Context * context ) { if ( ! context ) { return shaNull ; } context -> Length_Low = 0 ; context -> Length_High = 0 ; context -> Message_Block_Index = 0 ; context -> Intermediate_Hash [ 0 ] = 0x67452301 ; context -> Intermediate_Hash [ 1 ] = 0xEFCDAB89 ; context -> Intermediate_Hash [ 2 ] = 0x98BADCFE ; context -> Intermediate_Hash [ 3 ] = 0x10325476 ; context -> Intermediate_Hash [ 4 ] = 0xC3D2E1F0 ; context -> Computed = 0 ; context -> Corrupted = 0 ; return shaOk ; }
SHA1 Reset
This function will initialize the SHA1Context in preparation for computing
a new SHA1 message digest.
SHA1 Reset This function will initialize the SHA1Context in preparation for computing a new SHA1 message digest .