1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner.
6 * The library is free for all purposes without any express
9 * Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.com
15 Free an RSA key, Tom St Denis
21 Free an RSA key from memory
22 @param key The RSA key to free
24 void rsa_free(rsa_key *key)
26 LTC_ARGCHKVD(key != NULL);
27 mp_clear_multi(key->e, key->d, key->N, key->dQ, key->dP, key->qP, key->p, key->q, NULL);
32 /* $Source: /cvs/libtom/libtomcrypt/src/pk/rsa/rsa_free.c,v $ */
33 /* $Revision: 1.8 $ */
34 /* $Date: 2006/12/04 22:23:27 $ */