]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - crypto/cryptd.c
crypto: cryptd - Use crypto_grab_aead
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 May 2015 07:10:57 +0000 (15:10 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2015 03:25:49 +0000 (11:25 +0800)
commit9b8c456e081e7eca856ad9b2a92980a68887f533
tree347444e7ef5c16cbe586527f84f95f0f69557ac1
parent0576722919f13da8430d00e47aa58ba151505d90
crypto: cryptd - Use crypto_grab_aead

As AEAD has switched over to using frontend types, the function
crypto_init_spawn must not be used since it does not specify a
frontend type.  Otherwise it leads to a crash when the spawn is
used.

This patch fixes it by switching over to crypto_grab_aead instead.

Fixes: 5d1d65f8bea6 ("crypto: aead - Convert top level interface to new style")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cryptd.c