crypto: hash: add afalg-backend hash support

Adds afalg-backend hash support: introduces some private APIs
firstly, and then intergrates them into qcrypto_hash_afalg_driver.

Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Longpeng(Mike)
2017-07-14 14:04:07 -04:00
committed by Daniel P. Berrange
parent 25c60df32b
commit 9a05977348
5 changed files with 163 additions and 0 deletions
+8
View File
@@ -28,4 +28,12 @@ struct QCryptoHashDriver {
extern QCryptoHashDriver qcrypto_hash_lib_driver;
#ifdef CONFIG_AF_ALG
#include "afalgpriv.h"
extern QCryptoHashDriver qcrypto_hash_afalg_driver;
#endif
#endif