Skip to content

Commit ba3749a

Browse files
committed
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 <herbert@gondor.apana.org.au>
1 parent 376e0d6 commit ba3749a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎crypto/cryptd.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ static void cryptd_aead_encrypt(struct crypto_async_request *areq, int err)
709709
struct aead_request *req;
710710

711711
req = container_of(areq, struct aead_request, base);
712-
cryptd_aead_crypt(req, child, err, crypto_aead_crt(child)->encrypt);
712+
cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->encrypt);
713713
}
714714

715715
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)
719719
struct aead_request *req;
720720

721721
req = container_of(areq, struct aead_request, base);
722-
cryptd_aead_crypt(req, child, err, crypto_aead_crt(child)->decrypt);
722+
cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->decrypt);
723723
}
724724

725725
static int cryptd_aead_enqueue(struct aead_request *req,

0 commit comments

Comments
 (0)