]> 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)
commit6de2693600624430b219e9ecb8f3ee98ade100de
treec62215e627150f9166c355a21febcd49241a7493
parent6df0f2b1041382cd57c40d246443420ad50710d1
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