[m-users.] Too Slow
Matthias Guedemann
matthias.guedemann at googlemail.com
Wed May 6 03:45:30 AEST 2015
> The advantage would be that you can use libtommath in its default
> configuration. Also, as Mark said, you're supposed to call mp_clear
> because the library author said so. We're relying on an
> implementation detail that mp_clear doesn't do anything useful for us.
it sets the allocated memory to zero before freeing and explicitely sets
the pointer to "NULL" afterwards "to make debugging easier".
So, I think there is no real need to call 'mp_clear'.
Matthias
More information about the users
mailing list