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; Gracemont (b06a2-20); 2024 Intel Core 5 210H, E cores; 4 x 1600MHz; freshwrap,little, supercop-20251222

[Page version: 20260120 12:53:45]

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.510.52T:aes128ctr
0.580.580.59aes256ctr
0.560.590.62T:aes192ctr
0.700.710.71tango642
0.930.930.94chacha8
1.131.151.16salsa208
1.19?1.25?1.34?T:hc128
1.26?1.29?1.51?T:tpy
1.301.311.31chacha12
1.42?1.62?1.90?T:hc256
1.621.641.66salsa2012
1.631.731.76T:tpy6
1.701.821.87T:nlsv2
1.75?1.92?2.21?T:tpypy
1.981.981.98T:speck6496ctr
1.992.002.13T:snow20
2.002.022.03chacha20
2.052.062.08T:speck64128ctr
2.152.182.34T:panama
2.202.222.23T:cryptmtv3
2.322.332.35T:sosemanuk
2.422.422.43T:speck128128ctr
2.492.492.51T:speck128192ctr
2.562.572.58T:speck128256ctr
2.602.612.63xsalsa20
2.592.622.64salsa20
2.692.762.78T:rabbit
2.882.892.91T:simon6496ctr
2.993.003.01T:simon64128ctr
3.663.673.68T:lexv2
4.304.324.33T:simon128128ctr
4.534.554.57T:simon128256ctr
7.477.497.50T:aes128estream
10.9710.9911.01T:aes256estream
15.2515.6815.87T:ocelot1
16.2316.4617.89T:ocelot2
22.6622.9023.02T:trivium
26.6027.1828.62T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.530.530.53T:aes128ctr
0.600.600.60aes256ctr
0.840.840.86T:aes192ctr
0.850.850.86tango642
0.940.940.95chacha8
1.151.161.17salsa208
1.311.311.32chacha12
1.651.661.67salsa2012
1.851.921.94T:nlsv2
2.022.022.02T:speck6496ctr
2.022.032.03chacha20
2.062.072.16T:snow20
2.092.092.11T:speck64128ctr
2.212.232.25T:tpy6
2.462.472.47T:speck128128ctr
2.542.542.55T:speck128192ctr
2.542.542.55T:sosemanuk
2.612.622.63T:speck128256ctr
2.612.622.64salsa20
2.702.712.72T:tpy
2.712.722.73xsalsa20
2.772.782.78T:cryptmtv3
2.772.822.84T:rabbit
2.832.842.96T:panama
3.023.023.03T:simon6496ctr
3.083.113.27T:tpypy
3.193.203.20T:simon64128ctr
3.783.783.79T:lexv2
4.054.084.15T:hc128
4.514.514.52T:simon128128ctr
4.844.854.86T:simon128256ctr
7.537.547.54T:aes128estream
7.867.988.06T:hc256
11.0911.1011.11T:aes256estream
16.6316.6816.80T:ocelot1
17.4117.4918.46T:ocelot2
23.6023.7723.85T:trivium
28.4028.5529.20T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.550.550.56T:aes128ctr
0.650.650.65aes256ctr
0.950.960.96chacha8
1.071.071.09tango642
1.171.171.19salsa208
1.281.301.32T:aes192ctr
1.321.321.33chacha12
1.661.681.68salsa2012
2.042.042.05chacha20
2.082.082.09T:speck6496ctr
2.072.082.10T:nlsv2
2.152.162.16T:speck64128ctr
2.182.182.20T:snow20
2.542.542.55T:speck128128ctr
2.612.612.63T:speck128192ctr
2.642.652.66salsa20
2.702.702.72T:speck128256ctr
2.892.902.93T:rabbit
2.892.902.92xsalsa20
2.952.952.96T:sosemanuk
3.063.113.18T:tpy6
3.243.253.26T:simon6496ctr
3.503.513.52T:simon64128ctr
3.933.943.96T:panama
3.963.983.99T:lexv2
4.184.194.20T:cryptmtv3
4.834.844.85T:simon128128ctr
4.955.065.25T:tpypy
5.055.145.15T:tpy
5.365.375.39T:simon128256ctr
7.617.627.63T:aes128estream
8.778.798.82T:hc128
11.2711.2811.29T:aes256estream
17.4218.3518.82T:ocelot1
18.4418.5918.64T:hc256
18.8619.0019.90T:ocelot2
25.1025.3025.39T:trivium
29.2130.5530.97T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.650.660.67T:aes128ctr
0.950.960.97aes256ctr
1.091.101.12chacha8
1.341.361.38salsa208
1.511.521.53chacha12
1.781.791.82tango642
1.911.931.94salsa2012
2.292.302.31T:speck6496ctr
2.352.362.38chacha20
2.352.372.38T:speck64128ctr
2.372.422.52T:aes192ctr
2.462.492.51T:snow20
2.642.672.90T:nlsv2
2.792.802.81T:speck128128ctr
2.882.892.91T:speck128192ctr
2.972.983.00T:speck128256ctr
3.013.033.06salsa20
3.223.243.26T:rabbit
3.623.653.68xsalsa20
3.984.014.03T:sosemanuk
4.364.384.41T:simon6496ctr
4.484.494.52T:lexv2
4.814.814.82T:cryptmtv3
4.985.005.09T:simon64128ctr
5.365.445.56T:tpy6
6.646.666.70T:simon128128ctr
6.906.916.93T:panama
7.827.857.88T:aes128estream
9.279.299.32T:simon128256ctr
9.939.9810.03T:tpy
9.47?10.26?10.55?T:tpypy
11.7011.7411.78T:aes256estream
21.4321.5521.70T:hc128
22.8823.1424.29T:ocelot1
22.7123.1424.20T:ocelot2
28.9329.0629.12T:trivium
35.5235.6435.77T:amastrid
46.0746.5746.99T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.80?1.84?2.22?T:aes128ctr
2.362.392.42chacha8
2.983.023.05salsa208
3.233.283.31chacha12
3.39?3.86?3.86?aes256ctr
4.024.094.17T:speck64128ctr
4.444.454.47salsa2012
4.754.774.81T:speck6496ctr
5.085.145.28chacha20
5.845.956.11T:speck128128ctr
6.096.116.14T:snow20
6.096.146.20T:speck128192ctr
6.386.426.45T:speck128256ctr
6.566.586.58salsa20
7.167.237.38T:rabbit
8.198.238.47T:simon6496ctr
9.119.289.39T:simon64128ctr
10.6710.7810.89T:aes128estream
10.7510.7810.84tango642
10.8110.9411.25T:lexv2
11.94?12.03?13.98?T:nlsv2
12.1912.1912.33T:cryptmtv3
12.2712.4412.50xsalsa20
13.5913.7813.88T:simon128128ctr
15.1115.2215.47T:simon128256ctr
16.0516.1216.20T:sosemanuk
16.4816.6416.80T:aes192ctr
17.6617.8017.97T:aes256estream
35.2235.5235.88T:tpy6
44.6244.8445.00T:panama
74.0275.3178.48T:tpypy
75.5676.0976.20T:trivium
75.0876.9578.16T:ocelot2
78.9279.4879.64T:tpy
92.1494.9799.77T:ocelot1
102.95104.34106.03T:amastrid
156.97?162.22?183.66?T:hc128
391.94395.47396.42T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.75?14.88?18.88?T:aes128ctr
16.88?17.75?22.12?T:speck64128ctr
18.88?19.12?23.38?T:speck6496ctr
21.2521.3821.88chacha8
22.7523.1223.88T:speck128192ctr
23.38?23.88?31.12?T:speck128256ctr
23.8824.5025.25T:speck128128ctr
27.00?27.88?32.38?aes256ctr
28.7528.7529.25salsa208
28.75?29.25?32.75?chacha12
36.6237.2538.75salsa2012
38.3839.0039.88T:simon6496ctr
42.5043.1244.00T:rabbit
42.7543.2543.75chacha20
44.2544.5044.75T:aes128estream
45.2545.6246.50T:simon64128ctr
48.3848.7549.00T:snow20
59.5060.1261.38salsa20
64.1264.6265.50T:lexv2
63.75?64.75?77.00?T:nlsv2
67.1270.3872.62T:simon128128ctr
75.7576.3876.88T:cryptmtv3
76.5077.0077.50T:simon128256ctr
75.8877.3878.00T:aes256estream
81.6282.0083.00tango642
106.75108.25110.75xsalsa20
129.50131.38132.38T:sosemanuk
131.25132.25134.75T:aes192ctr
265.25269.38283.00T:tpy6
347.88349.25350.75T:panama
446.25450.12452.00T:trivium
487.75499.62506.62T:ocelot2
511.88521.00544.88T:tpypy
613.00628.75634.62T:tpy
645.50650.50662.75T:ocelot1
677.75698.88721.25T:amastrid
1253.621256.881294.88T:hc128
3107.383115.623134.25T:hc256