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 (906a4-40); 2022 Intel Core i3-1215U, P cores; 2 x 1600MHz; alder2,1f626960,5600000, 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.270.280.30aes256ctr
0.330.340.34T:aes128ctr
0.400.410.41T:aes192ctr
0.440.460.48tango642
0.570.570.58chacha8
0.590.610.62salsa208
0.800.820.83chacha12
0.840.870.89salsa2012
1.021.031.04T:speck6496ctr
1.051.051.06T:speck64128ctr
1.251.261.26T:speck128128ctr
1.251.271.30chacha20
1.291.301.31T:speck128192ctr
1.331.341.35T:speck128256ctr
1.361.381.41salsa20
1.371.391.40xsalsa20
1.28?1.45?1.58?T:hc128
1.471.541.59T:hc256
1.551.631.68T:sosemanuk
1.611.671.70T:snow20
1.661.711.74T:nlsv2
1.59?1.75?1.92?T:tpy
1.761.771.80T:panama
1.781.801.81T:simon6496ctr
1.851.861.88T:simon64128ctr
1.891.891.90T:trivium
1.91?2.10?2.17?T:tpy6
1.89?2.14?2.19?T:rabbit
2.362.382.40T:cryptmtv3
2.662.672.69T:simon128128ctr
2.772.842.92T:tpypy
2.932.952.96T:simon128256ctr
3.573.593.62T:lexv2
7.297.317.33T:aes128estream
11.0411.0811.12T:aes256estream
14.0414.3814.67T:ocelot1
14.1714.7715.35T:ocelot2
22.4122.9424.73T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.330.330.34aes256ctr
0.370.380.38T:aes128ctr
0.510.510.51T:aes192ctr
0.570.580.59tango642
0.580.580.59chacha8
0.610.610.62salsa208
0.810.820.83chacha12
0.860.870.89salsa2012
1.041.051.05T:speck6496ctr
1.071.081.08T:speck64128ctr
1.271.281.29chacha20
1.281.281.29T:speck128128ctr
1.321.321.33T:speck128192ctr
1.361.361.37T:speck128256ctr
1.381.381.40salsa20
1.461.471.48xsalsa20
1.741.761.77T:snow20
1.821.821.84T:nlsv2
1.851.871.90T:sosemanuk
1.951.961.96T:simon6496ctr
1.981.981.99T:trivium
2.102.112.12T:simon64128ctr
2.022.182.20T:rabbit
2.292.302.30T:panama
2.612.732.76T:tpy6
2.842.852.86T:cryptmtv3
2.932.942.94T:simon128128ctr
3.163.223.29T:tpy
3.323.333.34T:simon128256ctr
3.683.693.70T:lexv2
3.753.863.95T:hc128
4.264.294.33T:tpypy
7.347.357.36T:aes128estream
7.587.617.63T:hc256
11.1511.1711.19T:aes256estream
15.3615.7015.96T:ocelot2
15.6115.7915.90T:ocelot1
23.6923.9425.18T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.400.410.42aes256ctr
0.440.440.45T:aes128ctr
0.590.590.60chacha8
0.610.630.64salsa208
0.670.680.68T:aes192ctr
0.770.790.83tango642
0.820.830.83chacha12
0.870.880.89salsa2012
1.071.081.09T:speck6496ctr
1.111.121.13T:speck64128ctr
1.281.291.31chacha20
1.331.331.34T:speck128128ctr
1.361.371.38T:speck128192ctr
1.381.401.41salsa20
1.401.411.42T:speck128256ctr
1.601.621.63xsalsa20
1.891.921.94T:snow20
2.122.132.14T:trivium
2.162.182.23T:nlsv2
2.222.222.24T:simon6496ctr
2.152.262.28T:rabbit
2.292.312.34T:sosemanuk
2.502.512.52T:simon64128ctr
3.133.183.21T:panama
3.373.373.40T:simon128128ctr
3.643.693.80T:tpy6
3.823.863.89T:lexv2
3.973.983.99T:cryptmtv3
3.973.984.00T:simon128256ctr
5.615.715.79T:tpy
6.786.816.85T:tpypy
7.387.417.43T:aes128estream
7.757.797.94T:hc128
11.3011.3411.38T:aes256estream
16.3616.8817.25T:ocelot2
17.5217.6717.82T:hc256
17.7618.0118.35T:ocelot1
25.8326.2026.40T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.630.640.69T:aes128ctr
0.750.760.77chacha8
0.780.800.82salsa208
0.830.850.87aes256ctr
1.021.041.05chacha12
1.081.091.11T:aes192ctr
1.131.151.17salsa2012
1.191.211.23T:speck6496ctr
1.241.251.26T:speck64128ctr
1.311.331.41tango642
1.521.531.54T:speck128128ctr
1.541.551.57T:speck128192ctr
1.581.601.61T:speck128256ctr
1.681.701.74chacha20
1.831.851.86salsa20
2.242.262.28T:snow20
2.392.422.46xsalsa20
2.362.422.51T:rabbit
2.512.522.52T:trivium
2.772.863.00T:nlsv2
3.173.183.32T:simon64128ctr
3.433.453.47T:simon6496ctr
3.463.473.51T:sosemanuk
4.234.404.42T:lexv2
4.464.494.51T:cryptmtv3
4.924.944.96T:simon128128ctr
5.205.225.23T:simon128256ctr
5.405.495.52T:panama
6.346.456.51T:tpy6
7.557.587.61T:aes128estream
11.6111.7111.75T:aes256estream
12.1412.3812.60T:tpy
13.2613.3513.44T:tpypy
18.7919.0819.69T:hc128
19.9120.6521.57T:ocelot2
23.4023.9524.57T:ocelot1
30.5731.2232.09T:amastrid
44.7345.2845.43T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.801.841.91chacha8
2.532.612.67T:speck6496ctr
2.672.732.80T:speck64128ctr
2.983.163.28salsa208
3.273.313.38T:aes128ctr
3.383.473.53T:speck128192ctr
3.473.563.64T:speck128128ctr
3.503.583.66T:speck128256ctr
3.913.974.03chacha12
4.064.204.33salsa2012
5.125.335.50aes256ctr
5.67?5.89?6.53?T:rabbit
6.006.126.39T:snow20
6.226.286.53chacha20
6.276.346.45salsa20
6.706.776.86T:simon6496ctr
7.477.557.64T:trivium
7.447.567.64T:simon64128ctr
7.487.567.81T:aes192ctr
8.068.168.45tango642
8.428.538.64T:cryptmtv3
9.089.259.50T:lexv2
9.779.919.98T:aes128estream
11.1611.3411.50xsalsa20
11.7311.8611.94T:simon128128ctr
12.9113.0313.16T:simon128256ctr
14.3314.5014.75T:nlsv2
15.5515.6616.70T:aes256estream
17.5517.6417.86T:sosemanuk
34.5235.2736.27T:panama
40.7040.8841.06T:tpy6
59.2262.8365.12T:ocelot2
87.80?91.92?99.66?T:amastrid
96.6697.2398.98T:tpypy
98.83100.70101.48T:tpy
97.23101.23107.27T:ocelot1
159.98160.22161.11T:hc128
392.50394.03395.12T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.6214.2515.12T:speck6496ctr
14.2514.8815.38T:speck64128ctr
14.6215.0015.38chacha8
15.6216.0016.62T:speck128128ctr
16.6217.5017.88T:speck128192ctr
24.8825.3826.25salsa208
26.1226.5027.50T:aes128ctr
32.1232.7533.88T:speck128256ctr
33.5034.0034.88aes256ctr
35.6236.2537.00T:aes128estream
35.75?37.88?41.00?T:rabbit
37.8838.6239.25T:simon6496ctr
41.8842.3842.88chacha12
43.6244.0044.62T:simon64128ctr
43.8844.1244.38salsa2012
46.5046.7547.25T:trivium
46.38?48.62?54.12?T:snow20
48.1248.6249.38T:cryptmtv3
48.8849.8850.50salsa20
49.8850.8851.75T:lexv2
56.00?57.25?66.25?T:aes256estream
60.7561.3862.12T:aes192ctr
61.2561.7563.00tango642
64.7565.5066.38chacha20
68.2568.7569.25T:simon128128ctr
64.88?72.88?74.38?T:nlsv2
79.5080.1280.75T:simon128256ctr
88.5089.5090.25xsalsa20
140.00140.75142.25T:sosemanuk
271.12274.62281.50T:panama
311.62313.62314.75T:tpy6
363.38?388.12?411.62?T:ocelot2
601.38?667.00?726.75?T:amastrid
712.62738.75759.62T:ocelot1
767.38775.88784.50T:tpypy
789.88800.00805.62T:tpy
1280.001282.381290.00T:hc128
3033.503129.753136.75T:hc256