crypto: cesa - tfm->__crt_alg->cra_type directly
authorMarek Vasut <marex@denx.de>
Wed, 14 May 2014 09:42:52 +0000 (11:42 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 May 2014 13:03:17 +0000 (21:03 +0800)
commit51a716349946362dee27aa48b1987870cb69636b
treed081116de6dd99a1a153243f12d3e478b165f2e2
parentefa59e2e916c816a667c7b972723d979c0faca1b
crypto: cesa - tfm->__crt_alg->cra_type directly

The checking for the type of algorithm implementation is pretty
strange here. Use regular flags to check for the type instead.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Kent Yoder <key@linux.vnet.ibm.com>
Cc: Jamie Iles <jamie@jamieiles.com>
Cc: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c