]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/crypto/inside-secure/safexcel_hash.c
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)
commit85695b093d559bcd2393a65373355390ac62d67b
treec62215e627150f9166c355a21febcd49241a7493
parentdc5268b65dfc147850e0d2c49b000cb385d7b026
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