crypto: af_alg - add user space interface for AEAD
authorStephan Mueller <smueller@chronox.de>
Wed, 3 Dec 2014 19:55:42 +0000 (20:55 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Dec 2014 15:56:55 +0000 (23:56 +0800)
commitaf8e80731a94ff9de9508b01d9e5d931d538dc6b
treeab112b5744eeacddf7f749fe640601e55ecacf21
parentbc84b94a715f3505f5f5981af0ec0362aa3fe38b
crypto: af_alg - add user space interface for AEAD

AEAD requires the caller to specify the following information separate
from the data stream. This information allows the AEAD interface handler
to identify the AAD, ciphertext/plaintext and the authentication tag:

        * Associated authentication data of arbitrary length and
          length

        * Length of authentication tag for encryption

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/af_alg.c
include/crypto/if_alg.h
include/uapi/linux/if_alg.h