From 4d19f55c3f92bf4cb462fc6c72171abc2150c471 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 29 May 2025 12:10:02 -0500 Subject: [PATCH] linuxkm/lkcapi_aes_glue.c: in AesGcmCrypt_1(), in !WOLFSSL_AESGCM_STREAM version, don't call skcipher_walk_done(&sk_walk, ...) -- doesn't work, and not needed. --- linuxkm/lkcapi_aes_glue.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/linuxkm/lkcapi_aes_glue.c b/linuxkm/lkcapi_aes_glue.c index acf6d4a84..bb9ba144a 100644 --- a/linuxkm/lkcapi_aes_glue.c +++ b/linuxkm/lkcapi_aes_glue.c @@ -1432,9 +1432,6 @@ static int AesGcmCrypt_1(struct aead_request *req, int decrypt_p, int rfc4106_p) out: - if (sk_walk.nbytes) - (void)skcipher_walk_done(&sk_walk, -EINVAL); /* force summary cleanup */ - if (sg_buf) { free(sg_buf); }