crypto: marvell - Don't hardcode block size in mv_cesa_ahash_cache_req
authorRomain Perier <romain.perier@free-electrons.com>
Tue, 9 Aug 2016 09:03:20 +0000 (11:03 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:31 +0000 (18:47 +0800)
commit47856204146ba6fd0f198dbb23c4ed7ad1c3fd99
treefb65639194c9dacee16868c75ddf3a5210f96d96
parent57cfda1ac74e58767f6305bd1ea3449177425460
crypto: marvell - Don't hardcode block size in mv_cesa_ahash_cache_req

Don't use 64 'as is', as max block size in mv_cesa_ahash_cache_req. Use
CESA_MAX_HASH_BLOCK_SIZE instead, this is better for readability.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/hash.c