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; Core 2 45nm (1067a); 2009 Intel Core 2 Duo E7600; 2 x 3060MHz; wolfdale, supercop-20260627

[Page version: 20260805 22:02:14]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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
1.201.221.27tango642
1.461.461.46chacha8
1.911.911.91chacha12
1.931.941.97salsa208
2.312.332.35T:sosemanuk
2.462.492.54T:hc128
2.602.602.61T:speck6496ctr
2.612.632.66salsa2012
2.732.732.73T:speck64128ctr
2.792.802.81T:trivium
2.832.842.84chacha20
3.193.213.23T:cryptmtv3
3.283.373.44T:tpy
3.633.643.64T:speck128128ctr
3.683.743.80T:hc256
3.763.763.76T:speck128192ctr
3.593.793.83T:tpy6
3.793.813.84T:nlsv2
3.833.833.84T:speck128256ctr
3.933.943.95T:snow20
3.973.984.00xsalsa20
3.973.984.00salsa20
4.174.214.26T:panama
4.494.504.52T:rabbit
4.82?5.18?5.52?T:tpypy
5.535.545.55T:simon6496ctr
5.725.735.74T:simon64128ctr
5.805.805.81T:lexv2
8.618.638.64T:simon128128ctr
9.119.129.13T:simon128256ctr
10.5610.6010.60T:aes128estream
12.0712.1212.16T:aes128ctr
14.6114.7314.79T:aes192ctr
17.1617.1917.23T:aes256estream
17.3617.3917.46T:aes256ctr
24.1124.5026.57T:ocelot1
27.8828.3329.20T:ocelot2
42.3745.5146.27T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.461.471.51tango642
1.481.481.48chacha8
1.931.931.94chacha12
1.971.971.99salsa208
2.642.642.65T:speck6496ctr
2.642.652.67salsa2012
2.772.782.78T:speck64128ctr
2.862.862.86chacha20
2.932.932.94T:trivium
3.103.113.12T:sosemanuk
3.673.673.69T:cryptmtv3
3.693.703.70T:speck128128ctr
3.813.813.81T:speck128192ctr
3.883.893.89T:speck128256ctr
4.004.014.02salsa20
4.064.074.09T:nlsv2
4.084.084.08T:snow20
4.114.124.13xsalsa20
4.414.564.58T:tpy6
4.654.654.67T:rabbit
4.934.944.96T:tpy
5.545.565.58T:panama
5.795.795.80T:simon6496ctr
5.985.985.98T:lexv2
6.066.076.07T:simon64128ctr
6.736.827.04T:tpypy
7.217.227.26T:hc128
8.998.999.00T:simon128128ctr
10.6010.6010.61T:simon128256ctr
10.6710.6710.67T:aes128estream
12.7912.8112.83T:aes128ctr
15.4415.4415.47T:aes192ctr
15.6915.7215.75T:hc256
17.2917.3117.33T:aes256estream
18.1918.2018.22T:aes256ctr
26.7626.8928.02T:ocelot1
30.3530.5431.04T:ocelot2
45.1947.1247.59T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.521.521.52chacha8
1.871.891.94tango642
1.971.981.98chacha12
2.012.022.04salsa208
2.692.692.69salsa2012
2.712.712.71T:speck6496ctr
2.842.842.85T:speck64128ctr
2.902.902.92chacha20
3.163.163.17T:trivium
3.783.793.79T:speck128128ctr
3.893.893.89T:speck128192ctr
3.973.973.98T:speck128256ctr
4.044.064.07salsa20
4.314.324.33T:snow20
4.334.344.35xsalsa20
4.474.494.52T:sosemanuk
4.734.744.75T:nlsv2
4.824.834.84T:cryptmtv3
4.914.934.94T:rabbit
5.545.825.90T:tpy6
6.196.216.23T:simon6496ctr
6.276.296.30T:lexv2
6.626.636.64T:simon64128ctr
7.417.577.71T:tpy
7.797.837.86T:panama
9.299.479.54T:tpypy
9.609.609.63T:simon128128ctr
10.7710.7710.81T:aes128estream
13.0713.0713.09T:simon128256ctr
14.0114.1214.18T:aes128ctr
15.0815.1215.15T:hc128
16.5516.5816.61T:aes192ctr
17.4917.5417.55T:aes256estream
19.3719.3919.42T:aes256ctr
30.6431.2831.61T:ocelot1
34.0734.4634.78T:ocelot2
35.6335.6835.72T:hc256
48.0948.4348.89T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.731.731.73chacha8
2.202.202.21salsa208
2.252.262.26chacha12
2.932.932.96salsa2012
2.942.942.94T:speck6496ctr
3.033.033.06tango642
3.073.083.09T:speck64128ctr
3.303.303.32chacha20
3.723.743.74T:trivium
4.064.084.09T:speck128128ctr
4.164.164.16T:speck128192ctr
4.264.274.28T:speck128256ctr
4.394.404.41salsa20
4.914.955.01T:snow20
5.185.195.20xsalsa20
5.585.595.64T:cryptmtv3
5.605.625.64T:rabbit
6.226.236.23T:nlsv2
7.107.117.12T:lexv2
8.018.058.08T:simon6496ctr
8.128.168.24T:sosemanuk
9.179.299.43T:tpy6
9.469.489.57T:simon64128ctr
11.0711.0711.10T:aes128estream
13.5913.7413.87T:panama
14.2414.4814.62T:tpy
16.6016.6717.84T:tpypy
17.0717.1617.25T:aes128ctr
17.9418.0118.06T:aes256estream
19.7119.7619.92T:aes192ctr
19.8319.8519.89T:simon128128ctr
22.6222.6622.79T:aes256ctr
26.4426.4626.49T:simon128256ctr
36.1436.1636.19T:hc128
39.8640.3341.38T:ocelot1
42.4542.8143.57T:ocelot2
58.8360.5262.40T:amastrid
88.8689.0289.13T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.283.283.28chacha8
4.034.034.07salsa208
4.304.304.30chacha12
5.205.205.24salsa2012
5.525.525.58T:speck6496ctr
5.855.996.19T:speck64128ctr
6.326.426.67chacha20
7.287.287.29T:speck128192ctr
7.427.427.50salsa20
7.527.527.58T:speck128256ctr
7.607.617.73T:speck128128ctr
11.0311.1411.15T:trivium
12.5212.6512.82T:simon6496ctr
12.6112.7113.16T:snow20
13.2113.2913.51T:simon64128ctr
14.3814.3914.65xsalsa20
14.7414.7914.94T:cryptmtv3
14.9214.9414.96T:rabbit
15.2315.2315.30T:aes128estream
16.5516.6516.82T:lexv2
17.7917.8017.82tango642
20.6220.6220.62T:simon128128ctr
21.9521.9822.09T:simon128256ctr
24.4724.5324.58T:aes256estream
31.5631.6031.61T:nlsv2
47.3947.5848.09T:sosemanuk
53.2853.2854.09T:tpy6
57.8058.9061.71T:aes128ctr
60.3560.6161.34T:aes192ctr
64.0364.3265.56T:aes256ctr
88.5789.8990.90T:panama
100.72101.45102.19T:tpy
107.64110.95116.86T:tpypy
141.47?144.45?162.58?T:ocelot1
145.49?160.56?171.23?T:ocelot2
165.19165.92166.80T:amastrid
304.64304.66304.82T:hc128
768.92769.33771.30T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.6024.1524.26T:speck6496ctr
28.2528.2528.30T:speck128192ctr
31.7531.7531.75chacha8
32.0733.4634.64T:speck128128ctr
32.5033.5034.59T:speck64128ctr
39.0140.0841.38chacha12
40.8441.3841.46T:speck128256ctr
50.1250.1250.12salsa208
56.5056.8157.99chacha20
56.5358.7459.03salsa2012
69.8370.6070.62T:trivium
72.4873.8578.27T:simon6496ctr
76.1076.8878.95T:simon64128ctr
76.8876.8876.88T:aes128estream
78.0579.2680.00salsa20
91.2191.8093.38T:cryptmtv3
94.5095.0696.15T:rabbit
96.0096.1296.84T:aes256estream
97.6297.7399.09T:lexv2
98.17100.21103.12T:snow20
112.75112.75113.04T:simon128128ctr
125.12125.12126.68T:simon128256ctr
134.75134.75136.06tango642
134.98135.56135.93xsalsa20
148.22148.69149.00T:nlsv2
376.08378.23382.31T:sosemanuk
374.53385.05399.75T:tpy6
391.58394.71400.04T:aes128ctr
395.94400.18406.47T:aes192ctr
413.66415.22419.52T:aes256ctr
691.82704.68718.38T:panama
797.71799.75827.28T:tpy
822.08?827.32?934.34?T:tpypy
965.71982.281017.04T:ocelot1
968.07?1031.24?1094.81?T:ocelot2
1087.991095.841101.29T:amastrid
2435.842436.492437.70T:hc128
6154.656166.356172.72T:hc256