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.

pull/8814/head
Daniel Pouzzner 2025-05-29 12:10:02 -05:00
parent 2a9269e654
commit 4d19f55c3f
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}