]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm64/aes-blk - update IV after partial final CTR block
authorEric Biggers <ebiggers@google.com>
Thu, 14 Feb 2019 08:03:54 +0000 (00:03 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Feb 2019 04:47:27 +0000 (12:47 +0800)
commit68b787f2bfe5a6eee17b0eedfd8b532199b666eb
tree5a8dc6b43a84550aa0e94170731e3db7c2a11335
parent7681452f75a197d1a677a5794f9f3a29ffcf1628
crypto: arm64/aes-blk - update IV after partial final CTR block

Make the arm64 ctr-aes-neon and ctr-aes-ce algorithms update the IV
buffer to contain the next counter after processing a partial final
block, rather than leave it as the last counter.  This makes these
algorithms pass the updated AES-CTR tests.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/aes-modes.S