Re: [PATCH v3 1/7] crypto: AF_ALG: add user space interface for AEAD

2014-11-24 Thread Herbert Xu
On Fri, Nov 21, 2014 at 06:30:18AM +0100, Stephan Mueller wrote: > > @@ -421,6 +421,18 @@ int af_alg_cmsg_send(struct msghdr *msg, struct > af_alg_control *con) > con->op = *(u32 *)CMSG_DATA(cmsg); > break; > > + case ALG_SET_AEAD_AUTHSIZE:

[PATCH v3 1/7] crypto: AF_ALG: add user space interface for AEAD

2014-11-20 Thread Stephan Mueller
AEAD requires the following data in addition to normal symmetric ciphers: * Associated authentication data of arbitrary length and length * Authentication tag for decryption and length * Length of authentication tag for encryption The memory structure for the d