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; Bulldozer (600f20); 2012 AMD FX-8350; 4 x 4000MHz; saber214, supercop-20260217

[Page version: 20260319 20:29:27]

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
0.991.011.02T:aes128ctr
1.071.091.12chacha8
1.271.281.29aes256ctr
1.371.401.43salsa208
1.36?1.42?1.52?T:aes192ctr
1.431.471.48chacha12
1.48?1.52?1.88?tango642
1.961.992.02salsa2012
2.092.112.13T:speck128128ctr
2.162.182.19T:speck128192ctr
2.182.202.21chacha20
2.232.252.26T:speck128256ctr
2.652.652.66T:speck6496ctr
2.722.742.75T:speck64128ctr
2.862.892.92T:hc128
3.003.073.13T:tpy
3.143.163.17xsalsa20
3.153.183.23salsa20
3.203.283.40T:tpy6
3.663.663.67T:trivium
3.723.733.80T:simon6496ctr
3.863.893.95T:simon64128ctr
4.064.084.10T:cryptmtv3
4.204.254.39T:nlsv2
4.224.274.31T:panama
4.314.454.69T:sosemanuk
4.464.504.53T:hc256
4.664.694.73T:snow20
4.804.854.88T:tpypy
5.265.365.42T:rabbit
5.996.036.06T:lexv2
6.076.096.12T:simon128128ctr
6.386.406.43T:simon128256ctr
11.3111.3611.39T:aes128estream
20.9420.9821.06T:aes256estream
27.1127.2027.67T:ocelot1
31.3331.3831.54T:ocelot2
48.9351.1153.23T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.061.061.07T:aes128ctr
1.111.111.13chacha8
1.341.341.35aes256ctr
1.431.441.46salsa208
1.481.491.50chacha12
1.74?1.75?2.02?tango642
1.971.982.00T:aes192ctr
2.032.032.05salsa2012
2.182.192.20T:speck128128ctr
2.212.222.22chacha20
2.242.252.26T:speck128192ctr
2.332.332.34T:speck128256ctr
2.712.712.72T:speck6496ctr
2.802.802.80T:speck64128ctr
3.213.233.26salsa20
3.353.363.37xsalsa20
3.843.843.85T:trivium
4.054.064.11T:simon6496ctr
4.104.134.19T:tpy6
4.254.274.30T:simon64128ctr
4.444.474.57T:nlsv2
4.694.744.91T:sosemanuk
4.824.834.84T:cryptmtv3
4.824.844.86T:snow20
5.045.075.10T:tpy
5.555.575.62T:rabbit
5.665.675.69T:panama
6.206.226.24T:lexv2
6.496.496.52T:simon128128ctr
6.866.876.89T:tpypy
6.926.936.94T:simon128256ctr
8.018.038.04T:hc128
11.4111.4311.44T:aes128estream
17.8517.8617.87T:hc256
21.1221.1421.16T:aes256estream
28.9829.0129.33T:ocelot1
33.0933.1033.15T:ocelot2
51.5752.9454.29T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.121.131.16chacha8
1.151.151.16T:aes128ctr
1.441.451.46aes256ctr
1.491.491.53chacha12
1.501.521.53salsa208
2.092.102.13salsa2012
2.11?2.15?2.55?tango642
2.222.232.25chacha20
2.312.322.33T:speck128128ctr
2.372.372.38T:speck128192ctr
2.452.472.50T:speck128256ctr
2.812.812.82T:speck6496ctr
2.892.902.91T:speck64128ctr
2.842.943.02T:aes192ctr
3.283.313.34salsa20
3.683.693.71xsalsa20
4.144.144.15T:trivium
4.594.604.61T:simon6496ctr
4.854.874.88T:simon64128ctr
4.884.894.92T:nlsv2
5.055.075.09T:snow20
5.305.335.59T:sosemanuk
5.395.445.49T:tpy6
5.905.936.09T:rabbit
6.516.546.56T:lexv2
6.836.856.87T:cryptmtv3
7.137.147.16T:simon128128ctr
7.767.787.81T:simon128256ctr
7.967.998.02T:panama
8.308.368.69T:tpy
10.2410.2810.35T:tpypy
11.5411.5711.62T:aes128estream
16.5216.5216.53T:hc128
21.3421.3521.44T:aes256estream
31.8031.9032.16T:ocelot1
35.9136.0336.06T:ocelot2
40.1540.1640.20T:hc256
54.2955.0958.47T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.371.371.44chacha8
1.461.501.53T:aes128ctr
1.791.811.85aes256ctr
1.861.861.99chacha12
1.981.992.06salsa208
2.722.732.79salsa2012
2.782.822.90T:speck128192ctr
2.822.852.98chacha20
2.842.852.89T:speck128128ctr
3.013.023.05T:speck128256ctr
3.123.123.17T:speck6496ctr
3.133.173.23tango642
3.233.253.30T:speck64128ctr
4.224.254.33salsa20
4.954.954.96T:trivium
4.925.055.14T:aes192ctr
5.255.265.27xsalsa20
5.775.825.92T:snow20
6.026.056.09T:nlsv2
6.796.796.80T:rabbit
7.047.107.16T:simon6496ctr
7.107.197.35T:sosemanuk
7.407.457.51T:lexv2
7.517.577.62T:simon64128ctr
7.737.837.91T:cryptmtv3
8.478.508.56T:simon128256ctr
9.449.549.60T:tpy6
10.7410.7810.85T:simon128128ctr
11.9511.9912.12T:aes128estream
14.2414.2714.37T:panama
17.2317.3618.01T:tpy
19.1519.3919.91T:tpypy
21.9322.0622.11T:aes256estream
39.3339.3839.39T:hc128
39.8540.2040.97T:ocelot1
43.6443.7544.93T:ocelot2
65.1867.0567.15T:amastrid
99.6699.70100.60T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.89?3.89?4.83?chacha8
4.90?5.33?5.62?T:aes128ctr
5.38?5.45?6.08?chacha12
5.985.996.37aes256ctr
6.386.416.56salsa208
6.486.496.67T:speck6496ctr
6.726.726.75T:speck64128ctr
7.447.447.82T:speck128192ctr
8.168.228.29T:speck128128ctr
8.328.358.86salsa2012
8.28?9.05?9.62?chacha20
8.21?9.06?9.20?T:speck128256ctr
12.2312.6712.90salsa20
12.9513.1113.44T:simon6496ctr
13.8014.0514.44T:simon64128ctr
14.6914.7014.73T:trivium
14.9715.3115.67T:snow20
16.1516.5317.32tango642
17.9718.0018.29T:rabbit
17.8318.3318.55T:aes128estream
18.5718.8019.17T:lexv2
21.4421.5421.86T:simon128128ctr
21.0821.6822.03T:cryptmtv3
21.7721.8121.99xsalsa20
22.6422.8623.38T:nlsv2
22.9123.3124.01T:simon128256ctr
26.4226.6126.93T:sosemanuk
29.9830.7131.64T:aes256estream
34.7736.1136.32T:aes192ctr
55.9256.8657.51T:tpy6
93.2193.4194.45T:panama
129.86130.28133.72T:tpy
133.73134.55135.44T:tpypy
137.68138.48139.04T:ocelot1
141.19141.62141.84T:ocelot2
179.24180.95182.91T:amastrid
331.45331.68332.12T:hc128
862.28862.92869.96T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
32.83?33.80?37.12?T:speck64128ctr
33.5334.7337.17T:speck6496ctr
36.85?37.20?47.21?chacha8
37.3037.4537.72T:aes128ctr
41.1743.2245.28T:speck128192ctr
43.28?45.24?53.49?T:speck128256ctr
47.7847.9448.30aes256ctr
50.52?53.32?63.14?chacha12
51.0153.6253.68T:speck128128ctr
77.02?79.08?86.08?T:aes128estream
72.47?79.67?85.35?chacha20
87.2588.9093.07salsa208
87.7590.8692.86T:simon6496ctr
92.3192.3892.58T:trivium
95.6798.81105.24T:simon64128ctr
109.27110.82112.73salsa2012
111.15113.39115.56T:lexv2
115.48115.50116.31T:rabbit
119.92121.86124.48T:snow20
117.35123.35126.83T:aes256estream
122.89125.61134.78tango642
126.35127.46129.56T:nlsv2
145.18149.38152.08T:cryptmtv3
150.15153.02155.93T:simon128128ctr
157.16160.75162.97salsa20
163.09166.91175.84T:simon128256ctr
212.06213.57214.70T:sosemanuk
236.27240.65244.15xsalsa20
280.77291.54301.47T:aes192ctr
426.20430.70441.82T:tpy6
732.50740.15745.71T:panama
909.08911.59913.71T:ocelot1
909.08915.14923.93T:ocelot2
1030.601038.291051.20T:tpy
1035.701038.301042.90T:tpypy
1204.551217.931240.12T:amastrid
2649.582651.172653.90T:hc128
6906.816957.156960.79T:hc256