On Thu, Jun 30, 2011 at 10:21 PM, Niels Möller nisse@lysator.liu.se wrote:
It's conceivable that one can use simd instructions to get some speedup also for aes and camellia, but it's not going to be almost trivial like it is for serpent. (And for aes, I don't yet have any code using the special instructions available in newer x86_64 processors).
In gnutls we use Andy Polyakov's code. It can be found at:
(AES-NI) http://cvs.openssl.org/dir?d=openssl/crypto/aes/asm
(AES-GCM) http://cvs.openssl.org/dir?d=openssl/crypto/modes/asm
Its license is LGPL compatible.
regards, Nikos