]> 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)
commit5e93206c68e4182ad7675bca1ca9701c25a8b6ed
treeb25f3e3b4a7b275342e77a9f7b874acdb4ccd9ac
parent31d97fddd42cda7031b31459cc9991d7d989d499
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