[PATCH 06/10] Add parallelized AES-NI ECB decryption
Jussi Kivilinna
jussi.kivilinna at mbnet.fi
Mon Nov 26 10:43:26 CET 2012
Quoting Werner Koch <wk at gnupg.org>:
> On Fri, 23 Nov 2012 18:22, jussi.kivilinna at mbnet.fi said:
>
>> Parallelized ECB decryption is ~2.0x faster on Intel Sandy-Bridge (x86-64).
>
> I do not see a reason to ever do more than once ECB block. Use cases
> for ECB are very limited and the use multi-block ECB is a strong
> indication of a severe cryptographic flaw. Thus your parallelized ECB
> mode would only blow up the code.
Benefit is that if someone implements other parallelisable mode (XTS
for example) on top of libgcrypt/ECB, they can benefit from improved
speed. Plain ECB might only be interest of benchmarking.
-Jussi
>
> I applied all your other patches to master.
>
> Thanks,
>
> Werner
>
> --
> Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
>
>
>
More information about the Gcrypt-devel
mailing list