2 * QEMU Crypto hash driver supports
4 * Copyright (c) 2017 HUAWEI TECHNOLOGIES CO., LTD.
9 * This work is licensed under the terms of the GNU GPL, version 2 or
10 * (at your option) any later version. See the COPYING file in the
11 * top-level directory.
15 #ifndef QCRYPTO_HASHPRIV_H
16 #define QCRYPTO_HASHPRIV_H
18 typedef struct QCryptoHashDriver QCryptoHashDriver;
20 struct QCryptoHashDriver {
21 int (*hash_bytesv)(QCryptoHashAlgorithm alg,
22 const struct iovec *iov,
29 extern QCryptoHashDriver qcrypto_hash_lib_driver;
33 #include "afalgpriv.h"
35 extern QCryptoHashDriver qcrypto_hash_afalg_driver;