crypto: ccree - only check condition if needed
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 8 Mar 2020 15:57:07 +0000 (17:57 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Mar 2020 12:00:16 +0000 (23:00 +1100)
commit69cd3e16c0d6f7dfe92c969a43221a802ee549ae
tree2fa5feb6dc48b61346ac13e8427136d03f08fef1
parent6429ccdd4f2d873db73ca60342669e160b0a7226
crypto: ccree - only check condition if needed

Move testing of condition to after the point we decide if
we need it or not.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_aead.c