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-20250307

[Page version: 20250326 01:56:40]

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.240.25aes256ctr
0.340.340.35T:aes128ctr
0.400.410.42T:aes192ctr
0.470.490.51tango642
0.540.550.57chacha8
0.57?0.58?0.64?salsa208
0.780.790.81chacha12
0.850.860.87salsa2012
1.011.021.03T:speck6496ctr
1.051.061.07T:speck64128ctr
1.231.251.27chacha20
1.251.251.26T:speck128128ctr
1.291.301.30T:speck128192ctr
1.321.331.34T:speck128256ctr
1.341.361.38xsalsa20
1.351.361.38salsa20
1.23?1.42?1.59?T:hc128
1.551.561.58T:simon6496ctr
1.50?1.58?1.70?T:tpy
1.44?1.59?1.66?T:hc256
1.601.631.68T:sosemanuk
1.671.691.71T:simon64128ctr
1.661.701.74T:nlsv2
1.751.771.79T:panama
1.881.891.89T:trivium
1.931.961.99T:rabbit
1.87?1.97?2.11?T:tpy6
1.80?2.02?2.24?T:snow20
2.372.392.41T:simon128128ctr
2.372.392.40T:cryptmtv3
2.632.652.67T:simon128256ctr
2.722.782.86T:tpypy
3.573.603.62T:lexv2
7.297.317.33T:aes128estream
11.0511.0911.12T:aes256estream
11.02?12.23?13.03?T:ocelot1
13.7714.2014.87T:ocelot2
20.57?21.68?23.17?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.300.310.31aes256ctr
0.380.380.39T:aes128ctr
0.510.510.51T:aes192ctr
0.550.550.56chacha8
0.590.590.63salsa208
0.600.600.62tango642
0.790.790.80chacha12
0.860.860.87salsa2012
1.041.041.05T:speck6496ctr
1.081.081.09T:speck64128ctr
1.251.261.27chacha20
1.281.281.29T:speck128128ctr
1.321.321.32T:speck128192ctr
1.361.361.37T:speck128256ctr
1.361.371.38salsa20
1.441.451.45xsalsa20
1.731.731.74T:simon6496ctr
1.801.821.83T:nlsv2
1.851.871.90T:sosemanuk
1.911.911.92T:simon64128ctr
1.981.981.98T:trivium
2.012.022.03T:rabbit
1.90?2.02?2.18?T:snow20
2.292.292.30T:panama
2.552.592.69T:tpy6
2.632.632.64T:simon128128ctr
2.852.862.87T:cryptmtv3
3.003.013.02T:simon128256ctr
3.123.163.19T:tpy
3.673.693.70T:lexv2
3.853.934.00T:hc128
4.234.274.29T:tpypy
7.347.357.36T:aes128estream
7.597.647.67T:hc256
11.1411.1611.18T:aes256estream
13.1513.9314.47T:ocelot1
15.0515.2215.60T:ocelot2
22.6323.2824.27T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.400.400.41aes256ctr
0.440.440.45T:aes128ctr
0.550.560.57chacha8
0.590.600.64salsa208
0.670.670.68T:aes192ctr
0.770.790.82tango642
0.780.790.80chacha12
0.850.860.87salsa2012
1.071.081.09T:speck6496ctr
1.111.121.13T:speck64128ctr
1.261.261.28chacha20
1.321.331.34T:speck128128ctr
1.361.361.38T:speck128192ctr
1.371.391.40salsa20
1.401.411.42T:speck128256ctr
1.581.591.60xsalsa20
1.891.901.92T:snow20
1.992.002.02T:simon6496ctr
2.122.132.14T:trivium
2.132.182.21T:nlsv2
2.182.262.28T:rabbit
2.282.292.45T:simon64128ctr
2.282.292.38T:sosemanuk
3.023.033.05T:simon128128ctr
3.143.163.19T:panama
3.593.603.62T:simon128256ctr
3.593.643.73T:tpy6
3.813.843.88T:lexv2
3.973.994.01T:cryptmtv3
5.435.645.74T:tpy
6.686.776.81T:tpypy
7.407.427.44T:aes128estream
7.767.837.92T:hc128
11.2511.2811.33T:aes256estream
16.5316.8117.47T:ocelot2
16.8517.1317.44T:ocelot1
17.4417.5217.81T:hc256
25.8526.0326.23T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.640.650.69T:aes128ctr
0.680.690.71chacha8
0.780.800.82salsa208
0.860.870.89aes256ctr
1.021.031.04chacha12
1.091.101.12T:aes192ctr
1.131.151.16salsa2012
1.211.221.24T:speck6496ctr
1.261.271.28T:speck64128ctr
1.301.311.35tango642
1.481.491.51T:speck128128ctr
1.541.561.57T:speck128192ctr
1.591.601.62T:speck128256ctr
1.681.691.73chacha20
1.831.861.89salsa20
2.15?2.19?2.43?T:snow20
2.442.472.49xsalsa20
2.522.522.53T:trivium
2.442.562.62T:rabbit
2.832.953.13T:nlsv2
3.143.163.20T:simon64128ctr
3.293.313.33T:simon6496ctr
3.473.483.51T:sosemanuk
4.214.334.41T:lexv2
4.474.504.52T:cryptmtv3
4.934.944.96T:simon128128ctr
5.205.215.30T:simon128256ctr
5.375.535.68T:panama
6.306.456.52T:tpy6
7.577.607.63T:aes128estream
11.4611.6312.51T:tpy
11.6011.6511.72T:aes256estream
13.2913.3913.60T:tpypy
18.7919.1019.46T:hc128
20.0320.6621.55T:ocelot2
23.6624.1224.83T:ocelot1
30.8531.3931.94T:amastrid
44.6344.7745.15T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.552.612.67T:speck6496ctr
2.672.732.81T:speck64128ctr
2.842.882.94chacha8
2.943.083.22salsa208
3.203.253.34T:aes128ctr
3.343.443.53T:speck128192ctr
3.483.563.69T:speck128128ctr
3.483.593.67T:speck128256ctr
3.893.944.02chacha12
4.144.204.38salsa2012
5.72?5.83?6.41?T:rabbit
6.026.086.16chacha20
5.946.126.19aes256ctr
6.276.336.42salsa20
6.486.696.84T:snow20
7.007.087.17T:simon6496ctr
7.457.587.70T:simon64128ctr
7.477.587.77T:aes192ctr
7.567.627.69T:trivium
8.068.148.36tango642
8.428.508.66T:cryptmtv3
9.099.179.38T:lexv2
9.789.849.97T:aes128estream
11.1411.2311.41xsalsa20
11.7311.8311.92T:simon128128ctr
12.8813.0013.09T:simon128256ctr
14.6415.0215.48T:nlsv2
15.3915.5315.69T:aes256estream
17.5817.7517.86T:sosemanuk
34.4134.5935.12T:panama
40.6640.9241.50T:tpy6
58.2559.9164.02T:ocelot2
92.4295.05101.11T:tpy
89.89?96.97?100.44?T:amastrid
97.7299.58102.03T:tpypy
104.78109.19112.22T:ocelot1
159.86160.23160.95T:hc128
385.11389.22390.69T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.5014.0014.50T:speck6496ctr
14.00?14.88?15.62?T:speck64128ctr
16.25?16.75?19.00?T:speck128128ctr
16.6217.2517.75T:speck128192ctr
25.7526.1226.62T:aes128ctr
32.3833.1234.75T:speck128256ctr
33.2533.6233.88salsa208
33.1234.1234.88salsa2012
35.7536.3836.62T:aes128estream
34.75?36.50?40.62?T:rabbit
34.5036.6238.25aes256ctr
38.6239.3839.88chacha8
39.0039.6240.12T:simon6496ctr
41.7542.1242.62chacha12
43.3843.8844.75T:simon64128ctr
46.5046.8847.38T:trivium
47.8848.6249.50T:cryptmtv3
49.0049.5050.50salsa20
49.8850.1251.50T:lexv2
49.2551.7553.62T:snow20
50.7553.7556.38chacha20
55.8856.3857.12T:aes256estream
61.6262.0063.12T:aes192ctr
61.2562.1263.50tango642
63.50?65.50?73.12?T:nlsv2
68.3869.0070.25T:simon128128ctr
79.3880.0080.75T:simon128256ctr
88.2589.6291.00xsalsa20
140.00141.12142.62T:sosemanuk
270.62274.50281.38T:panama
312.75316.00319.62T:tpy6
373.62?391.62?416.12?T:ocelot2
593.50?636.12?703.25?T:amastrid
742.12765.75780.75T:ocelot1
772.62784.25800.75T:tpypy
790.38803.75807.00T:tpy
1278.001280.751283.38T:hc128
3129.253140.123178.00T:hc256