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