commit | 51954a968bbedcabf2b42fec2ec51386f0dee0c4 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Oct 18 17:23:46 2015 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Oct 20 22:10:51 2015 +0800 |
tree | c94bbfec05bdb69734cb4b5f112a1b61a7ccec12 | |
parent | a9eb678f8addc1bfb80bacc45f6df1108fd1c0d9 [diff] |
crypto: marvell/cesa - fix the bit length endianness The endianness of the bit length used in the final stage depends on the endianness of the algorithm - md5 hashes need it to be in little endian format, whereas SHA hashes need it in big endian format. Use the previously added algorithm endianness flag to control this. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>