OSDN Git Service

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)
commit847ccfc5866950873b20c6fd980808f6043061ae
tree07aed2acbcffcbdf6279f34ab763df12c456fa5e
parent12bf4142d88823814900267ff40c953555d80265
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