]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2530537102848da3d35fc4be43a6b9612e817986
tree347444e7ef5c16cbe586527f84f95f0f69557ac1
parent1361c3936b16834775e04aad952661429702496b
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: c378b7d6d801 ("crypto: aead - Convert top level interface to new style")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cryptd.c