crypto: qce - Clean up qce_auth_cfg
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 29 Apr 2021 15:07:05 +0000 (11:07 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 May 2021 11:07:56 +0000 (19:07 +0800)
commite5d6181d35b257c13841f774f5ad36b0cb2d82aa
tree896c44bcf2fcbc48b409b7662b9afe86808aff32
parent9363efb4181c5e0fbf86bdfa759262aa29f0eb50
crypto: qce - Clean up qce_auth_cfg

Remove various redundant checks in qce_auth_cfg. Also allow qce_auth_cfg
to take auth_size as a parameter which is a required setting for ccm(aes)
algorithms

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qce/common.c