Messages in this thread | | | Date | Mon, 18 Oct 2004 13:16:53 -0700 | From | "David S. Miller" <> | Subject | Re: using crypto_digest() on non-kmalloc'd memory failures |
| |
On Tue, 19 Oct 2004 00:05:41 +0400 Oleg Makarenko <mole@quadra.ru> wrote:
> So to calculate digest on some static data I need to copy them to > kmalloc'ed memory first, right? > > Can this copying be somehow avoided?
It is necessary to be able to kmap() the data item passed into the crypto layer, so dynamically allocated memory obtained via kmalloc() or similar must be used. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |