]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - update the context and request later
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Thu, 15 Jun 2017 07:56:23 +0000 (09:56 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:44 +0000 (11:21 +0800)
commit1dee3d48e20926695208dee176dd9722e34a2fbe
treeb25f3e3b4a7b275342e77a9f7b874acdb4ccd9ac
parent44e5fedae4895b7e6e3035bd38a7f28336812b41
crypto: inside-secure - update the context and request later

This move the context and request updates at the end of the cipher and
hash send() functions. This way the context and request fields are set
only when everything else was successful in the send() functions.

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
drivers/crypto/inside-secure/safexcel_hash.c