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; Sandy Bridge (206a7); 2011 Intel Core i3-2310M; 2 x 2100MHz; h6sandy, supercop-20240625

[Page version: 20240719 07:49: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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.991.001.02tango642
1.031.051.07chacha8
1.221.231.25salsa208
1.461.481.49chacha12
1.721.741.75salsa2012
2.062.072.08T:speck6496ctr
2.112.112.12T:trivium
2.152.152.16T:speck64128ctr
2.302.312.33chacha20
2.452.482.49T:hc128
2.632.652.67T:cryptmtv3
2.642.652.66T:speck128128ctr
2.722.732.74T:speck128192ctr
2.732.782.82T:tpy
2.772.782.79xsalsa20
2.782.792.80salsa20
2.802.812.82T:speck128256ctr
2.952.962.97T:simon6496ctr
3.093.103.11T:simon64128ctr
3.003.133.33T:tpy6
3.273.283.29T:sosemanuk
3.663.683.71T:hc256
3.663.753.91T:nlsv2
3.743.753.76T:snow20
3.823.843.85T:rabbit
3.843.863.89T:panama
4.454.514.63T:tpypy
4.504.524.54T:simon128128ctr
4.90?5.10?5.73?T:simon128256ctr
5.805.815.83T:lexv2
6.566.646.68T:aes128ctr
7.817.847.87T:aes192ctr
9.029.049.06T:aes256ctr
11.3511.3811.41T:aes128estream
18.2118.2618.30T:aes256estream
21.50?22.70?25.55?T:ocelot1
22.36?24.45?27.52?T:ocelot2
40.8441.1441.27T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.071.081.09chacha8
1.201.201.21tango642
1.251.261.27salsa208
1.491.501.50chacha12
1.761.761.77salsa2012
2.112.122.12T:speck6496ctr
2.202.202.21T:speck64128ctr
2.212.212.22T:trivium
2.332.342.35chacha20
2.702.702.71T:speck128128ctr
2.782.782.78T:speck128192ctr
2.822.822.82salsa20
2.862.862.86T:speck128256ctr
2.932.932.94xsalsa20
3.113.123.13T:cryptmtv3
3.153.153.16T:simon6496ctr
3.413.423.42T:simon64128ctr
3.593.603.60T:sosemanuk
3.873.883.88T:snow20
3.843.904.05T:tpy6
3.903.934.03T:nlsv2
3.953.953.96T:rabbit
4.504.524.54T:tpy
4.794.804.81T:simon128128ctr
5.085.095.10T:panama
5.695.716.08T:simon128256ctr
5.995.996.00T:lexv2
6.246.276.32T:tpypy
6.296.306.31T:hc128
7.417.447.46T:aes128ctr
8.668.688.69T:aes192ctr
9.869.879.88T:aes256ctr
11.4611.4711.49T:aes128estream
14.3614.3714.38T:hc256
18.3318.3618.38T:aes256estream
23.49?24.13?26.11?T:ocelot1
24.93?25.85?27.92?T:ocelot2
42.7942.9543.02T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.101.111.13chacha8
1.291.301.31salsa208
1.521.531.54chacha12
1.531.531.55tango642
1.801.811.82salsa2012
2.192.202.20T:speck6496ctr
2.272.282.28T:speck64128ctr
2.362.372.39chacha20
2.382.382.39T:trivium
2.772.782.80T:speck128128ctr
2.852.862.87T:speck128192ctr
2.882.882.88salsa20
2.932.942.95T:speck128256ctr
3.173.183.20xsalsa20
3.473.483.51T:simon6496ctr
3.953.963.96T:simon64128ctr
4.084.094.10T:snow20
4.134.154.16T:rabbit
4.194.214.22T:sosemanuk
4.214.264.40T:nlsv2
4.414.424.43T:cryptmtv3
5.105.195.25T:tpy6
5.265.275.29T:simon128128ctr
6.286.306.31T:lexv2
6.506.736.98T:simon128256ctr
7.107.127.17T:panama
7.337.367.38T:tpy
8.748.808.86T:aes128ctr
9.119.229.29T:tpypy
10.0510.0610.10T:aes192ctr
11.2511.2711.28T:aes256ctr
11.5911.6111.62T:aes128estream
12.6412.6712.70T:hc128
18.4718.4918.53T:aes256estream
26.0826.6228.05T:ocelot1
27.3528.3430.35T:ocelot2
32.1632.1932.20T:hc256
45.1045.6246.10T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.321.331.35chacha8
1.551.561.58salsa208
1.811.811.82chacha12
2.122.132.14salsa2012
2.422.432.44T:speck6496ctr
2.442.452.47tango642
2.512.512.52T:speck64128ctr
2.752.782.79chacha20
2.832.842.85T:trivium
3.043.053.07T:speck128128ctr
3.113.123.15T:speck128192ctr
3.183.203.21T:speck128256ctr
3.293.323.34salsa20
4.124.154.18xsalsa20
4.594.624.65T:snow20
4.644.664.67T:rabbit
4.864.874.88T:cryptmtv3
5.105.125.15T:simon6496ctr
5.085.165.32T:nlsv2
5.835.845.87T:sosemanuk
6.58?6.77?7.32?T:simon64128ctr
7.077.107.12T:lexv2
8.178.518.90T:simon128128ctr
8.428.628.76T:tpy6
10.1410.1610.18T:simon128256ctr
11.8911.9411.95T:aes128estream
12.5212.5312.61T:panama
12.9813.0813.24T:aes128ctr
14.5914.6714.72T:aes192ctr
14.7015.2115.42T:tpy
15.8415.8816.02T:aes256ctr
16.6916.7716.82T:tpypy
18.9718.9919.04T:aes256estream
29.6029.6629.70T:hc128
32.1932.7435.51T:ocelot1
33.54?34.90?37.47?T:ocelot2
53.3053.8955.01T:amastrid
79.5879.7179.76T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.343.38chacha8
4.034.064.08salsa208
4.364.414.48chacha12
5.095.095.12salsa2012
5.225.305.41T:speck6496ctr
5.365.425.50T:speck64128ctr
6.146.196.31T:speck128128ctr
6.146.256.42T:speck128192ctr
6.236.316.42T:speck128256ctr
6.336.426.48chacha20
7.207.257.33salsa20
8.708.778.89T:trivium
10.7710.8310.94T:rabbit
11.0211.0811.20T:simon6496ctr
11.3011.3911.62T:snow20
12.5012.5612.61T:cryptmtv3
12.7712.8312.92T:simon64128ctr
14.0214.1214.20tango642
14.8314.9715.08xsalsa20
16.2716.3816.56T:aes128estream
16.9717.1117.33T:lexv2
17.4517.5217.64T:simon128256ctr
17.5617.6417.75T:simon128128ctr
17.2018.1118.81T:nlsv2
24.3024.4724.66T:sosemanuk
25.0525.1725.30T:aes256estream
51.2751.9554.05T:tpy6
77.5677.8978.48T:aes128ctr
81.3981.5882.12T:panama
85.0685.7886.22T:aes192ctr
90.1690.5390.84T:aes256ctr
112.00113.20114.52T:tpy
113.00113.61114.66T:ocelot1
114.61115.42116.09T:tpypy
113.38116.17117.67T:ocelot2
150.61152.05154.17T:amastrid
246.61247.36247.56T:hc128
687.61688.17688.70T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
26.88?27.38?31.75?T:speck6496ctr
27.8828.1228.50T:speck64128ctr
28.5029.0029.88chacha8
32.1232.2533.00T:speck128192ctr
32.2532.6234.25T:speck128256ctr
32.8833.0033.00T:speck128128ctr
36.1236.3837.00chacha12
49.6250.1251.25salsa2012
52.5052.8853.38chacha20
54.0054.5055.38salsa208
55.1256.0056.25T:trivium
65.6266.8870.25T:rabbit
71.8873.0073.88salsa20
73.0073.8874.50T:simon6496ctr
81.1281.8882.50T:cryptmtv3
81.5082.1284.75T:aes128estream
84.7585.8886.75T:simon64128ctr
89.6291.7593.62T:snow20
93.5094.0095.00T:aes256estream
96.88100.50105.75T:nlsv2
101.38102.88103.62T:lexv2
106.88107.38109.00tango642
115.50116.50118.25T:simon128128ctr
119.38120.38120.88T:simon128256ctr
133.38135.38136.75xsalsa20
194.62195.38197.75T:sosemanuk
391.25406.88409.88T:tpy6
446.38448.88459.25T:aes128ctr
465.50466.38467.75T:aes256ctr
468.00473.62482.50T:aes192ctr
638.50641.38644.25T:panama
730.25743.88754.88T:ocelot2
734.50751.12769.62T:ocelot1
874.12879.50883.00T:tpypy
880.62882.62884.00T:tpy
986.501000.501021.38T:amastrid
1971.121976.881979.75T:hc128
5494.005498.005502.50T:hc256