]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - move cipher crypto mode to request context
authorOfer Heifetz <oferh@marvell.com>
Thu, 14 Dec 2017 14:26:49 +0000 (15:26 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Dec 2017 09:03:31 +0000 (20:03 +1100)
commit4cf08196b0d851ba04e9cbb9993cc6df98211237
tree07aed2acbcffcbdf6279f34ab763df12c456fa5e
parent59be00257fce0eddfb258c033166a9192dd87f37
crypto: inside-secure - move cipher crypto mode to request context

The cipher direction can be different for requests within the same
transformation context. This patch moves the direction flag from the
context to the request scope.

Signed-off-by: Ofer Heifetz <oferh@marvell.com>
[Antoine: commit message]
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel_cipher.c