[dpdk-dev] [EXT] [PATCH] cryptodev: extend api of asymmetric crypto by sessionless

Kusztal, ArkadiuszX arkadiuszx.kusztal at intel.com
Mon Aug 12 12:00:15 CEST 2019


Hi Anoob,
 
> [Anoob] Shouldn't we make this a union? In symmetric mode, it is done that
> way and it makes sense also.
> 
> Something like,
> 
>        RTE_STD_C11
>        union {
>                struct rte_cryptodev_asym_session *session;
>                /**< Handle for the initialised session context */
>                struct rte_crypto_asym_xform *xform;
>                /**< Session-less API crypto operation parameters */
>        };
[AK] - Agreed. I will send updated version.
> 
> >
> >  	__extension__
> >  	union {
> > --
> > 2.7.4



More information about the dev mailing list