crypto: ccree - modify set_cipher_mode usage from cc_hash
authorYael Chemla <yael.chemla@foss.arm.com>
Thu, 18 Oct 2018 12:59:58 +0000 (13:59 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Nov 2018 09:36:49 +0000 (17:36 +0800)
commit18a1dc1fd56b4a5b468ad5bf984a2b0ea5ee8c69
treea86cb670bc1df0f5551fbd8e916a7319ec4d9905
parentf1e52fd0fbd67fbf342932506cd7a6e27c090c5f
crypto: ccree - modify set_cipher_mode usage from cc_hash

encapsulate set_cipher_mode call with another api,
preparation for specific hash behavior as needed in later patches
when SM3 introduced.

Signed-off-by: Yael Chemla <yael.chemla@foss.arm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_hash.c
drivers/crypto/ccree/cc_hw_queue_defs.h