Re: [cryptography] 100 Gbps line rate encryption

2013-06-22 Thread Peter Maxwell
I think Bernstein's Salsa20 is faster and significantly more secure than
RC4, whether you'll be able to design hardware to run at line-speed is
somewhat more questionable though (would be interested to know if it's
possible right enough).



On 22 June 2013 18:35, William Allen Simpson 
william.allen.simp...@gmail.com wrote:

 A quick question: what are our current options for 100 Gbps
 line rate encryption?

 Are we still using variants of ARC4?
 ___
 cryptography mailing list
 cryptography@randombit.net
 http://lists.randombit.net/mailman/listinfo/cryptography

___
cryptography mailing list
cryptography@randombit.net
http://lists.randombit.net/mailman/listinfo/cryptography


Re: [cryptography] 100 Gbps line rate encryption

2013-06-22 Thread James A. Donald

On 2013-06-23 6:47 AM, Peter Maxwell wrote:



I think Bernstein's Salsa20 is faster and significantly more secure 
than RC4, whether you'll be able to design hardware to run at 
line-speed is somewhat more questionable though (would be interested 
to know if it's possible right enough).


I would be surprised if it is faster.


___
cryptography mailing list
cryptography@randombit.net
http://lists.randombit.net/mailman/listinfo/cryptography


Re: [cryptography] 100 Gbps line rate encryption

2013-06-22 Thread Natanael
Would anybody dare to use a SHA256 based stream cipher? (XOR with checksum
of key and counter or whatever you want to throw in there.) Would it be
faster than RC4/Salsa20? I'm a bit curious about why nobody seems to be
using hash/checksum based stream ciphers.


2013/6/23 James A. Donald jam...@echeque.com

  On 2013-06-23 6:47 AM, Peter Maxwell wrote:



  I think Bernstein's Salsa20 is faster and significantly more secure than
 RC4, whether you'll be able to design hardware to run at line-speed is
 somewhat more questionable though (would be interested to know if it's
 possible right enough).


 I would be surprised if it is faster.



 ___
 cryptography mailing list
 cryptography@randombit.net
 http://lists.randombit.net/mailman/listinfo/cryptography


___
cryptography mailing list
cryptography@randombit.net
http://lists.randombit.net/mailman/listinfo/cryptography


Re: [cryptography] 100 Gbps line rate encryption

2013-06-22 Thread Peter Maxwell
On 22 June 2013 23:31, James A. Donald jam...@echeque.com wrote:

  On 2013-06-23 6:47 AM, Peter Maxwell wrote:



  I think Bernstein's Salsa20 is faster and significantly more secure than
 RC4, whether you'll be able to design hardware to run at line-speed is
 somewhat more questionable though (would be interested to know if it's
 possible right enough).


 I would be surprised if it is faster.




Given the 100Gbps spec, I can only presume it's hardware that's being
talked about, which is well outwith my knowledge.  We also don't know
whether there is to be only one keystream allowed or not.

However, just to give an idea of performance: from a cursory search on
Google, once can seemingly find Salsa20/12 being implemented recently on
GPU with performance around 43Gbps without memory transfer (2.7Gbps with) -
http://link.springer.com/chapter/10.1007%2F978-3-642-38553-7_11 ) -
unfortunately I don't have access to the paper.

On a decent 64-bit processor, the full Salsa20/20 is coming in around
3-4cpb - http://bench.cr.yp.to/results-stream.html - and while cpb isn't a
great measurement, it at least gives a feel for things.


Going on a very naive approach, I would imagine the standard RC4 will
suffer due to being byte-orientated and not particularly open to
parallelism.  Salsa20 operates on 32-bit words and from a cursory
inspection of the spec seems to offer at least some options to do
operations in parallel.

If I were putting money on it, I suspect one could optimise at least
Salsa20/12 to be faster than RC4 on modern platforms; whether this has been
done is another story.  Fairly sure Salsa20/8 was faster than RC4
out-of-the-box.

As with anything though, I stand to be corrected.
___
cryptography mailing list
cryptography@randombit.net
http://lists.randombit.net/mailman/listinfo/cryptography


Re: [cryptography] 100 Gbps line rate encryption

2013-06-22 Thread Greg Rose

On Jun 22, 2013, at 15:31 , James A. Donald jam...@echeque.com wrote:

 On 2013-06-23 6:47 AM, Peter Maxwell wrote:
 
 
 I think Bernstein's Salsa20 is faster and significantly more secure than 
 RC4, whether you'll be able to design hardware to run at line-speed is 
 somewhat more questionable though (would be interested to know if it's 
 possible right enough).
 
 I would be surprised if it is faster.

Be surprised, then... almost all of the recent word- or block- oriented stream 
ciphers are faster than RC4. And NOTHING should still be using RC4; by today's 
standards it is quite insecure.

Greg.

___
cryptography mailing list
cryptography@randombit.net
http://lists.randombit.net/mailman/listinfo/cryptography