]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - crypto/seqiv.c
Merge tag 'locking-urgent-2020-08-10' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-hirsute-kernel.git] / crypto / seqiv.c
index 23e22d8b63e67ee44fbbd0f0f2c9a011d544907e..0899d527c2845b648bc1872daf5409ca1c4a8792 100644 (file)
@@ -33,7 +33,7 @@ static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err)
        memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv));
 
 out:
-       kzfree(subreq->iv);
+       kfree_sensitive(subreq->iv);
 }
 
 static void seqiv_aead_encrypt_complete(struct crypto_async_request *base,