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>
This commit is contained in:

committato da
Herbert Xu

parent
4c2b130c8a
commit
a9eb678f8a
@@ -612,6 +612,7 @@ struct mv_cesa_ahash_req {
|
||||
u64 len;
|
||||
int src_nents;
|
||||
bool last_req;
|
||||
bool algo_le;
|
||||
u32 state[8];
|
||||
};
|
||||
|
||||
|
Fai riferimento in un nuovo problema
Block a user