Skip to content

Commit 4d19f55

Browse files
committed
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.
1 parent 2a9269e commit 4d19f55

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

linuxkm/lkcapi_aes_glue.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,9 +1432,6 @@ static int AesGcmCrypt_1(struct aead_request *req, int decrypt_p, int rfc4106_p)
14321432

14331433
out:
14341434

1435-
if (sk_walk.nbytes)
1436-
(void)skcipher_walk_done(&sk_walk, -EINVAL); /* force summary cleanup */
1437-
14381435
if (sg_buf) {
14391436
free(sg_buf);
14401437
}

0 commit comments

Comments
 (0)