libraries/WM_Libraries/Platform/Common/crypto/wm_crypto_hard.c
void tls_crypto_sha1_init(psDigestContext_t * md)
{
	md->sha1.state[0] = 0x67452301UL;
	md->sha1.state[1] = 0xefcdab89UL;
	md->sha1.state[2] = 0x98badcfeUL;
	md->sha1.state[3] = 0x10325476UL;
	md->sha1.state[4] = 0xc3d2e1f0UL;
	md->sha1.curlen = 0;
#ifdef HAVE_NATIVE_INT64
	md->sha1.length = 0;
#else
	md->sha1.lengthHi = 0;
	md->sha1.lengthLo = 0;
#endif /* HAVE_NATIVE_INT64 */
}
/**
 * @brief			This function initializes Message-Diggest context for usage in SHA1 algorithm, starts a new SHA1 operation and writes a new Digest Context. 
 *
 * @param[in]		md 		Pointer to the SHA1 Digest Context. 
 *
 * @retval		0		success 
 * @retval		other	failed	
 *
 * @note			None
 */
@brief                       This function initializes Message-Diggest context for usage in SHA1 algorithm, starts a new SHA1 operation and writes a new Digest Context.
@param[in]           md              Pointer to the SHA1 Digest Context.

@retval              0               success
@retval              other   failed

@note                        None
@brief This function initializes Message - Diggest context for usage in SHA1 algorithm starts a new SHA1 operation and writes a new Digest Context . @param [ in ] md Pointer to the SHA1 Digest Context . @retval 0 success @retval other failed @note None
void tls_crypto_sha1_init(psDigestContext_t * md)
{
	md->sha1.state[0] = 0x67452301UL;
	md->sha1.state[1] = 0xefcdab89UL;
	md->sha1.state[2] = 0x98badcfeUL;
	md->sha1.state[3] = 0x10325476UL;
	md->sha1.state[4] = 0xc3d2e1f0UL;
	md->sha1.curlen = 0;
#ifdef HAVE_NATIVE_INT64
	md->sha1.length = 0;
#else
	md->sha1.lengthHi = 0;
	md->sha1.lengthLo = 0;
#endif 
}
void tls_crypto_sha1_init ( psDigestContext_t * md ) { md -> sha1 . state [ 0 ] = 0x67452301UL ; md -> sha1 . state [ 1 ] = 0xefcdab89UL ; md -> sha1 . state [ 2 ] = 0x98badcfeUL ; md -> sha1 . state [ 3 ] = 0x10325476UL ; md -> sha1 . state [ 4 ] = 0xc3d2e1f0UL ; md -> sha1 . curlen = 0 ; #ifdef HAVE_NATIVE_INT64 md -> sha1 . length = 0 ; #else md -> sha1 . lengthHi = 0 ; md -> sha1 . lengthLo = 0 ; #endif }
@brief                       This function initializes Message-Diggest context for usage in SHA1 algorithm, starts a new SHA1 operation and writes a new Digest Context.
@brief This function initializes Message - Diggest context for usage in SHA1 algorithm starts a new SHA1 operation and writes a new Digest Context .
/* HAVE_NATIVE_INT64 */