Page MenuHome GnuPG

libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance)
Closed, ResolvedPublic

Description

Should we also optimize ECB mode for parallel processing?

I've noticed that users might make uneducated decision to use ECB for benchmarking different libraries against each other, even though ECB may be left intentionally unoptimized for parallel processing (like in libgcrypt now). Optimization in ECB would allow it to better mirror performance expected from modern AEAD modes (eg OCB).

Event Timeline

It's not that needed, in my opinion, as nobody actually uses ECB itself (in real use case). But I understand the point of (possibly, students') benchmarking.

So, I don't have any objection to optimize ECB. Please go ahead, when/if you have time.

werner added a subscriber: werner.

Go ahead if you want to do that.

jukivili claimed this task.