Esempio n. 1
0
/**
* GOST 34.11 Constructor
*/
GOST_34_11::GOST_34_11() :
   HashFunction(32, 32),
   cipher(GOST_28147_89_Params("R3411_CryptoPro"))
   {
   count = 0;
   position = 0;
   }
Esempio n. 2
0
/**
* GOST 34.11 Constructor
*/
GOST_34_11::GOST_34_11() :
    m_cipher(GOST_28147_89_Params("R3411_CryptoPro")),
    m_buffer(32),
    m_sum(32),
    m_hash(32)
{
    m_count = 0;
    m_position = 0;
}