[PATCH v3 1/4] crypto/ipsec_mb: add support for IPsecMB 3.0

Cornu, Marcel D marcel.d.cornu at intel.com
Tue Oct 13 11:36:56 CEST 2026


>  int
>  aesni_mb_session_configure(IMB_MGR * m __rte_unused, void *priv_sess,
>  		const struct rte_crypto_sym_xform *xform); @@ -573,8
> +582,13 @@ static const struct rte_cryptodev_capabilities
> aesni_mb_capabilities[] = {
>  				.block_size = 16,
>  				.key_size = {
>  					.min = 16,
> +#if IMB_VERSION(3, 0, 0) > IMB_VERSION_NUM
>  					.max = 32,
>  					.increment = 16
> +#else
> +					.max = 16,
> +					.increment = 0
> +#endif
>  				},
>  				.digest_size = {
>  					.min = 4,

In v3.0, ZUC-EIA3 only supports 4 byte digest size. Should this be updated accordingly?



More information about the dev mailing list