]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: marvell/cesa - add flag to determine algorithm endianness
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Oct 2015 16:23:40 +0000 (17:23 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Oct 2015 14:10:51 +0000 (22:10 +0800)
commita9eb678f8addc1bfb80bacc45f6df1108fd1c0d9
treead914dbf89387437110eb7312364de5a27ca2e47
parent4c2b130c8ae79af734e5e57f3662e25ef4d20e8d
crypto: marvell/cesa - add flag to determine algorithm endianness

Rather than determining whether we're using a MD5 hash by looking at
the digest size, switch to a cleaner solution using a per-request flag
initialised by the method type.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/cesa.h
drivers/crypto/marvell/hash.c