Re: [PATCH v13 0/2] crypto: AF_ALG: add AEAD support
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2015-03-04 09:16:44
Also in:
linux-crypto, lkml
On Sat, Feb 28, 2015 at 08:49:22PM +0100, Stephan Mueller wrote:
Hi, This patch set adds AEAD support to the AF_ALG interface exported by the kernel crypto API. The AEAD implementation uses the same approach as provided with skcipher by offering the following interfaces: * sendmsg and recvmsg interfaces allowing multiple invocations supporting a threaded user space. To support multi-threaded user space, kernel-side buffering is implemented similarly to skcipher. * splice / vmsplice interfaces allowing a zero-copy invocation The new AEAD interface is fully tested with the test application provided at [1]. That test application exercises all newly added user space interfaces. The testing covers: * use of the sendmsg/recvmsg interface * use of the splice / vmsplice interface * invocation of all AF_ALG types (aead, rng, skcipher, hash) * using all types of operation (encryption, decryption, keyed MD, MD, random numbers, AEAD decryption with positive and negative authentication verification) * stress testing by running all tests for 30 minutes in an endless loop * test execution on 64 bit and 32 bit
All applied. Thanks a lot for your hard work! -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt