commit | cc5eff0186001790e6c15f155e376b9e9c43fc56 | [log] [tgz] |
---|---|---|
author | Longpeng(Mike) <longpeng2@huawei.com> | Fri Jul 14 14:03:54 2017 -0400 |
committer | Daniel P. Berrange <berrange@redhat.com> | Wed Jul 19 10:11:04 2017 +0100 |
tree | f33067c43d843a8dae9e0a287b7cbc92a4baa770 | |
parent | 6887dc6700ccb7820d8a9d370f421ee361c748e8 [diff] |
crypto: cipher: introduce context free function Refactors the qcrypto_cipher_free(), splits it into two parts. One is gcrypt/nettle__cipher_free_ctx() to free the special context. This makes code more clear, what's more, it would be used by the later patch. Reviewed-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>