diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-05-26 21:08:43 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-05-26 21:08:43 +0800 |
commit | c38927da47fa3c96cdcc7e4c81d9068bf01bf1fb (patch) | |
tree | c24afd4e5b05f485e6b42663d5dfdb335dc8117d /bignum.h | |
parent | 7ab8f61974601444046888da07f211c44e55e5a5 (diff) |
add m_mp_free_multi, be more careful freeing when failing to load keys
Diffstat (limited to 'bignum.h')
-rw-r--r-- | bignum.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ void m_mp_init(mp_int *mp); void m_mp_init_multi(mp_int *mp, ...) ATTRIB_SENTINEL; void m_mp_alloc_init_multi(mp_int **mp, ...) ATTRIB_SENTINEL; +void m_mp_free_multi(mp_int **mp, ...) ATTRIB_SENTINEL; void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); void hash_process_mp(const struct ltc_hash_descriptor *hash_desc, hash_state *hs, mp_int *mp); |