Hi James, more numbers here.
Soft. AES implementation vs AES-NI implementation, 512 MB, ECB mode of operation, single core, buffer size 32kB, Windows: AES 128: 3873 ms (average calculated on 10 measurements) AES-NI 128: 1067 ms (average calculated on 10 measurements) Numbers are from my study, and they were also computed on pretty cheap notebook. The obtained results are similar to Intel's papers (there are many). I will try to implement ChaCha20 on Windows over the next few days. Boris Damjanović > Here are some numbers. The numbers were comoued on my boat computer, > which > is a very cheap notebook, so consider them relative, not absolute. > > 10mb encryption with a single key: > > RC4: 0.021 seconds > ChaCha20: 0.007 > AES-128: 0.212 > > 10mb encryption setting key every 1024 bytes: > > RC4: 0.201 seconds > ChaCha20: 0.091 > AES-128: 2.400 > > ChaCha20 is a clear winner. And it has a cool name. > > I make no claims that the AES implementation is anywhere near optimal -- > it > is one I found with an acceptable license and not deeply embedded in a > huge > crypto library. AES, unlike the stream ciphers, has opportunities for > what > D. J. Bernstein (the crypto god who invented ChaCha20 and all sorts of > other good and valuable stuff) calls voodoo. > > > > -- > Jim Starkey > ------------------------------------------------------------------------------ > Firebird-Devel mailing list, web interface at > https://lists.sourceforge.net/lists/listinfo/firebird-devel > ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel