> Any ODS will have some kind of internal headers in the beginning of
> data just because there is no way to get rid of them.

OK.


After running some benchmarks of CBC and XTS mode it turns out XTS is
about 4 times faster on the following hardware:

Intel(R) Core(TM) i5-2500 CPU and Debian 9:

$ openssl speed -elapsed -evp aes-128-cbc

The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  
16384 bytes
aes-128-cbc     584819.37k   677239.36k   703971.41k   711211.69k   714863.96k  
 714817.54k

$ openssl speed -elapsed -evp aes-128-xts

The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  
16384 bytes
aes-128-xts     274325.95k   966530.77k  2188390.83k  3392874.50k  4025499.65k  
4070801.41k


Intel(R) Xeon(R) W-2155 CPU and Debian 9:

$ openssl speed -elapsed -evp aes-128-cbc

The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  
16384 bytes
aes-128-cbc     906050.14k  1525035.99k  1568800.68k  1583081.13k  1571853.65k  
1572377.94k

$ openssl speed -elapsed -evp aes-128-xts

The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  
16384 bytes
aes-128-xts     583329.93k  2032246.29k  4287464.87k  5861887.66k  6374801.41k  
6582566.91k

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to