diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-02-11 19:18:59 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-02-22 09:25:43 +0800 |
commit | f08b58501c74d6ec0828b55a0d4e0b2e840c2b9e (patch) | |
tree | b0365f7808291b9a3fecbbc3291b874998ea5631 /net/Kconfig | |
parent | f4274eeca476305a78f140e2e74bd07bd379a5da (diff) |
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>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions