Searched refs:randbuf (Results 1 – 1 of 1) sorted by relevance
215 unsigned char *randbuf = NULL; in gen_random_mpint() local226 randbuf = (unsigned char*)m_malloc(len); in gen_random_mpint()228 genrandom(randbuf, len); in gen_random_mpint()231 randbuf[0] &= masks[size_bits % 8]; in gen_random_mpint()233 bytes_to_mp(rand, randbuf, len); in gen_random_mpint()238 m_burn(randbuf, len); in gen_random_mpint()239 m_free(randbuf); in gen_random_mpint()