linux/drivers/crypto/ccree
Geert Uytterhoeven f08b58501c crypto: ccree - swap SHA384 and SHA512 larval hashes at build time
Due to the way the hardware works, every double word in the SHA384 and
SHA512 larval hashes must be swapped.  Currently this is done at run
time, during driver initialization.

However, this swapping can easily be done at build time.  Treating each
double word as two words has the benefit of changing the larval hashes'
types from u64[] to u32[], like for all other hashes, and allows
dropping the casts and size doublings when calling cc_set_sram_desc().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-02-22 09:25:43 +08:00
..
cc_aead.c crypto: ccree - remove unneeded casts 2020-02-22 09:25:43 +08:00
cc_aead.h crypto: ccree - drop legacy ivgen support 2019-07-26 14:51:55 +10:00
cc_buffer_mgr.c crypto: ccree - remove unneeded casts 2020-02-22 09:25:43 +08:00
cc_buffer_mgr.h crypto: ccree - protect against empty or NULL scatterlists 2020-02-13 17:05:24 +08:00
cc_cipher.c crypto: ccree - remove unneeded casts 2020-02-22 09:25:43 +08:00
cc_cipher.h crypto: ccree - copyright header update 2019-04-25 15:38:14 +08:00
cc_crypto_ctx.h crypto: ccree - copyright header update 2019-04-25 15:38:14 +08:00
cc_debugfs.c crypto: ccree - fix debugfs register access while suspended 2020-02-22 09:25:42 +08:00
cc_debugfs.h crypto: ccree - copyright header update 2019-04-25 15:38:14 +08:00
cc_driver.c crypto: ccree - swap SHA384 and SHA512 larval hashes at build time 2020-02-22 09:25:43 +08:00
cc_driver.h crypto: ccree - split overloaded usage of irq field 2020-01-22 16:21:10 +08:00
cc_fips.c crypto: ccree - fix typos in comments 2019-12-11 16:36:54 +08:00
cc_fips.h crypto: ccree - add function to handle cryptocell tee fips error 2019-04-25 15:38:16 +08:00
cc_hash.c crypto: ccree - swap SHA384 and SHA512 larval hashes at build time 2020-02-22 09:25:43 +08:00
cc_hash.h crypto: ccree - swap SHA384 and SHA512 larval hashes at build time 2020-02-22 09:25:43 +08:00
cc_host_regs.h crypto: ccree - add HW engine config check 2019-06-27 14:28:00 +08:00
cc_hw_queue_defs.h crypto: ccree - copyright header update 2019-04-25 15:38:14 +08:00
cc_kernel_regs.h crypto: ccree - copyright header update 2019-04-25 15:38:14 +08:00
cc_lli_defs.h crypto: ccree - allow more AEAD assoc data fragments 2019-04-25 15:38:15 +08:00
cc_pm.c crypto: ccree - make cc_pm_put_suspend() void 2020-01-22 16:21:10 +08:00
cc_pm.h crypto: ccree - erase unneeded inline funcs 2020-01-22 16:21:11 +08:00
cc_request_mgr.c crypto: ccree - fix retry handling in cc_send_sync_request() 2020-02-22 09:25:43 +08:00
cc_request_mgr.h crypto: ccree - fix PM race condition 2020-01-22 16:21:10 +08:00
cc_sram_mgr.c crypto: ccree - copyright header update 2019-04-25 15:38:14 +08:00
cc_sram_mgr.h crypto: ccree - copyright header update 2019-04-25 15:38:14 +08:00
Makefile crypto: ccree - drop legacy ivgen support 2019-07-26 14:51:55 +10:00