VAMPIRE

eBACS: ECRYPT Benchmarking of Cryptographic Systems


ECRYPT II
General information:IntroductioneBASHeBASCeBAEADeBATSSUPERCOPXBXComputersArch
How to submit new software:Tipshashstreamaeaddhkemencryptsign
List of primitives measured:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
Measurements:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
List of subroutines:verifydecodeencodesortcorehashblocksxofscalarmult

Measurements of stream ciphers on one machine: amd64; Coffee Lake (906ea); 2018 Intel Xeon E-2124; 4 x 3300MHz; r24000, supercop-20250415

[Page version: 20250506 12:42:54]

eBASC (ECRYPT Benchmarking of Stream Ciphers) is a project to measure the performance of stream ciphers. This page presents benchmark results collected in eBASC:

Graphs show timings for all message lengths between 0 and 4096 bytes. The stair-step shape of a typical curve on the graphs reflects the fact that these stream ciphers handle messages in blocks, such as 64-byte blocks.

Each table row lists the first quartile of many speed measurements, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance are indicated in red with question marks. The symbol T: (starting with supercop-20200816) means that the SUPERCOP database at the time of benchmarking did not list constant time as a goal for this implementation. The symbol T!!! means that constant time was listed as a goal for this implementation, but that the implementation failed TIMECOP. (TIMECOP failures are not necessarily security issues; they can sometimes be resolved by, e.g., declaring that a rejection-sampling condition is safe to declassify.)

There is a separate page with more information about each stream cipher and each implementation. Designers and implementors interested in submitting new stream ciphers and new implementations should read the call for submissions.


