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; Goldmont (506c9); 2016 Intel Celeron J3455; 4 x 1500MHz; wooden, supercop-20240425

[Page version: 20240726 23:46:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.431.431.44chacha8
1.461.461.47tango642
1.511.511.51T:aes192ctr
1.601.611.66T:aes128ctr
1.971.981.98chacha12
2.012.022.02salsa208
2.132.142.14aes256ctr
2.702.712.71T:cryptmtv3
2.792.802.81T:sosemanuk
2.862.872.88salsa2012
2.993.003.01T:hc128
3.003.013.01T:speck6496ctr
3.073.073.08chacha20
3.103.113.11T:speck64128ctr
3.563.563.57T:nlsv2
3.623.653.66T:tpy6
3.793.803.81T:tpy
4.174.184.19T:trivium
3.94?4.25?4.51?T:hc256
4.304.314.33T:snow20
4.334.354.42T:speck128128ctr
4.514.524.53T:simon6496ctr
4.514.524.53T:speck128192ctr
4.624.634.64salsa20
4.624.634.64xsalsa20
4.704.704.71T:speck128256ctr
4.764.774.78T:panama
4.984.995.00T:simon64128ctr
5.065.105.11T:rabbit
6.166.206.22T:tpypy
6.746.756.77T:lexv2
6.966.986.99T:simon128128ctr
7.947.967.99T:simon128256ctr
12.5212.5312.54T:aes128estream
17.6217.6317.66T:aes256estream
28.1828.2928.74T:ocelot1
31.5231.6031.69T:ocelot2
48.7750.9052.21T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.451.451.46chacha8
1.651.661.69T:aes128ctr
1.721.721.72T:aes192ctr
1.721.721.73tango642
1.992.002.00chacha12
2.042.042.05salsa208
2.172.172.17aes256ctr
2.902.902.91salsa2012
3.043.053.05T:speck6496ctr
3.093.103.10chacha20
3.153.153.15T:speck64128ctr
3.243.243.25T:cryptmtv3
3.443.443.45T:sosemanuk
3.783.793.79T:nlsv2
4.354.364.36T:trivium
4.434.434.44T:snow20
4.444.454.45T:tpy6
4.484.484.54T:speck128128ctr
4.654.664.66T:speck128192ctr
4.664.674.67salsa20
4.834.834.84T:speck128256ctr
4.834.844.84xsalsa20
4.834.844.84T:simon6496ctr
5.235.265.26T:rabbit
5.385.395.40T:simon64128ctr
5.695.695.70T:tpy
6.116.116.12T:panama
6.926.926.94T:lexv2
7.437.447.44T:simon128128ctr
8.108.118.12T:tpypy
8.518.518.52T:hc128
8.738.748.76T:simon128256ctr
12.6012.6112.61T:aes128estream
17.7417.7517.76T:aes256estream
18.3618.5718.58T:hc256
30.2630.2730.60T:ocelot1
33.5533.6133.67T:ocelot2
52.4953.2153.81T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.481.491.50chacha8
1.721.751.76T:aes128ctr
2.042.042.04chacha12
2.082.082.08T:aes192ctr
2.082.082.09salsa208
2.152.152.15tango642
2.232.232.23aes256ctr
2.962.972.99salsa2012
3.113.123.12T:speck6496ctr
3.133.143.14chacha20
3.223.223.23T:speck64128ctr
4.274.284.28T:nlsv2
4.584.594.59T:sosemanuk
4.604.604.61T:cryptmtv3
4.614.624.62T:snow20
4.654.654.65T:trivium
4.694.704.74T:speck128128ctr
4.724.724.73salsa20
4.864.874.87T:speck128192ctr
5.055.055.06T:speck128256ctr
5.175.185.19xsalsa20
5.365.365.37T:simon6496ctr
5.515.525.53T:rabbit
5.785.795.82T:tpy6
6.056.066.07T:simon64128ctr
7.217.227.23T:lexv2
8.198.208.21T:simon128128ctr
8.338.348.35T:panama
8.848.858.86T:tpy
10.0310.0410.07T:simon128256ctr
11.3311.3511.37T:tpypy
12.7312.7812.81T:aes128estream
17.7117.7217.73T:hc128
17.9317.9517.96T:aes256estream
33.5633.5733.91T:ocelot1
36.7936.8136.82T:ocelot2
41.9442.4342.45T:hc256
55.1055.6756.18T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.631.631.64chacha8
2.072.082.10T:aes128ctr
2.232.232.23chacha12
2.312.322.34salsa208
2.622.672.67aes256ctr
3.013.023.02T:aes192ctr
3.263.263.28salsa2012
3.313.313.32T:speck6496ctr
3.353.353.37tango642
3.423.433.43T:speck64128ctr
3.443.443.45chacha20
4.974.984.99salsa20
5.145.165.17T:snow20
5.285.305.31T:speck128128ctr
5.335.345.35T:cryptmtv3
5.395.405.40T:nlsv2
5.415.415.42T:speck128192ctr
5.425.435.44T:trivium
5.575.585.60T:speck128256ctr
6.206.226.23T:rabbit
6.236.266.29xsalsa20
7.597.617.65T:sosemanuk
7.637.647.65T:simon6496ctr
8.038.048.07T:lexv2
8.818.828.84T:simon64128ctr
9.329.339.35T:tpy6
12.9512.9913.03T:simon128128ctr
13.1213.1513.21T:aes128estream
14.2814.3014.31T:panama
17.2217.2417.26T:tpy
18.4418.4718.52T:aes256estream
19.1919.2319.27T:simon128256ctr
19.7519.7919.83T:tpypy
42.1642.1942.22T:hc128
42.3442.4042.58T:ocelot1
45.5845.7546.04T:ocelot2
64.6465.8866.74T:amastrid
104.74106.09106.14T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.912.912.94chacha8
3.973.973.97chacha12
4.224.224.31salsa208
4.975.005.00T:aes128ctr
5.595.625.66salsa2012
5.815.815.84T:speck6496ctr
5.915.915.94T:speck64128ctr
6.036.036.06chacha20
6.066.066.12aes256ctr
7.447.447.50salsa20
11.9111.9712.09T:snow20
12.1912.2212.28T:speck128128ctr
12.5012.5312.53T:speck128192ctr
12.6612.7212.81T:speck128256ctr
13.0613.0913.12T:simon6496ctr
13.5013.5313.53T:cryptmtv3
14.3414.3814.41T:simon64128ctr
14.7814.8114.84T:rabbit
14.9115.0315.06T:trivium
15.0915.1215.12T:aes192ctr
17.9417.9717.97T:lexv2
18.0918.1218.16xsalsa20
18.1918.2218.31T:aes128estream
18.8118.8418.88tango642
21.0921.1921.22T:simon128128ctr
21.6621.7221.88T:nlsv2
24.3124.3424.53T:simon128256ctr
24.6224.6224.66T:aes256estream
42.0942.2242.28T:sosemanuk
54.6254.6954.75T:tpy6
90.1290.2290.31T:panama
124.19124.34124.53T:tpy
127.50127.72128.38T:tpypy
154.59154.78154.97T:ocelot1
157.22157.38157.53T:ocelot2
190.81190.97191.22T:amastrid
355.47355.62355.94T:hc128
908.81921.28921.66T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
28.0028.2528.25chacha8
29.5029.7530.00T:speck6496ctr
30.5030.7530.75T:speck64128ctr
33.7533.7534.00T:speck128192ctr
38.5038.7538.75T:aes128ctr
38.7539.0042.50T:speck128128ctr
38.7539.7540.00chacha12
50.0050.2550.25aes256ctr
52.2552.5052.50chacha20
53.2553.7554.00T:speck128256ctr
54.0054.0054.25salsa208
64.2565.2566.25T:simon6496ctr
69.5069.5069.75salsa20
70.7571.0071.25T:aes128estream
74.2575.0075.75T:simon64128ctr
75.2575.2575.50salsa2012
87.2588.0088.25T:cryptmtv3
89.2590.0090.50T:trivium
90.2590.7591.75T:aes256estream
90.0091.2591.25T:rabbit
96.0096.5097.25T:snow20
99.0099.2599.25T:lexv2
114.75115.00115.50T:aes192ctr
118.75119.50120.00T:nlsv2
119.25120.25129.00T:simon128128ctr
123.50126.50129.75T:simon128256ctr
141.75141.75142.00tango642
155.00155.00155.25xsalsa20
335.50337.00338.00T:sosemanuk
410.00410.25411.00T:tpy6
704.50705.25706.50T:panama
969.00970.25971.75T:tpy
976.25977.75979.75T:tpypy
1041.001042.501043.75T:ocelot2
1042.751043.751045.75T:ocelot1
1263.251274.501301.25T:amastrid
2838.002842.752845.75T:hc128
7269.007364.257369.50T:hc256