]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: skcipher - add the ability to abort a skcipher walk
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 3 Sep 2019 16:43:30 +0000 (09:43 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Sep 2019 07:35:38 +0000 (17:35 +1000)
commit31078722bc34be54c00d7e50e309bb0616a38bdd
treeb6509d8bfc0f466fb74b389e3d1f7d33add7fd97
parentbcc8b5ba857891cfc2245931cd22d75278e52477
crypto: skcipher - add the ability to abort a skcipher walk

After starting a skcipher walk, the only way to ensure that all
resources it has tied up are released is to complete it. In some
cases, it will be useful to be able to abort a walk cleanly after
it has started, so add this ability to the skcipher walk API.

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