]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - crypto/algapi.c
crypto: algapi - use separate dst and src operands for __crypto_xor()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 24 Jul 2017 10:28:03 +0000 (11:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Aug 2017 01:27:05 +0000 (09:27 +0800)
commita7c391f04fe3259fb0417d71fec78ae28f25780e
treeae138006abd68d231231dbea641ea1cb46e43dff
parent9a42e4eed3fcd7ba8dff6622384cd08bfe5ef707
crypto: algapi - use separate dst and src operands for __crypto_xor()

In preparation of introducing crypto_xor_cpy(), which will use separate
operands for input and output, modify the __crypto_xor() implementation,
which it will share with the existing crypto_xor(), which provides the
actual functionality when not using the inline version.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c
include/crypto/algapi.h