]> git.baikalelectronics.ru Git - kernel.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)
commited7cf99b635f7711f60ef524024f874b93b266d7
treead914dbf89387437110eb7312364de5a27ca2e47
parentfa1e33dbe7bf6a16b5a07fa1c50dc55678b17dff
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