]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure: back out parts of earlier HMAC update workaround
authorPascal van Leeuwen <pvanleeuwen@insidesecure.com>
Tue, 2 Jul 2019 14:39:57 +0000 (16:39 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 04:52:00 +0000 (14:52 +1000)
commit5f89a6743887e60ac045bb3b725c3f3402dae1ac
treecd9b57276c41291fc50cfc1715d61bad95b8e183
parent33166d710eea07d45cee79298b6b83a4ffa12511
crypto: inside-secure: back out parts of earlier HMAC update workaround

This patch backs out some changes done with commit c5c55c997fe8 -
"add support for HMAC updates" as that update just works around the
issue for the basic tests by providing twice the amount of buffering,
but this does not solve the case of much larger data blocks such as
those performed by the extra tests.
This is in preparation of an actual solution in the next patch(es),
which does not actually require any extra buffering at all.

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