From: Herbert Xu Date: Thu, 13 Aug 2015 09:29:02 +0000 (+0800) Subject: crypto: cryptd - Remove reference to crypto_aead_crt X-Git-Tag: v4.9.8~3359^2~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba3749a719a6da4297fb8e1bb56ee06d74129c0f;p=platform%2Fkernel%2Flinux-rpi3.git crypto: cryptd - Remove reference to crypto_aead_crt Pretty soon the crypto_aead encrypt/decrypt hooks will disappear as they are now always identical to those in struct aead_alg. This patch replaces the references to these hooks with the ones from aead_alg instead. Signed-off-by: Herbert Xu --- diff --git a/crypto/cryptd.c b/crypto/cryptd.c index 360ee85..e5076f8 100644 --- a/crypto/cryptd.c +++ b/crypto/cryptd.c @@ -709,7 +709,7 @@ static void cryptd_aead_encrypt(struct crypto_async_request *areq, int err) struct aead_request *req; req = container_of(areq, struct aead_request, base); - cryptd_aead_crypt(req, child, err, crypto_aead_crt(child)->encrypt); + cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->encrypt); } static void cryptd_aead_decrypt(struct crypto_async_request *areq, int err) @@ -719,7 +719,7 @@ static void cryptd_aead_decrypt(struct crypto_async_request *areq, int err) struct aead_request *req; req = container_of(areq, struct aead_request, base); - cryptd_aead_crypt(req, child, err, crypto_aead_crt(child)->decrypt); + cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->decrypt); } static int cryptd_aead_enqueue(struct aead_request *req,