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; Raptor Cove (b06a2); 2023 Intel Core i7-13700H, P cores; 6 x 4800MHz; raptor, supercop-20231107

[Page version: 20241014 13:34:05]

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.400.410.42T:aes128ctr
0.39?0.43?0.47?T:aes192ctr
0.460.460.47aes256ctr
0.45?0.48?0.51?tango642
0.570.580.59chacha8
0.640.650.66salsa208
0.840.840.86chacha12
0.910.920.93salsa2012
1.051.061.08T:speck6496ctr
1.091.101.11T:speck64128ctr
1.13?1.22?1.27?T:hc128
1.07?1.23?1.55?T:tpy
1.271.301.32chacha20
1.291.301.32T:speck128128ctr
1.14?1.32?1.50?T:tpy6
1.321.331.35T:speck128192ctr
1.361.371.39T:speck128256ctr
1.28?1.40?1.52?T:hc256
1.431.451.46xsalsa20
1.441.451.47salsa20
1.57?1.67?1.83?T:tpypy
1.64?1.68?1.84?T:snow20
1.641.681.74T:nlsv2
1.761.821.87T:panama
1.881.891.89T:trivium
1.96?2.00?2.23?T:rabbit
2.032.042.06T:simon6496ctr
1.68?2.10?2.18?T:sosemanuk
2.112.132.14T:simon64128ctr
2.302.322.33T:cryptmtv3
3.083.103.12T:simon128128ctr
3.223.253.29T:simon128256ctr
3.603.623.65T:lexv2
7.277.307.34T:aes128estream
11.3811.4011.43T:aes256estream
12.5112.8013.09T:ocelot1
13.8714.2514.78T:ocelot2
22.51?23.83?27.22?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.440.440.44T:aes128ctr
0.500.500.51aes256ctr
0.580.580.61tango642
0.580.590.59chacha8
0.630.650.66T:aes192ctr
0.660.660.67salsa208
0.850.860.86chacha12
0.920.930.93salsa2012
1.091.091.10T:speck6496ctr
1.131.141.14T:speck64128ctr
1.301.311.32chacha20
1.331.341.35T:speck128128ctr
1.371.371.38T:speck128192ctr
1.411.411.42T:speck128256ctr
1.451.461.47salsa20
1.541.541.55xsalsa20
1.781.801.92T:snow20
1.841.861.89T:nlsv2
1.861.972.05T:tpy6
1.971.971.98T:trivium
2.072.092.24T:rabbit
2.272.272.28T:simon6496ctr
2.02?2.33?2.33?T:sosemanuk
2.302.342.36T:panama
2.482.482.49T:simon64128ctr
2.532.582.78T:tpy
2.792.802.80T:cryptmtv3
3.183.223.28T:tpypy
3.373.383.39T:simon128128ctr
3.523.533.55T:hc128
3.713.723.73T:lexv2
3.723.743.75T:simon128256ctr
7.337.357.37T:aes128estream
7.527.547.60T:hc256
11.4611.4711.49T:aes256estream
13.6513.7513.90T:ocelot1
14.9615.1115.38T:ocelot2
24.74?25.50?27.95?T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.470.480.49T:aes128ctr
0.550.560.57aes256ctr
0.590.600.61chacha8
0.670.680.68salsa208
0.760.770.82tango642
0.860.870.88chacha12
0.930.940.95salsa2012
1.011.031.12T:aes192ctr
1.141.161.18T:speck6496ctr
1.171.191.21T:speck64128ctr
1.311.331.34chacha20
1.391.411.41T:speck128128ctr
1.431.441.45T:speck128192ctr
1.461.471.49salsa20
1.471.481.49T:speck128256ctr
1.691.701.72xsalsa20
2.112.122.12T:trivium
1.93?2.15?2.18?T:snow20
2.172.202.23T:rabbit
2.242.272.32T:nlsv2
2.482.492.65T:sosemanuk
2.642.662.67T:simon6496ctr
2.902.983.15T:tpy6
3.053.073.09T:simon64128ctr
3.143.193.21T:panama
3.833.863.88T:simon128128ctr
3.843.883.94T:lexv2
3.953.963.98T:cryptmtv3
4.534.544.56T:simon128256ctr
4.995.095.19T:tpy
5.635.745.85T:tpypy
7.347.367.38T:hc128
7.417.437.44T:aes128estream
11.5811.6111.65T:aes256estream
14.9015.1115.34T:ocelot1
16.4216.6416.98T:ocelot2
17.7117.8617.97T:hc256
26.7428.0929.49T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.650.670.70T:aes128ctr
0.760.770.78chacha8
0.780.790.86aes256ctr
0.870.880.89salsa208
1.161.171.19chacha12
1.231.251.26salsa2012
1.251.261.31tango642
1.33?1.34?1.83?T:speck6496ctr
1.361.381.39T:speck64128ctr
1.591.601.62T:speck128128ctr
1.641.651.66T:speck128192ctr
1.691.701.72T:speck128256ctr
1.731.761.78chacha20
1.861.962.06T:aes192ctr
1.941.961.98salsa20
2.212.342.40T:snow20
2.492.502.52T:trivium
2.452.542.64T:rabbit
2.562.592.63xsalsa20
3.133.183.24T:nlsv2
3.293.313.32T:simon64128ctr
3.663.823.92T:sosemanuk
4.194.214.23T:simon6496ctr
4.244.274.39T:lexv2
4.444.474.48T:cryptmtv3
4.934.944.95T:simon128128ctr
5.265.285.32T:simon128256ctr
5.475.515.64T:panama
5.625.936.05T:tpy6
7.587.607.64T:aes128estream
10.5610.7610.98T:tpy
11.8411.8811.95T:aes256estream
12.2712.4812.64T:tpypy
17.5317.5817.69T:hc128
18.5519.2319.76T:ocelot1
19.7320.5321.28T:ocelot2
33.1633.5834.61T:amastrid
44.8145.0645.46T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.801.921.95chacha8
2.472.562.62T:speck6496ctr
2.592.642.77T:speck64128ctr
2.912.953.03chacha12
3.093.123.23T:aes128ctr
3.14?3.30?3.53?salsa208
3.253.313.41T:speck128128ctr
3.303.363.45T:speck128192ctr
3.383.473.55T:speck128256ctr
3.66?3.75?4.19?aes256ctr
4.224.424.55salsa2012
5.25?5.44?6.16?T:rabbit
5.555.665.80chacha20
5.916.056.19T:snow20
6.506.626.70salsa20
6.947.037.12T:simon6496ctr
7.257.387.56T:trivium
7.317.457.59tango642
8.008.088.19T:simon64128ctr
8.348.448.64T:cryptmtv3
9.229.339.45T:lexv2
9.819.929.98T:aes128estream
11.7811.8612.00xsalsa20
11.8011.9412.22T:simon128128ctr
12.9813.1713.30T:simon128256ctr
13.6213.7814.62T:aes192ctr
15.4715.5515.70T:aes256estream
16.9817.5617.92T:nlsv2
17.7717.8418.03T:sosemanuk
36.0337.0338.44T:panama
39.1639.6441.17T:tpy6
59.41?62.17?68.03?T:ocelot1
59.94?62.30?70.53?T:ocelot2
91.8194.4498.95T:amastrid
95.1795.6998.84T:tpypy
92.3897.9499.78T:tpy
148.14148.30148.61T:hc128
392.16393.45397.44T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.0013.5013.75T:speck64128ctr
14.7515.1216.38T:speck128256ctr
15.0015.5015.88T:speck128128ctr
15.2515.6216.12T:speck128192ctr
15.3815.6216.25chacha8
14.8815.7516.38T:speck6496ctr
19.8820.3820.88salsa208
23.8824.2524.75chacha12
25.2526.0026.38T:aes128ctr
28.3828.8829.12salsa2012
29.8830.5032.12aes256ctr
31.8833.1235.25T:rabbit
39.1239.6240.12T:simon6496ctr
44.1244.6245.88T:trivium
45.5046.1246.50chacha20
46.7547.1247.75T:simon64128ctr
46.75?48.00?56.12?T:cryptmtv3
41.88?49.50?50.50?T:aes128estream
48.12?49.88?85.75?T:snow20
50.0051.0055.50salsa20
52.3853.0054.25T:lexv2
55.8856.3858.00tango642
56.3857.5059.00T:aes256estream
73.2574.1274.88T:simon128128ctr
81.7583.0085.62T:simon128256ctr
93.3894.2595.75xsalsa20
96.1299.50104.62T:nlsv2
107.75109.75118.25T:aes192ctr
142.12142.88144.38T:sosemanuk
279.88284.50295.38T:panama
305.88307.00312.38T:tpy6
349.88?356.75?392.25?T:ocelot1
383.25?405.62?465.00?T:ocelot2
600.50618.88659.12T:amastrid
754.38768.88792.50T:tpypy
766.62782.75798.88T:tpy
1183.881186.251194.00T:hc128
3125.623134.123155.75T:hc256