crypto/qat: add device files
[dpdk.git] / drivers / crypto / virtio / virtio_crypto_algs.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 HUAWEI TECHNOLOGIES CO., LTD.
3  */
4
5 #ifndef _VIRTIO_CRYPTO_ALGS_H_
6 #define _VIRTIO_CRYPTO_ALGS_H_
7
8 #include <rte_memory.h>
9
10 #include "virtio_crypto.h"
11
12 struct virtio_crypto_session {
13         uint64_t session_id;
14
15         struct {
16                 uint16_t offset;
17                 uint16_t length;
18         } iv;
19
20         struct {
21                 uint32_t length;
22                 phys_addr_t phys_addr;
23         } aad;
24
25         struct virtio_crypto_op_ctrl_req ctrl;
26 };
27
28 #endif /* _VIRTIO_CRYPTO_ALGS_H_ */