]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: talitos - consolidate common cra_* assignments
authorKim Phillips <kim.phillips@freescale.com>
Thu, 9 Aug 2012 01:33:34 +0000 (20:33 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 Aug 2012 08:40:01 +0000 (16:40 +0800)
commit88adbe44cc0ea6d13759caa0a90aa4ad8a2c3699
tree69be034e44d22efe5643dcc7d4edee12fbaf355f
parent8a38d938863687350897206b8865a02ed52f81bd
crypto: talitos - consolidate common cra_* assignments

the entry points and geniv definitions for all aead,
ablkcipher, and hash algorithms are all common; move them to a
single assignment in talitos_alg_alloc().

This assumes it's ok to assign a setkey() on non-hmac algs.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c