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-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.550.560.57chacha8
0.610.620.63salsa208
0.740.750.75T:aes128ctr
0.770.780.79chacha12
0.770.780.81tango642
0.870.880.88salsa2012
0.930.981.01T:aes192ctr
0.990.991.07aes256ctr
1.031.041.04T:speck6496ctr
1.061.061.07T:speck64128ctr
1.191.211.21chacha20
1.251.261.27T:speck128128ctr
1.291.301.30T:speck128192ctr
1.331.331.34T:speck128256ctr
1.07?1.37?2.58?salsa20
1.361.371.38xsalsa20
1.541.541.54T:simon6496ctr
1.591.601.60T:simon64128ctr
1.911.921.92T:trivium
2.122.122.14T:hc128
2.292.302.31T:simon128128ctr
2.302.372.47T:tpy
2.472.482.51T:simon128256ctr
2.492.522.58T:cryptmtv3
2.522.572.61T:tpy6
2.532.592.68T:hc256
2.582.602.62T:sosemanuk
2.722.762.79T:nlsv2
3.043.103.18T:rabbit
3.083.183.25T:panama
3.343.363.37T:snow20
3.623.783.88T:tpypy
4.464.484.50T:lexv2
9.089.099.11T:aes128estream
14.3414.3814.50T:aes256estream
18.1918.9219.00T:ocelot1
19.1720.1220.36T:ocelot2
30.6532.1432.65T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.580.580.58chacha8
0.640.640.65salsa208
0.790.800.80T:aes128ctr
0.790.800.80chacha12
0.900.900.90salsa2012
0.950.960.98tango642
1.051.051.10aes256ctr
1.081.081.08T:speck6496ctr
1.111.111.11T:speck64128ctr
1.231.231.24chacha20
1.301.311.32T:speck128128ctr
1.341.351.35T:speck128192ctr
1.351.351.36T:aes192ctr
1.381.381.39T:speck128256ctr
1.39?1.40?2.30?salsa20
1.491.501.50xsalsa20
1.741.741.74T:simon6496ctr
1.931.931.93T:simon64128ctr
2.012.022.02T:trivium
2.582.582.59T:simon128128ctr
2.862.882.88T:sosemanuk
2.882.892.91T:nlsv2
2.952.962.97T:simon128256ctr
3.043.063.08T:cryptmtv3
3.173.203.25T:rabbit
3.333.363.38T:tpy6
3.453.463.47T:snow20
3.913.953.98T:tpy
4.104.174.19T:panama
4.614.624.63T:lexv2
5.285.335.39T:tpypy
5.405.415.41T:hc128
9.159.169.16T:aes128estream
11.2311.2311.28T:hc256
14.4614.4814.57T:aes256estream
19.5520.0820.11T:ocelot1
20.5721.2821.32T:ocelot2
32.7033.6733.84T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.610.620.63chacha8
0.670.680.69salsa208
0.820.830.84chacha12
0.870.870.88T:aes128ctr
0.930.940.94salsa2012
1.141.141.15aes256ctr
1.151.151.16T:speck6496ctr
1.181.181.18T:speck64128ctr
1.241.251.28tango642
1.261.261.27chacha20
1.381.391.39T:speck128128ctr
1.431.431.43T:speck128192ctr
1.43?1.43?2.35?salsa20
1.461.471.48T:speck128256ctr
1.701.701.71xsalsa20
1.971.992.05T:aes192ctr
2.072.072.07T:simon6496ctr
2.182.192.19T:trivium
2.482.492.49T:simon64128ctr
3.043.053.07T:simon128128ctr
3.163.203.22T:nlsv2
3.353.363.42T:rabbit
3.383.403.42T:sosemanuk
3.603.623.64T:snow20
3.713.723.74T:simon128256ctr
4.434.524.53T:cryptmtv3
4.564.684.74T:tpy6
4.854.854.87T:lexv2
5.705.795.82T:panama
6.516.576.67T:tpy
7.677.877.96T:tpypy
9.249.259.27T:aes128estream
10.8810.8910.91T:hc128
14.6314.6514.74T:aes256estream
21.6822.0922.16T:ocelot1
22.8523.1723.26T:ocelot2
25.5325.5725.64T:hc256
35.7736.2336.81T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.860.870.89chacha8
0.970.980.99salsa208
1.161.161.17T:aes128ctr
1.171.181.19chacha12
1.301.311.32salsa2012
1.401.421.43T:speck6496ctr
1.441.451.46T:speck64128ctr
1.491.491.50aes256ctr
1.691.701.71T:speck128128ctr
1.741.751.76T:speck128192ctr
1.771.781.81chacha20
1.781.791.79T:speck128256ctr
1.98?1.99?2.74?salsa20
2.052.062.09tango642
2.622.622.63T:trivium
2.702.712.77xsalsa20
3.643.643.65T:simon6496ctr
3.643.643.65T:simon64128ctr
3.593.653.69T:aes192ctr
3.783.813.88T:rabbit
3.883.903.94T:nlsv2
4.054.074.11T:snow20
4.774.804.84T:sosemanuk
4.925.145.16T:cryptmtv3
5.345.355.36T:simon128128ctr
5.525.535.54T:lexv2
5.795.805.83T:simon128256ctr
7.667.787.90T:tpy6
9.519.549.56T:aes128estream
10.1010.1610.22T:panama
13.2013.4313.56T:tpy
14.6814.7414.81T:tpypy
15.0215.0615.13T:aes256estream
25.2925.3525.39T:hc128
26.9027.1727.27T:ocelot1
27.8328.3928.55T:ocelot2
42.1642.8843.09T:amastrid
63.6163.8163.95T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.473.503.56chacha8
3.843.883.88salsa208
4.024.094.11T:speck6496ctr
4.304.314.38T:speck64128ctr
4.484.504.52T:aes128ctr
4.484.504.53chacha12
4.834.864.92salsa2012
4.844.884.98T:speck128192ctr
4.914.915.00T:speck128128ctr
5.225.385.50T:speck128256ctr
5.485.485.50aes256ctr
6.366.456.59chacha20
6.987.007.08salsa20
8.258.288.33T:trivium
8.448.538.53T:simon6496ctr
9.029.229.44T:rabbit
9.899.919.97T:simon64128ctr
9.7210.0510.12T:snow20
12.4512.5312.61tango642
11.08?13.31?13.39?T:cryptmtv3
13.2813.3113.34T:simon128128ctr
13.3113.4113.48T:aes128estream
13.5613.6613.89xsalsa20
14.0514.2714.45T:lexv2
14.9415.0215.19T:nlsv2
15.3315.4215.53T:simon128256ctr
20.4420.5320.75T:sosemanuk
20.5220.6220.72T:aes256estream
24.4524.7525.73T:aes192ctr
49.0049.8650.03T:tpy6
65.4165.8466.25T:panama
92.3694.3396.83T:ocelot1
93.8094.5295.62T:ocelot2
100.45100.97101.50T:tpypy
102.12102.78103.66T:tpy
123.75124.72125.84T:amastrid
205.05205.34205.55T:hc128
551.66552.25553.00T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.0020.2520.75T:speck64128ctr
22.5022.5022.62T:speck128128ctr
23.0023.1223.25T:speck6496ctr
23.2523.8824.88T:speck128256ctr
25.5025.8827.00T:speck128192ctr
35.1235.2535.38T:aes128ctr
40.8841.3841.88chacha8
43.2543.3843.75aes256ctr
43.5044.2546.50salsa2012
50.8851.1251.50salsa208
51.0051.2551.50chacha12
52.7552.8853.00T:trivium
52.6253.0053.25T:simon6496ctr
52.5054.1255.38chacha20
55.1256.0057.25T:rabbit
59.8860.2560.75T:aes128estream
61.2562.3864.00salsa20
62.5062.8863.38T:simon64128ctr
76.7578.8880.50T:snow20
79.5079.7580.50T:simon128128ctr
79.2580.0082.25T:aes256estream
82.0082.5083.50T:nlsv2
67.12?84.50?85.38?T:cryptmtv3
84.1284.8886.25T:lexv2
89.8890.6291.75T:simon128256ctr
94.6295.6297.25tango642
111.50112.00113.75xsalsa20
163.25164.25169.75T:sosemanuk
197.38200.38207.00T:aes192ctr
364.88374.38376.62T:tpy6
515.25516.62522.00T:panama
594.75604.62613.38T:ocelot2
601.25608.88611.12T:ocelot1
773.88786.38805.25T:tpypy
793.75796.50808.38T:tpy
817.00823.38831.88T:amastrid
1643.881647.751649.25T:hc128
4414.004420.254427.62T:hc256