Re: [PATCH v2 08/14] crypto: caam - update rfc4106 sh desc to support zero length input

2019-07-19 Thread Horia Geanta
On 7/19/2019 2:58 AM, Iuliana Prodan wrote: > Update share descriptor for rfc4106 to skip instructions in case > cryptlen is zero. If no instructions are jumped the DECO hangs and a > timeout error is thrown. > > Signed-off-by: Iuliana Prodan > --- > drivers/crypto/caam/caamalg_desc.c | 46 > ++

[PATCH v2 08/14] crypto: caam - update rfc4106 sh desc to support zero length input

2019-07-18 Thread Iuliana Prodan
Update share descriptor for rfc4106 to skip instructions in case cryptlen is zero. If no instructions are jumped the DECO hangs and a timeout error is thrown. Signed-off-by: Iuliana Prodan --- drivers/crypto/caam/caamalg_desc.c | 46 +- drivers/crypto/caam/caa