diff options
author | Longpeng(Mike) | 2017-07-14 20:03:54 +0200 |
---|---|---|
committer | Daniel P. Berrange | 2017-07-19 11:11:04 +0200 |
commit | cc5eff0186001790e6c15f155e376b9e9c43fc56 (patch) | |
tree | f33067c43d843a8dae9e0a287b7cbc92a4baa770 /crypto/cipher-builtin.c | |
parent | Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20170718' into s... (diff) | |
download | qemu-cc5eff0186001790e6c15f155e376b9e9c43fc56.tar.gz qemu-cc5eff0186001790e6c15f155e376b9e9c43fc56.tar.xz qemu-cc5eff0186001790e6c15f155e376b9e9c43fc56.zip |
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>
Diffstat (limited to 'crypto/cipher-builtin.c')
0 files changed, 0 insertions, 0 deletions