From 9a0597734876682480851376a98202a84073b715 Mon Sep 17 00:00:00 2001 From: "Longpeng(Mike)" Date: Fri, 14 Jul 2017 14:04:07 -0400 Subject: 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) Signed-off-by: Daniel P. Berrange --- crypto/hashpriv.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crypto/hashpriv.h') diff --git a/crypto/hashpriv.h b/crypto/hashpriv.h index 5e505e0492..cee26ccb47 100644 --- a/crypto/hashpriv.h +++ b/crypto/hashpriv.h @@ -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 -- cgit v1.2.3