]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - let HW deal with initial hash digest
authorPascal van Leeuwen <pvanleeuwen@insidesecure.com>
Tue, 2 Jul 2019 14:39:58 +0000 (16:39 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 04:52:01 +0000 (14:52 +1000)
commit587f13ae0fb2adbb8e95bf1fcd2b1f3b5bd7c074
treec62215e627150f9166c355a21febcd49241a7493
parent5f89a6743887e60ac045bb3b725c3f3402dae1ac
crypto: inside-secure - let HW deal with initial hash digest

The driver was loading the initial digest for hash operations into
the hardware explicitly, but this is not needed as the hardware can
handle that by itself, which is more efficient and avoids any context
record coherence issues.

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel_hash.c