]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: chcr - Increase priority of AEAD algos.
authorHarsh Jain <harsh@chelsio.com>
Mon, 10 Apr 2017 12:53:58 +0000 (18:23 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Apr 2017 12:30:31 +0000 (20:30 +0800)
commite29abda591b517be47df7479962ce6baee302a85
tree59ab627080cf49015d13ace09a163e19a68c1b3a
parentcd15f1020fd627d795e60a142d1f00f7fc1fe7f3
crypto: chcr - Increase priority of AEAD algos.

templates(gcm,ccm etc) inherit priority value of driver to
calculate its priority. In some cases template priority becomes
 more than driver priority for same algo.
Without this patch we will not be able to use driver authenc algos. It will
be good if it pushed in stable kernel.

Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_crypto.h