]> Git Repo - qemu.git/commit
crypto: cipher: introduce context free function
authorLongpeng(Mike) <[email protected]>
Fri, 14 Jul 2017 18:03:54 +0000 (14:03 -0400)
committerDaniel P. Berrange <[email protected]>
Wed, 19 Jul 2017 09:11:04 +0000 (10:11 +0100)
commitcc5eff0186001790e6c15f155e376b9e9c43fc56
treef33067c43d843a8dae9e0a287b7cbc92a4baa770
parent6887dc6700ccb7820d8a9d370f421ee361c748e8
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 <[email protected]>
Signed-off-by: Longpeng(Mike) <[email protected]>
Signed-off-by: Daniel P. Berrange <[email protected]>
crypto/cipher-gcrypt.c
crypto/cipher-nettle.c
This page took 0.026122 seconds and 4 git commands to generate.