aboutsummaryrefslogtreecommitdiff
path: root/crypto/hmacpriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmacpriv.h')
-rw-r--r--crypto/hmacpriv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/hmacpriv.h b/crypto/hmacpriv.h
index 2be389a41b..4387ca2587 100644
--- a/crypto/hmacpriv.h
+++ b/crypto/hmacpriv.h
@@ -33,4 +33,16 @@ extern void *qcrypto_hmac_ctx_new(QCryptoHashAlgorithm alg,
Error **errp);
extern QCryptoHmacDriver qcrypto_hmac_lib_driver;
+#ifdef CONFIG_AF_ALG
+
+#include "afalgpriv.h"
+
+extern QCryptoAFAlg *
+qcrypto_afalg_hmac_ctx_new(QCryptoHashAlgorithm alg,
+ const uint8_t *key, size_t nkey,
+ Error **errp);
+extern QCryptoHmacDriver qcrypto_hmac_afalg_driver;
+
+#endif
+
#endif