Re: [PATCH 1/3] crypto: caam/qi - return -EBADMSG for ICV check failure

2018-02-15 Thread Herbert Xu
On Mon, Jan 29, 2018 at 10:38:35AM +0200, Horia Geantă wrote: > Crypto drivers are expected to return -EBADMSG in case of > ICV check (authentication) failure. > > In this case it also makes sense to suppress the error message > in the QI dequeue callback. > > Signed-off-by: Horia Geantă All ap

[PATCH 1/3] crypto: caam/qi - return -EBADMSG for ICV check failure

2018-01-29 Thread Horia Geantă
Crypto drivers are expected to return -EBADMSG in case of ICV check (authentication) failure. In this case it also makes sense to suppress the error message in the QI dequeue callback. Signed-off-by: Horia Geantă --- drivers/crypto/caam/caamalg_qi.c | 12 +++- drivers/crypto/caam/qi.c