crypto: inside-secure -reduce hash byte counters to 64 bits
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 5 Jul 2019 07:36:31 +0000 (09:36 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 12:08:01 +0000 (22:08 +1000)
commit31fb084c4eb556fac30115d99bc518c7944887d2
tree4381440646ae49312ceb36d7938a9574a465b46f
parent0e17e3621a28a67871a8c69f5fccdf7d009fd939
crypto: inside-secure -reduce hash byte counters to 64 bits

This patch recognises the fact that the hardware cannot ever process more
than 2,199,023,386,111 bytes of hash or HMAC payload, so there is no point
in maintaining 128 bit wide byte counters, 64 bits is more than sufficient

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