Re: zero-copy TCP fileserving

Olaf Titz (olaf@bigred.inka.de)
Thu, 03 Jun 1999 14:13:52 +0300


> The Linux network stack is much faster than any decent software encryption
> scheme, all of which make a dozen or more read/write rounds on its
> input, so that isn't a very interesting case. The interesting cases for

True for block ciphers, but stream ciphers like RC4 just XOR a key
stream into the data. It would be interesting to make that as fast as
possible (big registers?), which could be a win if the key stream is
computed asynchronously in some way (and RC4 is pretty fast in that
too).

Don't know if this would be really a win, though. Also the usefulness
of stream ciphers is limited (basically, the only level this works on
is from a TCP connection upwards).

Olaf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/