crypto: cipher: introduce qcrypto_cipher_ctx_new for nettle-backend
commiteabe6c58ac6e10a711885b87ded6df81f868a867
authorLongpeng(Mike) <longpeng2@huawei.com>
Fri, 14 Jul 2017 18:03:56 +0000 (14 14:03 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Jul 2017 09:11:04 +0000 (19 10:11 +0100)
tree38d963f4e65d176ae3f475cda006d9aa240ef4b4
parent468fb27154064dc6f76462d567ea0b556a31b1e6
crypto: cipher: introduce qcrypto_cipher_ctx_new for nettle-backend

Extracts qcrypto_cipher_ctx_new() from qcrypto_cipher_new() for
nettle-backend impls.

Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/cipher-nettle.c