Hi,

It seems that there is a mistake in the implementation of

int blkcipher_walk_done(struct blkcipher_desc *desc,
            struct blkcipher_walk *walk, int err)

blkcipher_walk_virt() will call crypto_kmap() to map page.

But in the case then err argument is < 0 and we cannot continue then
blkcipher_walk_done() will not
unmap the page.

What do you think?

- Dmitry

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to