[dpdk-dev] [PATCH] cryptodev: fix supported size check

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Fri May 18 15:57:35 CEST 2018



> -----Original Message-----
> From: Trahe, Fiona
> Sent: Friday, May 18, 2018 11:29 AM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>; Doherty, Declan
> <declan.doherty at intel.com>
> Cc: dev at dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>;
> stable at dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] cryptodev: fix supported size check
> 
> 
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara
> > Sent: Tuesday, May 15, 2018 8:13 PM
> > To: Doherty, Declan <declan.doherty at intel.com>
> > Cc: dev at dpdk.org; De Lara Guarch, Pablo
> > <pablo.de.lara.guarch at intel.com>; stable at dpdk.org
> > Subject: [dpdk-dev] [PATCH] cryptodev: fix supported size check
> >
> > Crypto capability structure contains supported sizes for key, IV,
> > digest, etc. on different algorithms.
> > These sizes can be expressed as a single value or a range of values.
> > The check was broken when a size was checked against a range with
> > multiple values.
> >
> > Also, for more clarity, the param_range_check macro has been converted
> > into a function.
> >
> > Fixes: 38227c0e3ad2 ("cryptodev: retrieve device info")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> Acked-by: Fiona Trahe <fiona.trahe at intel.com>

Applied to dpdk-next-crypto.

Pablo


More information about the dev mailing list