1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (C) 2020 Marvell International Ltd.
5 #ifndef __OTX2_CRYPTODEV_SEC_H__
6 #define __OTX2_CRYPTODEV_SEC_H__
8 #include "otx2_ipsec_po.h"
10 struct otx2_sec_session_ipsec_lp {
14 struct otx2_ipsec_po_in_sa in_sa;
16 struct otx2_ipsec_po_out_sa out_sa;
42 /** Context length in 8-byte words */
44 /** Auth IV offset in bytes */
45 uint16_t auth_iv_offset;
46 /** IV offset in bytes */
50 /** MAC len in bytes */
52 /** IV length in bytes */
54 /** Auth IV length in bytes */
55 uint8_t auth_iv_length;
58 #endif /* __OTX2_CRYPTODEV_SEC_H__ */