summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorLongpeng(Mike) <longpeng2@huawei.com>2017-07-14 14:03:54 -0400
committerDaniel P. Berrange <berrange@redhat.com>2017-07-19 10:11:04 +0100
commitcc5eff0186001790e6c15f155e376b9e9c43fc56 (patch)
treef33067c43d843a8dae9e0a287b7cbc92a4baa770 /hw/core/qdev-properties-system.c
parent6887dc6700ccb7820d8a9d370f421ee361c748e8 (diff)
downloadfocaccia-qemu-cc5eff0186001790e6c15f155e376b9e9c43fc56.tar.gz
focaccia-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 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions