Scatterlist CryptoAPI 2.6.11.8 - questions regarding implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux