ta/wallet_ta.c
/** Begin calculating hash for new message.
  * \param hs The hash state to initialize.
  */
Begin calculating hash for new message.
\param hs The hash state to initialize.
Begin calculating hash for new message . \ param hs The hash state to initialize .
static void ripemd_160_begin_internal(HashState *hs)
{
	hs->message_length = 0;
	hs->h[0] = 0x67452301;
	hs->h[1] = 0xefcdab89;
	hs->h[2] = 0x98badcfe;
	hs->h[3] = 0x10325476;
	hs->h[4] = 0xc3d2e1f0;
	hs->index_m = 0;
	hs->byte_position_m = 0;
	TEE_MemFill((uint32_t*)(hs->m), 0, (uint32_t)sizeof(hs->m));
}
static void ripemd_160_begin_internal ( HashState * hs ) { hs -> message_length = 0 ; hs -> h [ 0 ] = 0x67452301 ; hs -> h [ 1 ] = 0xefcdab89 ; hs -> h [ 2 ] = 0x98badcfe ; hs -> h [ 3 ] = 0x10325476 ; hs -> h [ 4 ] = 0xc3d2e1f0 ; hs -> index_m = 0 ; hs -> byte_position_m = 0 ; TEE_MemFill ( ( uint32_t * ) ( hs -> m ) , 0 , ( uint32_t ) sizeof ( hs -> m ) ) ; }
Begin calculating hash for new message.
Begin calculating hash for new message .