diff options
author | Longpeng(Mike) <longpeng2@huawei.com> | 2017-07-14 14:04:07 -0400 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2017-07-19 10:11:05 +0100 |
commit | 9a0597734876682480851376a98202a84073b715 (patch) | |
tree | c79b9ef8d383d905f1f298ec9cc72c567e7a5d16 /crypto/afalgpriv.h | |
parent | 25c60df32b9aad71a86cbb3aeaed60bf7567918a (diff) |
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>
Diffstat (limited to 'crypto/afalgpriv.h')
-rw-r--r-- | crypto/afalgpriv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/afalgpriv.h b/crypto/afalgpriv.h index d0941d4ef6..f6550b5c51 100644 --- a/crypto/afalgpriv.h +++ b/crypto/afalgpriv.h @@ -24,6 +24,7 @@ #endif #define AFALG_TYPE_CIPHER "skcipher" +#define AFALG_TYPE_HASH "hash" #define ALG_OPTYPE_LEN 4 #define ALG_MSGIV_LEN(len) (sizeof(struct af_alg_iv) + (len)) |