4 ms·
If latency is so important why use AES GCM instead of AES OCB? openssl speed -evp CIPHER for example: (ECB only for reference, don't use) type
by coppsilgold 3y ago
If latency is so important why use AES GCM instead of AES OCB?
openssl speed -evp CIPHER for example: (ECB only for reference, don't use)
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
AES-256-GCM 655193.56k 1747223.44k 3399072.36k 4490100.61k 5033129.30k 5108596.96k
AES-256-OCB 631357.15k 2268916.74k 4794610.30k 6492985.36k 7174274.14k 7301540.60k
AES-256-ECB 997960.96k 3972424.35k 8096120.70k 8105542.89k 8179659.94k 8188882.64k
AES-128-GCM 747463.90k 1856932.41k 3762591.34k 4700335.25k 5224533.22k 5157661.06k
AES-128-OCB 702729.38k 2479151.86k 5919529.91k 8719316.46k 10545305.23k 10536095.61k
AES-128-ECB 1291715.10k 5180010.63k 11093258.14k 11815558.81k 11913592.61k 11947322.76k
OCB also won the CAESAR competition for "High-performance applications" portfolio. It is much older than the competition and is no longer patent-encumbered.
- yobid20 3y agoWe have external dependancies requiring this. We can't change the specific cipher suites ourselves.