]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: skcipher - Add top-level skcipher interface
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Aug 2015 07:21:45 +0000 (15:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2015 14:21:19 +0000 (22:21 +0800)
commite69e792b29bc6b0a56a9088e3f9fce73f22e2862
tree23ca20c505ed5638a806d1d8f6ce9ff063e70bf8
parent4c092f2880b441bf852d7fbca954c2aabc084ff1
crypto: skcipher - Add top-level skcipher interface

This patch introduces the crypto skcipher interface which aims
to replace both blkcipher and ablkcipher.

It's very similar to the existing ablkcipher interface.  The
main difference is the removal of the givcrypt interface.  In
order to make the transition easier for blkcipher users, there
is a helper SKCIPHER_REQUEST_ON_STACK which can be used to place
a request on the stack for synchronous transforms.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Makefile
crypto/skcipher.c [new file with mode: 0644]
include/crypto/internal/skcipher.h
include/crypto/skcipher.h