Re:NIST may not have you in mind
by planckscnst on Sunday October 21, 2012 @12:24PM
(#4679984)
It seems strange that the author is complaining about AES speed. About a year ago, I benchmarked an IPsec setup between two cheap routers with an ARM9 processor that did not have any special crypto blocks in it. AES significanly outperformed the other algorithms I tried.
[ Parent
| on HN ]
You were almost certainly benchmarking an implementation of AES that relies on table lookups for speed; those table lookups create a side channel vulnerability, which was much of the point of this article.
Re:NIST may not have you in mind
by planckscnst on Sunday October 21, 2012 @12:38PM
(#4680008)
Interesting; it was what's in the Linux kernel.
Pretty sure that's an S-box AES. The issue is that when implemented (a) in software (b) without reliance on large lookup tables --- ie, "securely" --- AES is significantly slower.
That's a table of stream ciphers benchmarked against AES, a block cipher, in CTR mode.
Yes. Apart from disk encryption, they are pretty much interchangeable (OP talked about IPSec).
AES is normally benchmarked against other block ciphers. It might not be fair to compare the performance of a native stream cipher to that of AES rigged up as a stream cipher with CTR.
Re:NIST may not have you in mind
by floody-berry on Monday October 22, 2012 @12:24AM
(#4681845)
What makes the comparison unfair?
The other ciphers are natively stream ciphers, and AES is a block cipher adapted via CTR mode to be a stream cipher.
Re:NIST may not have you in mind
by floody-berry on Monday October 22, 2012 @06:50PM
(#4685963)
I'm still missing what makes it unfair. Are other modes of AES potentially faster? Does AES provide something that stream ciphers don't? Are Salsa20/Chacha20 unable to be compared to anything because they're native stream ciphers that look like a block cipher in CTR mode under the hood?