]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: pcrypt - Use crypto_grab_aead
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 May 2015 07:10:58 +0000 (15:10 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2015 03:25:49 +0000 (11:25 +0800)
commitf8c98d9701e0f2c8f6334c61b5c79031e95e7007
tree58132f17859579d36391f843951f8290d11318ad
parent52f042cb0efb69764c652f76a4ab44d6e884ce19
crypto: pcrypt - 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: eb2f1a9bb470 ("crypto: aead - Convert top level interface to new style")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/pcrypt.c