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

Trahe, Fiona fiona.trahe at intel.com
Fri May 18 12:29:18 CEST 2018



> -----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>


More information about the stable mailing list