Test results

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.510.520.53chacha8
0.600.600.62salsa208
0.630.630.63T:aes128ctr
0.690.690.70tango642
0.30?0.73?2.44?chacha12
0.750.780.80T:aes192ctr
0.840.840.85salsa2012
0.870.870.87aes256ctr
0.991.001.01T:speck6496ctr
1.031.041.04T:speck64128ctr
1.131.141.15chacha20
1.231.231.24T:speck128128ctr
1.261.271.28T:speck128192ctr
1.291.291.30T:speck128256ctr
1.331.341.35salsa20
1.341.351.35xsalsa20
1.701.741.78T:tpy
1.781.791.80T:hc128
1.791.821.85T:sosemanuk
1.901.911.91T:trivium
2.002.012.02T:nlsv2
1.962.022.09T:tpy6
2.152.182.22T:simon128128ctr
2.232.232.24T:simon6496ctr
2.302.322.34T:simon128256ctr
2.362.382.39T:simon64128ctr
2.442.472.50T:hc256
2.482.482.50T:cryptmtv3
2.642.692.72T:tpypy
2.742.762.79T:snow20
2.762.782.79T:rabbit
2.832.842.86T:panama
4.094.114.13T:lexv2
8.338.358.37T:aes128estream
12.8312.8812.93T:aes256estream
16.9317.0917.25T:ocelot1
18.2918.3318.39T:ocelot2
30.2831.7332.37T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.550.55chacha8
0.630.630.64salsa208
0.680.680.68T:aes128ctr
0.76?0.76?2.04?chacha12
0.850.850.85tango642
0.870.870.87salsa2012
0.940.940.94aes256ctr
1.041.041.04T:speck6496ctr
1.071.081.08T:speck64128ctr
1.141.141.15T:aes192ctr
1.161.161.17chacha20
1.281.281.28T:speck128128ctr
1.311.321.32T:speck128192ctr
1.341.341.34T:speck128256ctr
1.371.371.38salsa20
1.471.471.48xsalsa20
2.012.012.02T:trivium
2.142.142.15T:nlsv2
2.332.342.36T:sosemanuk
2.452.462.48T:simon128128ctr
2.492.492.50T:simon6496ctr
2.552.582.62T:tpy6
2.752.752.76T:simon128256ctr
2.792.792.80T:simon64128ctr
2.852.852.87T:snow20
2.872.872.88T:rabbit
2.962.972.97T:cryptmtv3
3.073.093.10T:tpy
3.793.803.81T:panama
4.034.054.06T:tpypy
4.244.244.26T:lexv2
4.584.594.59T:hc128
8.418.418.42T:aes128estream
9.689.699.70T:hc256
13.0013.0213.04T:aes256estream
18.4218.5118.61T:ocelot1
19.2419.2619.28T:ocelot2
31.9032.9533.22T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.580.59chacha8
0.660.670.68salsa208
0.780.790.79T:aes128ctr
0.80?0.81?2.07?chacha12
0.910.920.92salsa2012
1.061.071.07aes256ctr
1.101.111.11T:speck6496ctr
1.111.111.12tango642
1.141.141.14T:speck64128ctr
1.191.201.21chacha20
1.351.361.36T:speck128128ctr
1.381.381.39T:speck128192ctr
1.421.421.42T:speck128256ctr
1.411.421.43salsa20
1.681.691.69xsalsa20
1.771.791.80T:aes192ctr
2.182.182.19T:trivium
2.422.422.44T:nlsv2
2.912.912.92T:simon6496ctr
2.882.912.95T:simon128128ctr
2.993.003.02T:snow20
3.033.043.05T:rabbit
3.253.263.29T:sosemanuk
3.463.473.49T:simon128256ctr
3.473.493.58T:tpy6
3.743.743.75T:simon64128ctr
4.274.284.29T:cryptmtv3
4.484.494.50T:lexv2
5.285.325.36T:tpy
5.365.385.41T:panama
6.216.246.29T:tpypy
8.518.538.55T:aes128estream
9.239.239.25T:hc128
13.1913.2213.26T:aes256estream
20.7820.8720.95T:ocelot2
20.8020.9921.06T:ocelot1
21.6721.7021.72T:hc256
34.1135.1735.35T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.830.84chacha8
0.950.950.97salsa208
1.081.081.09T:aes128ctr
1.11?1.13?2.24?chacha12
1.291.291.30salsa2012
1.351.361.38T:speck6496ctr
1.391.401.41T:speck64128ctr
1.441.451.45aes256ctr
1.641.651.65T:speck128128ctr
1.671.681.68chacha20
1.681.691.71T:speck128192ctr
1.731.731.74T:speck128256ctr
1.791.801.84tango642
1.971.981.99salsa20
2.642.642.65T:trivium
2.682.692.70xsalsa20
3.153.163.18T:nlsv2
3.393.403.42T:simon64128ctr
3.423.443.46T:snow20
3.453.463.47T:rabbit
3.433.493.52T:aes192ctr
4.534.544.56T:simon6496ctr
4.714.734.74T:cryptmtv3
4.954.954.97T:simon128128ctr
5.075.095.12T:lexv2
5.355.375.38T:simon128256ctr
5.675.705.80T:sosemanuk
5.976.036.15T:tpy6
8.818.848.86T:aes128estream
9.529.569.65T:panama
11.2611.3011.34T:tpy
12.1912.3312.46T:tpypy
13.7713.8113.86T:aes256estream
21.7221.7421.76T:hc128
24.9225.0825.26T:ocelot2
27.1427.2427.36T:ocelot1
39.9940.2741.08T:amastrid
53.8053.8653.90T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.343.36chacha8
3.843.843.88salsa208
3.863.913.94T:speck6496ctr
3.914.004.03T:speck64128ctr
4.204.234.25chacha12
4.484.554.56T:speck128128ctr
4.734.734.77T:aes128ctr
4.834.884.89salsa2012
4.804.914.94T:speck128192ctr
4.884.975.05T:speck128256ctr
5.986.086.09aes256ctr
6.056.086.12chacha20
6.977.037.06salsa20
8.168.198.23T:trivium
8.228.278.30T:simon6496ctr
8.478.508.58T:rabbit
8.698.789.00T:snow20
9.839.9210.00T:simon64128ctr
10.1710.2310.30T:cryptmtv3
10.6610.7511.06tango642
12.6612.7312.92T:aes128estream
12.7312.8313.05T:lexv2
13.1413.1913.25T:simon128128ctr
13.4413.5513.69xsalsa20
14.4514.5814.67T:nlsv2
14.8814.8815.00T:simon128256ctr
18.5218.7018.86T:aes256estream
23.7023.8324.11T:aes192ctr
33.4833.8434.86T:sosemanuk
38.9539.2339.53T:tpy6
62.3162.5262.98T:panama
77.3678.0378.78T:ocelot2
88.1188.5388.84T:tpy
88.6789.2789.62T:tpypy
103.22104.09104.69T:ocelot1
112.70113.42114.45T:amastrid
181.33181.62181.83T:hc128
464.34464.55465.09T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.2521.6221.88T:speck64128ctr
21.25?21.62?24.12?T:speck6496ctr
25.3826.0027.12T:speck128128ctr
26.1226.5027.12T:speck128192ctr
26.1226.6228.75T:speck128256ctr
34.3834.3834.62chacha8
36.5036.6236.75T:aes128ctr
45.6246.1246.75salsa208
47.0047.3847.62aes256ctr
49.6250.2550.75chacha12
51.7552.0052.62T:simon6496ctr
52.8853.1253.25T:rabbit
52.7553.2554.50T:trivium
53.5054.0054.38salsa2012
59.6259.7560.12chacha20
59.2559.8860.75T:cryptmtv3
59.5060.0060.88T:aes128estream
63.0063.5064.00salsa20
64.2564.7565.38T:simon64128ctr
68.8869.8870.62T:snow20
71.5072.1273.75T:aes256estream
77.1277.1278.50T:simon128128ctr
76.8877.6279.12T:lexv2
80.0080.5082.38T:nlsv2
80.8882.2585.38tango642
90.7590.8892.25T:simon128256ctr
115.50116.00117.12xsalsa20
189.50190.88192.50T:aes192ctr
268.50270.25278.12T:sosemanuk
297.62299.00301.88T:tpy6
489.50491.50494.50T:panama
496.25502.25507.12T:ocelot2
690.00692.12694.12T:tpy
693.25698.75701.75T:tpypy
708.25712.75716.00T:ocelot1
753.75759.12767.38T:amastrid
1452.121453.251454.62T:hc128
3718.753722.623724.75T:hc256