]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 24 Aug 2017 17:54:11 +0000 (10:54 -0700)
commit5b9af3ffa27f8abeab549b19f2387fdaf373fb6a
tree8d5c0a9b1225e46b71454eeed07deab59bb41ac6
parent0121cd6f84155b10d55f050e2152074b4c0aa05c
crypto: skcipher - Add top-level skcipher interface

Orabug: 26644685

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>
(cherry picked from commit 7a7ffe65c8c5fbf272b132d8980b2511d5e5fc98)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
crypto/Makefile
crypto/skcipher.c [new file with mode: 0644]
include/crypto/internal/skcipher.h
include/crypto/skcipher.h