crypto: hmac: introduce qcrypto_hmac_ctx_new for glib-backend
commitd73c04e3ca3d4a1ac73da7f7952f769824417b47
authorLongpeng(Mike) <longpeng2@huawei.com>
Fri, 14 Jul 2017 18:04:03 +0000 (14 14:04 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Jul 2017 09:11:04 +0000 (19 10:11 +0100)
tree47a375ddf3aec2fa88f8be15253cc06a1de9adf3
parent8c2776d86ca5a9f34bb393b35ec7bd9faef3ff31
crypto: hmac: introduce qcrypto_hmac_ctx_new for glib-backend

Extracts qcrypto_hmac_ctx_new() from qcrypto_hmac_new() for
glib-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/hmac-glib.c