comparison rsa_free.c @ 143:5d99163f7e32 libtomcrypt-orig

import of libtomcrypt 0.99
author Matt Johnston <matt@ucc.asn.au>
date Sun, 19 Dec 2004 11:34:45 +0000
parents 7faae8f46238
children
comparison
equal deleted inserted replaced
15:6362d3854bb4 143:5d99163f7e32
16 16
17 void rsa_free(rsa_key *key) 17 void rsa_free(rsa_key *key)
18 { 18 {
19 _ARGCHK(key != NULL); 19 _ARGCHK(key != NULL);
20 mp_clear_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP, 20 mp_clear_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP,
21 &key->qP, &key->pQ, &key->p, &key->q, NULL); 21 &key->qP, &key->p, &key->q, NULL);
22 } 22 }
23 23
24 #endif 24 #endif