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

Extracts qcrypto_cipher_ctx_new() from qcrypto_cipher_new() for
builtin-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-builtin.c