mirror of https://github.com/wolfSSL/wolfssl.git
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.
parent
2a9269e654
commit
4d19f55c3f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue