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

Extracts qcrypto_hmac_ctx_new() from qcrypto_hmac_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/hmac-nettle.c