struct rte_security_ipsec_xform ipsec_xform;
bool aead;
+
+ bool aes_gmac;
+
+ bool auth_only;
+
/* Antireplay packet */
bool ar_packet;
bool antireplay;
enum df_flags df;
enum dscp_flags dscp;
+ bool dec_ttl_or_hop_limit;
+ bool ah;
};
struct crypto_param {
.key_length = 16,
.digest_length = 12,
},
+ {
+ .type = RTE_CRYPTO_SYM_XFORM_AUTH,
+ .alg.auth = RTE_CRYPTO_AUTH_AES_GMAC,
+ .key_length = 16,
+ .digest_length = 16,
+ .iv_length = 12,
+ },
};
struct crypto_param_comb {
(RTE_DIM(cipher_list) *
RTE_DIM(auth_list))];
+extern struct crypto_param_comb ah_alg_list[2 * (RTE_DIM(auth_list) - 1)];
+
void test_ipsec_alg_list_populate(void);
+void test_ipsec_ah_alg_list_populate(void);
+
int test_ipsec_sec_caps_verify(struct rte_security_ipsec_xform *ipsec_xform,
const struct rte_security_capability *sec_cap,
bool silent);