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; Golden Cove (90675-00); 2022 Intel Core i3-12100; 4 x 3300MHz; alder, supercop-20241022

[Page version: 20241120 00:41:23]

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.240.250.26aes256ctr
0.330.340.34T:aes128ctr
0.410.410.42T:aes192ctr
0.43?0.46?0.49?tango642
0.540.550.56chacha8
0.580.590.60salsa208
0.770.780.80chacha12
0.850.860.90salsa2012
1.011.021.03T:speck6496ctr
1.051.061.06T:speck64128ctr
1.251.261.27T:speck128128ctr
1.241.261.28chacha20
1.281.291.31T:speck128192ctr
1.321.331.34T:speck128256ctr
1.341.361.37xsalsa20
1.361.371.38salsa20
1.25?1.40?1.57?T:hc128
1.561.571.58T:simon6496ctr
1.43?1.60?1.77?T:hc256
1.611.651.72T:sosemanuk
1.59?1.68?1.86?T:snow20
1.581.681.71T:nlsv2
1.681.691.71T:simon64128ctr
1.631.721.78T:tpy
1.751.771.80T:panama
1.891.891.90T:trivium
1.901.952.03T:rabbit
1.96?2.15?2.23?T:tpy6
2.372.392.40T:cryptmtv3
2.382.392.40T:simon128128ctr
2.622.652.66T:simon128256ctr
2.632.722.78T:tpypy
3.573.593.62T:lexv2
7.277.297.32T:aes128estream
11.0311.0911.12T:aes256estream
11.9812.4712.75T:ocelot1
14.4014.7815.38T:ocelot2
21.10?22.58?25.54?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.290.300.30aes256ctr
0.370.380.38T:aes128ctr
0.500.510.51T:aes192ctr
0.550.550.56chacha8
0.590.590.59salsa208
0.580.590.61tango642
0.780.790.80chacha12
0.860.870.89salsa2012
1.041.041.05T:speck6496ctr
1.081.081.08T:speck64128ctr
1.251.261.27chacha20
1.281.281.29T:speck128128ctr
1.321.321.33T:speck128192ctr
1.361.361.37T:speck128256ctr
1.371.371.38salsa20
1.441.441.45xsalsa20
1.731.731.74T:simon6496ctr
1.731.741.87T:snow20
1.801.811.82T:nlsv2
1.861.881.92T:sosemanuk
1.911.911.92T:simon64128ctr
1.981.981.98T:trivium
2.012.022.06T:rabbit
2.282.292.30T:panama
2.632.632.64T:simon128128ctr
2.612.742.77T:tpy6
2.842.852.86T:cryptmtv3
2.993.003.00T:simon128256ctr
3.133.163.19T:tpy
3.683.693.70T:lexv2
3.823.893.97T:hc128
4.064.124.16T:tpypy
7.327.347.35T:aes128estream
7.567.667.69T:hc256
11.1411.1711.18T:aes256estream
13.5413.8313.97T:ocelot1
15.4115.5615.95T:ocelot2
23.04?23.89?25.97?T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.370.370.40aes256ctr
0.440.440.45T:aes128ctr
0.540.550.56chacha8
0.590.600.60salsa208
0.660.670.67T:aes192ctr
0.780.790.81chacha12
0.780.800.82tango642
0.850.850.87salsa2012
1.071.081.09T:speck6496ctr
1.111.121.12T:speck64128ctr
1.251.271.29chacha20
1.321.331.34T:speck128128ctr
1.361.371.38T:speck128192ctr
1.371.381.40salsa20
1.401.411.43T:speck128256ctr
1.581.591.60xsalsa20
1.821.841.86T:snow20
2.002.002.01T:simon6496ctr
2.102.112.14T:rabbit
2.132.142.14T:trivium
2.112.152.18T:nlsv2
2.272.282.29T:simon64128ctr
2.252.282.31T:sosemanuk
3.023.033.04T:simon128128ctr
3.153.173.19T:panama
3.553.593.69T:tpy6
3.583.603.61T:simon128256ctr
3.823.853.88T:lexv2
3.933.933.94T:cryptmtv3
5.505.525.58T:tpy
6.466.526.56T:tpypy
7.387.407.43T:aes128estream
7.797.828.02T:hc128
11.2811.3411.39T:aes256estream
16.0516.4116.62T:ocelot1
16.7516.9017.43T:ocelot2
17.6317.6517.68T:hc256
25.2625.9027.06T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.630.640.66T:aes128ctr
0.680.690.71chacha8
0.770.790.82salsa208
0.850.850.86aes256ctr
1.011.021.03chacha12
1.071.091.11T:aes192ctr
1.121.141.16salsa2012
1.211.221.23T:speck6496ctr
1.251.261.27T:speck64128ctr
1.301.311.41tango642
1.491.501.51T:speck128128ctr
1.531.551.55T:speck128192ctr
1.591.601.61T:speck128256ctr
1.661.671.69chacha20
1.841.851.88salsa20
2.102.172.23T:snow20
2.432.452.48xsalsa20
2.522.522.53T:trivium
2.462.552.66T:rabbit
2.823.013.13T:nlsv2
3.133.143.15T:simon64128ctr
3.303.313.35T:simon6496ctr
3.403.423.52T:sosemanuk
4.204.224.34T:lexv2
4.444.474.49T:cryptmtv3
4.934.944.95T:simon128128ctr
5.185.195.22T:simon128256ctr
5.385.435.49T:panama
6.376.506.59T:tpy6
7.547.577.61T:aes128estream
11.2611.5612.27T:tpy
11.5511.6311.69T:aes256estream
12.5212.6912.84T:tpypy
18.9219.0119.15T:hc128
20.8621.5422.10T:ocelot2
21.7722.5123.37T:ocelot1
30.6031.1932.17T:amastrid
44.6044.7845.44T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.552.612.70T:speck6496ctr
2.642.722.78T:speck64128ctr
2.722.832.89chacha8
2.95?3.12?3.36?salsa208
3.303.383.62T:aes128ctr
3.473.563.62T:speck128256ctr
3.483.583.66T:speck128128ctr
3.613.693.80T:speck128192ctr
3.863.954.00chacha12
4.144.234.31salsa2012
5.125.275.59aes256ctr
5.39?5.58?6.41?T:rabbit
5.775.866.22T:snow20
6.066.146.19chacha20
6.286.346.42salsa20
7.05?7.16?7.88?T:simon6496ctr
7.427.507.62T:simon64128ctr
7.507.597.64T:trivium
7.667.777.88T:aes192ctr
7.988.128.27tango642
8.168.288.36T:cryptmtv3
9.039.209.52T:lexv2
9.729.839.95T:aes128estream
11.1911.3111.47xsalsa20
11.7711.8812.08T:simon128128ctr
12.9413.0313.19T:simon128256ctr
14.5515.0915.52T:nlsv2
15.4115.6215.89T:aes256estream
17.1617.2517.44T:sosemanuk
34.7735.5838.02T:panama
40.3940.7842.28T:tpy6
59.5061.3465.94T:ocelot2
93.2893.7594.53T:tpypy
92.0695.77102.17T:amastrid
90.44?99.64?101.50?T:tpy
103.39106.17108.59T:ocelot1
159.97160.27161.00T:hc128
389.89391.14394.55T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.7514.3815.00T:speck6496ctr
14.0014.6215.50T:speck64128ctr
15.6216.1216.62T:speck128192ctr
15.8816.2516.62T:speck128128ctr
26.0026.6227.25T:aes128ctr
29.3829.6230.25salsa2012
29.1229.7530.25chacha8
31.3832.2533.50T:speck128256ctr
33.3833.7534.00salsa208
33.6234.1235.00aes256ctr
33.12?34.38?37.38?T:rabbit
35.6236.2536.75T:aes128estream
37.3838.0038.38chacha12
39.1239.6240.25T:simon6496ctr
43.2543.8844.38T:simon64128ctr
45.2545.6246.12salsa20
45.7546.6249.75T:snow20
46.0046.6247.12T:cryptmtv3
46.3846.7547.12T:trivium
49.8850.5051.12T:lexv2
54.8856.6257.88T:aes256estream
61.3861.8862.50tango642
61.6262.5063.62T:aes192ctr
63.88?67.50?74.12?T:nlsv2
68.5069.0069.75T:simon128128ctr
71.5072.1272.88chacha20
79.5080.2580.88T:simon128256ctr
84.5085.1286.50xsalsa20
137.38138.12139.00T:sosemanuk
268.38272.12277.12T:panama
312.50315.25319.62T:tpy6
371.38380.25388.88T:ocelot2
601.62?621.12?677.88?T:amastrid
723.00735.00739.75T:tpypy
732.75761.38785.25T:ocelot1
689.00?786.62?798.88?T:tpy
1277.881281.501284.00T:hc128
3106.503124.123136.62T:hc256