diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-10-18 19:23:40 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-20 17:10:51 +0300 |
commit | a9eb678f8addc1bfb80bacc45f6df1108fd1c0d9 (patch) | |
tree | ad914dbf89387437110eb7312364de5a27ca2e47 /drivers/crypto/marvell/cesa.h | |
parent | 4c2b130c8ae79af734e5e57f3662e25ef4d20e8d (diff) | |
download | linux-a9eb678f8addc1bfb80bacc45f6df1108fd1c0d9.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/marvell/cesa.h')
-rw-r--r-- | drivers/crypto/marvell/cesa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/marvell/cesa.h b/drivers/crypto/marvell/cesa.h index 5a1fabdd6778..e5f70ab4580d 100644 --- a/drivers/crypto/marvell/cesa.h +++ b/drivers/crypto/marvell/cesa.h @@ -612,6 +612,7 @@ struct mv_cesa_ahash_req { u64 len; int src_nents; bool last_req; + bool algo_le; u32 state[8]; }; |