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 Core i7-4770; 4 x 3400MHz; speed2supercop, supercop-20260330

[Page version: 20260418 07:16:21]

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.530.540.56chacha8
0.640.650.66salsa208
0.720.740.75tango642
0.750.760.76T:aes128ctr
0.72?0.76?0.91?chacha12
0.910.910.92salsa2012
0.93?0.98?1.06?T:aes192ctr
1.001.011.02aes256ctr
1.031.041.05T:speck6496ctr
1.071.081.09T:speck64128ctr
1.161.171.18chacha20
1.251.261.27T:speck128128ctr
1.301.301.31T:speck128192ctr
1.331.341.35T:speck128256ctr
1.431.441.45xsalsa20
1.431.451.47salsa20
1.531.541.55T:simon6496ctr
1.591.601.61T:simon64128ctr
1.64?1.74?1.83?T:tpy
1.801.821.84T:hc128
1.871.901.92T:trivium
2.022.032.05T:sosemanuk
2.12?2.21?2.44?T:tpy6
2.09?2.25?2.42?T:simon128128ctr
2.252.262.27T:nlsv2
2.302.382.44T:simon128256ctr
2.412.452.49T:cryptmtv3
1.74?2.67?3.58?T:hc256
2.742.802.95T:tpypy
3.083.103.13T:panama
3.113.153.33T:rabbit
3.293.313.33T:snow20
4.444.464.48T:lexv2
9.089.109.11T:aes128estream
14.1514.1714.19T:aes256estream
17.7117.9419.00T:ocelot1
19.0919.9920.36T:ocelot2
33.8934.1334.23T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.550.560.56chacha8
0.660.660.66salsa208
0.77?0.77?0.88?chacha12
0.790.790.79T:aes128ctr
0.890.900.90tango642
0.920.920.93salsa2012
1.051.051.05aes256ctr
1.061.071.07T:speck6496ctr
1.111.111.11T:speck64128ctr
1.181.181.19chacha20
1.291.301.30T:speck128128ctr
1.321.331.38T:aes192ctr
1.341.341.34T:speck128192ctr
1.371.381.38T:speck128256ctr
1.451.461.47salsa20
1.541.551.55xsalsa20
1.761.761.76T:simon6496ctr
1.951.951.96T:simon64128ctr
2.002.012.01T:trivium
2.392.402.40T:nlsv2
2.512.522.64T:simon128128ctr
2.532.542.55T:sosemanuk
2.842.892.90T:simon128256ctr
2.872.913.07T:tpy6
2.983.003.01T:cryptmtv3
3.253.253.38T:rabbit
3.273.333.35T:tpy
3.393.403.41T:snow20
4.064.074.08T:panama
4.284.314.36T:tpypy
4.584.594.60T:lexv2
5.225.235.23T:hc128
9.149.159.16T:aes128estream
11.0911.1211.78T:hc256
14.2714.2814.29T:aes256estream
19.0119.0419.80T:ocelot1
20.4321.0821.18T:ocelot2
35.3135.4835.54T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.570.580.59chacha8
0.670.670.68salsa208
0.78?0.81?0.92?chacha12
0.840.840.85T:aes128ctr
0.930.940.95salsa2012
1.111.111.12aes256ctr
1.111.111.12T:speck6496ctr
1.151.151.17tango642
1.151.151.16T:speck64128ctr
1.201.201.21chacha20
1.351.351.36T:speck128128ctr
1.391.401.41T:speck128192ctr
1.431.441.45T:speck128256ctr
1.471.481.49salsa20
1.721.731.73xsalsa20
1.901.982.00T:aes192ctr
2.122.132.14T:simon6496ctr
2.162.192.21T:trivium
2.532.542.55T:simon64128ctr
2.692.692.70T:nlsv2
2.932.963.25T:simon128128ctr
3.413.423.55T:rabbit
3.433.433.44T:sosemanuk
3.523.533.55T:snow20
3.603.723.73T:simon128256ctr
3.913.974.05T:tpy6
4.364.424.43T:cryptmtv3
4.814.824.83T:lexv2
5.635.675.71T:panama
5.925.986.04T:tpy
6.726.866.92T:tpypy
9.219.229.23T:aes128estream
10.8610.8810.90T:hc128
14.4214.4414.45T:aes256estream
20.9021.0321.67T:ocelot1
22.3022.8622.99T:ocelot2
25.1425.1926.99T:hc256
37.4237.5537.61T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.780.800.83chacha8
0.930.940.96salsa208
1.061.071.09T:aes128ctr
1.08?1.10?1.22?chacha12
1.301.311.32salsa2012
1.311.311.32T:speck6496ctr
1.351.361.37T:speck64128ctr
1.401.421.45aes256ctr
1.591.591.61T:speck128128ctr
1.631.641.66T:speck128192ctr
1.671.691.70chacha20
1.681.691.71T:speck128256ctr
1.861.871.89tango642
2.042.052.07salsa20
2.592.672.71T:trivium
2.712.732.73xsalsa20
3.383.403.43T:nlsv2
3.523.533.54T:simon64128ctr
3.423.653.68T:aes192ctr
3.753.763.78T:simon6496ctr
3.833.863.97T:rabbit
3.913.933.97T:snow20
5.005.005.03T:simon128128ctr
4.935.115.12T:cryptmtv3
5.415.425.47T:simon128256ctr
5.425.445.46T:lexv2
5.805.825.84T:sosemanuk
7.167.287.38T:tpy6
9.449.469.49T:aes128estream
9.889.9610.04T:panama
12.5212.7213.03T:tpy
13.4713.5513.70T:tpypy
14.8914.9214.95T:aes256estream
25.5125.7826.33T:ocelot1
25.8825.9225.96T:hc128
27.0027.4027.68T:ocelot2
43.2643.7944.26T:amastrid
62.6562.8467.68T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.922.963.06chacha8
3.333.383.52T:speck6496ctr
3.373.433.51T:speck64128ctr
3.503.503.69T:aes128ctr
3.533.563.64salsa208
3.863.933.96chacha12
3.903.974.06T:speck128128ctr
4.064.094.22T:speck128192ctr
4.104.144.26T:speck128256ctr
4.574.664.84aes256ctr
4.694.724.77salsa2012
5.956.006.05chacha20
7.057.077.14salsa20
7.557.657.80T:simon6496ctr
7.77?8.55?8.77?T:trivium
8.778.889.09T:snow20
8.798.899.30T:rabbit
8.979.009.09T:simon64128ctr
10.9010.9911.23tango642
12.5612.6512.73T:simon128128ctr
11.05?12.76?12.82?T:cryptmtv3
12.7612.8913.01T:aes128estream
13.2513.3413.45xsalsa20
13.3213.4413.76T:lexv2
13.8813.9814.15T:nlsv2
14.4114.4514.65T:simon128256ctr
20.5620.6520.82T:aes256estream
22.66?23.82?25.39?T:aes192ctr
33.34?33.88?37.29?T:sosemanuk
47.0447.2947.67T:tpy6
63.8364.0464.56T:panama
84.8786.4188.08T:ocelot2
85.9287.3788.80T:ocelot1
96.8098.0998.88T:tpypy
98.29100.24102.14T:tpy
122.36122.98123.69T:amastrid
214.61215.03215.39T:hc128
542.23543.70586.99T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.38?17.96?19.67?T:speck6496ctr
17.8818.0418.92T:speck64128ctr
21.1721.5422.33T:speck128192ctr
21.1221.7923.12T:speck128256ctr
22.2122.7124.12T:speck128128ctr
29.5029.5830.42T:aes128ctr
36.5036.9237.12chacha8
37.8838.2139.04aes256ctr
44.5044.9645.33T:simon6496ctr
46.7947.3848.33chacha12
49.5850.0850.75salsa208
52.6253.2154.71T:rabbit
55.4655.5456.21T:aes128estream
55.2955.7156.33T:simon64128ctr
49.83?56.29?58.62?T:trivium
61.6762.0462.67salsa2012
66.3866.9268.00chacha20
68.5069.1271.00T:snow20
72.0872.7173.50T:simon128128ctr
75.7576.8378.88T:nlsv2
78.9279.7982.50T:lexv2
67.50?80.42?80.54?T:cryptmtv3
80.2180.7581.75T:aes256estream
83.6784.0084.50tango642
87.6288.0088.67salsa20
86.5088.3390.38T:simon128256ctr
136.38137.21138.25xsalsa20
181.46191.40201.12T:aes192ctr
266.25?270.04?300.00?T:sosemanuk
348.50351.83354.62T:tpy6
499.62501.29505.17T:panama
558.62568.71577.79T:ocelot2
565.50575.96586.54T:ocelot1
755.08765.46773.92T:tpypy
780.54784.79809.50T:tpy
809.79815.12821.92T:amastrid
1717.581720.171722.75T:hc128
4340.754348.714701.62T:hc256