Question about mpz_clear
Thu, 19 Jun 2003 08:24:25 +1000
"Eric M. Hopper" <email@example.com> writes:
> Does this clear the memory associated with a given variable zeroed?
> Is there an easy way to make sure it is?
mp_set_memory_functions will let you have your own free function.
> I'm designing some software that does cryptography, and I would like to
> ensure that decrypted private keys are lying around in memory in a
> decrypted state for as little time as possible.
Lots of gmp routines put operand data on the stack too.