]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit7a7ffe65c8c5fbf272b132d8980b2511d5e5fc98
tree23ca20c505ed5638a806d1d8f6ce9ff063e70bf8
parent8f183751a8604be5aaf0ad6dedac4890bb6fa0d5
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