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; Haswell+AES (306c3); 2013 Intel Xeon E3-1275 V3; 4 x 3500MHz; titan0, supercop-20250307

[Page version: 20250326 01:56:40]

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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.540.560.56chacha8
0.620.620.62salsa208
0.740.740.75T:aes128ctr
0.770.770.78chacha12
0.770.780.80tango642
0.870.870.88salsa2012
0.930.940.99T:aes192ctr
0.990.990.99aes256ctr
1.031.041.04T:speck6496ctr
1.061.061.08T:speck64128ctr
1.201.211.22chacha20
1.251.261.27T:speck128128ctr
1.291.301.30T:speck128192ctr
1.321.341.35T:speck128256ctr
1.371.381.38xsalsa20
1.381.381.39salsa20
1.531.541.55T:simon6496ctr
1.591.591.60T:simon64128ctr
1.911.921.92T:trivium
2.092.132.16T:hc128
2.272.292.30T:simon128128ctr
2.312.352.38T:tpy
2.432.442.44T:cryptmtv3
2.432.512.59T:simon128256ctr
2.582.602.62T:sosemanuk
2.552.632.72T:tpy6
2.612.642.66T:hc256
2.702.752.78T:nlsv2
3.043.063.07T:rabbit
3.023.103.23T:panama
3.313.333.36T:snow20
3.683.824.04T:tpypy
4.464.484.49T:lexv2
9.109.119.13T:aes128estream
14.2014.2314.29T:aes256estream
18.1818.2518.33T:ocelot1
19.4620.1620.36T:ocelot2
31.0631.4332.89T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.570.580.58chacha8
0.640.640.64salsa208
0.790.790.80T:aes128ctr
0.790.790.80chacha12
0.890.890.90salsa2012
0.960.960.97tango642
1.051.051.05aes256ctr
1.081.081.08T:speck6496ctr
1.111.111.12T:speck64128ctr
1.231.231.24chacha20
1.301.311.32T:speck128128ctr
1.341.351.35T:speck128192ctr
1.361.361.36T:aes192ctr
1.381.391.40T:speck128256ctr
1.401.401.40salsa20
1.501.501.50xsalsa20
1.741.741.75T:simon6496ctr
1.931.931.94T:simon64128ctr
2.012.022.02T:trivium
2.582.582.58T:simon128128ctr
2.862.882.88T:sosemanuk
2.882.912.92T:nlsv2
2.952.962.96T:cryptmtv3
2.952.963.02T:simon128256ctr
3.153.163.17T:rabbit
3.333.373.43T:tpy6
3.433.443.46T:snow20
3.893.903.92T:tpy
4.044.104.18T:panama
4.614.624.63T:lexv2
5.245.345.50T:tpypy
5.415.415.43T:hc128
9.169.169.17T:aes128estream
11.2211.2311.24T:hc256
14.3214.3314.37T:aes256estream
19.4019.4219.45T:ocelot1
20.8021.2921.32T:ocelot2
33.0633.2233.85T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.610.62chacha8
0.670.670.68salsa208
0.820.820.83chacha12
0.870.870.88T:aes128ctr
0.920.930.93salsa2012
1.141.141.14aes256ctr
1.151.151.15T:speck6496ctr
1.181.181.19T:speck64128ctr
1.241.251.28tango642
1.261.271.27chacha20
1.391.401.40T:speck128128ctr
1.421.431.43T:speck128192ctr
1.431.441.44salsa20
1.461.471.48T:speck128256ctr
1.691.701.71xsalsa20
1.941.972.07T:aes192ctr
2.072.072.08T:simon6496ctr
2.192.192.20T:trivium
2.482.492.50T:simon64128ctr
3.053.053.06T:simon128128ctr
3.223.243.28T:nlsv2
3.323.333.34T:rabbit
3.393.393.42T:sosemanuk
3.613.623.65T:snow20
3.713.733.85T:simon128256ctr
4.284.284.29T:cryptmtv3
4.554.714.77T:tpy6
4.854.854.87T:lexv2
5.715.805.82T:panama
6.426.486.67T:tpy
7.877.927.94T:tpypy
9.249.259.26T:aes128estream
10.8610.9310.98T:hc128
14.5114.5414.57T:aes256estream
21.4021.4621.52T:ocelot1
22.7523.1823.24T:ocelot2
25.5325.5525.59T:hc256
35.4736.7237.23T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.850.860.89chacha8
0.960.960.97salsa208
1.161.161.17T:aes128ctr
1.161.171.18chacha12
1.291.301.31salsa2012
1.411.421.43T:speck6496ctr
1.441.451.46T:speck64128ctr
1.491.491.49aes256ctr
1.691.701.71T:speck128128ctr
1.741.741.75T:speck128192ctr
1.771.781.80chacha20
1.781.791.82T:speck128256ctr
1.981.991.99salsa20
2.062.072.16tango642
2.612.622.63T:trivium
2.692.702.71xsalsa20
3.573.603.64T:aes192ctr
3.623.633.64T:simon6496ctr
3.643.643.65T:simon64128ctr
3.783.793.82T:rabbit
3.974.024.12T:nlsv2
4.074.084.11T:snow20
4.764.794.85T:sosemanuk
4.814.834.83T:cryptmtv3
5.355.355.39T:simon128128ctr
5.505.515.53T:lexv2
5.785.805.81T:simon128256ctr
7.717.797.99T:tpy6
9.509.529.55T:aes128estream
10.0610.1610.23T:panama
13.2213.3213.42T:tpy
14.5314.7314.95T:tpypy
14.8814.9114.94T:aes256estream
25.2825.3825.43T:hc128
26.5426.6626.77T:ocelot1
27.8628.2228.46T:ocelot2
42.6042.9143.26T:amastrid
63.6563.7063.78T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.483.503.56chacha8
3.813.833.86salsa208
4.064.144.19T:speck6496ctr
4.384.424.45T:speck64128ctr
4.484.504.52T:aes128ctr
4.484.504.52chacha12
4.844.894.95T:speck128192ctr
4.894.925.02salsa2012
5.025.035.09T:speck128128ctr
5.275.305.36T:speck128256ctr
5.475.485.48aes256ctr
6.276.286.38chacha20
6.987.027.17salsa20
8.238.288.31T:trivium
8.428.488.53T:simon6496ctr
9.059.179.42T:rabbit
9.849.849.88T:simon64128ctr
9.9810.1210.31T:snow20
10.3610.4410.48T:cryptmtv3
12.3412.4412.52tango642
13.2713.2813.39T:simon128128ctr
13.2513.3313.41T:aes128estream
13.3313.4413.55xsalsa20
13.8313.9514.11T:lexv2
14.5215.0215.22T:nlsv2
15.3315.3915.55T:simon128256ctr
20.3420.4220.66T:aes256estream
20.4220.5320.62T:sosemanuk
24.4524.6424.83T:aes192ctr
47.3647.5349.66T:tpy6
65.6965.8466.42T:panama
90.4791.8993.17T:ocelot1
92.9593.7094.97T:ocelot2
100.78101.22101.70T:tpypy
101.45102.48104.44T:tpy
124.17124.78125.92T:amastrid
205.30205.45206.56T:hc128
551.73552.03552.38T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.1220.2520.50T:speck64128ctr
22.5022.5023.38T:speck128128ctr
23.2523.2524.88T:speck6496ctr
23.7523.7524.25T:speck128256ctr
25.5026.3827.38T:speck128192ctr
35.1235.1235.38T:aes128ctr
40.6241.0042.38chacha8
43.1243.2543.38aes256ctr
44.8845.5046.38salsa208
51.8852.1253.88chacha12
52.3852.6253.12T:trivium
52.0053.0055.00chacha20
52.6253.2553.75T:simon6496ctr
54.6255.2557.25T:rabbit
59.5059.7560.12T:aes128estream
60.0060.2560.50T:cryptmtv3
62.8863.2563.38T:simon64128ctr
67.0067.5068.75salsa20
72.7572.8873.25salsa2012
78.7579.2579.62T:aes256estream
78.1279.3881.25T:snow20
79.7580.2580.62T:simon128128ctr
80.5081.5082.25T:nlsv2
84.0085.1286.00T:lexv2
89.7590.1290.88T:simon128256ctr
94.1294.5095.62tango642
118.25119.00120.50xsalsa20
163.62164.62166.12T:sosemanuk
197.25198.50199.38T:aes192ctr
362.12364.00371.75T:tpy6
516.88518.12523.62T:panama
598.00609.38612.38T:ocelot1
601.00609.75622.62T:ocelot2
782.62789.75801.75T:tpypy
794.25811.62816.12T:tpy
822.50826.88831.12T:amastrid
1647.501651.501657.12T:hc128
4413.124418.504424.88T:hc256