[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-crypto
Subject:    Scatterlist CryptoAPI 2.6.11.8 - questions regarding implementation
From:       Allen Rintoul <ark () tataelxsi ! co ! in>
Date:       2005-06-16 5:56:44
Message-ID: 42B111CC.3060202 () tataelxsi ! co ! in
[Download RAW message or body]

hi,

I am a kernel newbie trying to understand the Scatterlist CryptoAPI 
which comes with
the kernel (2.6.11.8) and i ran into some unknowns, can someone
enlighten me on this.

1.Why use scatterlist instead of a virtual address(buffer) and buffer
length?
2.What are the precautions that i should take when the buffer spans
multiple pages?
(should i find the no of pages to which the buffer extends and preapare 
a scatterlist struct for each page)

thanks
allen

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic