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; Zen (800f11); 2017 AMD Ryzen 5 1600; 6 x 3200MHz; rumba5, supercop-20240909

[Page version: 20241006 02:11:59]

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.450.450.46T:aes128ctr
0.540.560.58T:aes192ctr
0.580.580.59aes256ctr
0.730.740.75tango642
0.930.940.96chacha8
1.221.231.23salsa208
1.271.271.31chacha12
1.761.761.76salsa2012
1.811.821.82T:hc128
1.801.821.83T:speck6496ctr
1.861.871.89T:speck64128ctr
1.961.992.00chacha20
2.082.102.10T:cryptmtv3
2.172.192.20T:speck128128ctr
2.112.202.27T:tpy
2.232.252.29T:speck128192ctr
2.282.312.35T:tpy6
2.312.312.31T:trivium
2.312.322.34T:speck128256ctr
2.462.472.48T:sosemanuk
2.552.562.57T:hc256
2.642.652.67T:nlsv2
2.682.712.73T:simon6496ctr
2.822.832.83salsa20
2.832.832.83xsalsa20
2.962.972.98T:simon64128ctr
2.962.993.02T:panama
2.993.003.01T:rabbit
3.333.343.34T:snow20
3.813.843.88T:tpypy
4.034.034.04T:simon128256ctr
4.044.054.06T:simon128128ctr
4.214.224.26T:lexv2
9.129.199.44T:aes128estream
13.3713.4513.65T:aes256estream
18.4918.5718.66T:ocelot1
19.9620.0320.10T:ocelot2
33.1833.5834.28T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.480.480.48T:aes128ctr
0.610.620.62aes256ctr
0.900.900.90tango642
0.940.940.95T:aes192ctr
0.950.960.97chacha8
1.251.251.25salsa208
1.291.291.31chacha12
1.781.781.78salsa2012
1.851.861.87T:speck6496ctr
1.921.921.93T:speck64128ctr
1.982.012.01chacha20
2.242.252.25T:speck128128ctr
2.312.312.34T:speck128192ctr
2.372.382.39T:speck128256ctr
2.422.422.42T:trivium
2.632.642.64T:cryptmtv3
2.732.732.74T:sosemanuk
2.802.812.82T:nlsv2
2.842.842.85salsa20
2.892.912.92T:simon6496ctr
2.942.942.94xsalsa20
2.983.003.01T:tpy6
3.093.093.10T:rabbit
3.283.293.29T:simon64128ctr
3.423.433.43T:snow20
3.723.783.80T:tpy
3.943.943.96T:panama
4.324.324.33T:simon128128ctr
4.364.374.39T:lexv2
4.594.594.59T:simon128256ctr
4.904.904.90T:hc128
5.435.455.46T:tpypy
9.249.269.44T:aes128estream
10.9910.9910.99T:hc256
13.5713.5913.73T:aes256estream
19.6519.6919.75T:ocelot1
21.1421.1721.22T:ocelot2
34.8835.1635.67T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.520.530.54T:aes128ctr
0.660.670.68aes256ctr
0.980.991.00chacha8
1.171.181.19tango642
1.281.281.29salsa208
1.321.331.34chacha12
1.571.581.60T:aes192ctr
1.811.811.82salsa2012
1.931.931.93T:speck6496ctr
2.002.002.00T:speck64128ctr
2.002.012.03chacha20
2.342.342.35T:speck128128ctr
2.402.412.44T:speck128192ctr
2.472.472.49T:speck128256ctr
2.602.602.61T:trivium
2.872.872.87salsa20
3.143.143.15xsalsa20
3.153.163.17T:nlsv2
3.223.233.23T:sosemanuk
3.223.243.24T:rabbit
3.243.253.26T:simon6496ctr
3.583.583.59T:snow20
3.803.813.81T:simon64128ctr
3.994.004.01T:cryptmtv3
4.084.124.15T:tpy6
4.624.624.63T:lexv2
4.774.774.78T:simon128128ctr
5.495.505.50T:simon128256ctr
5.575.635.65T:panama
6.356.406.48T:tpy
7.798.008.12T:tpypy
9.369.389.56T:aes128estream
10.0210.0210.02T:hc128
13.8213.8413.89T:aes256estream
21.5521.5921.77T:ocelot1
23.0423.0823.10T:ocelot2
25.0325.0525.06T:hc256
37.3637.4338.89T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.690.710.72T:aes128ctr
0.890.900.91aes256ctr
1.131.131.14chacha8
1.441.481.50salsa208
1.531.541.55chacha12
1.871.871.90tango642
2.042.042.05salsa2012
2.162.162.21T:speck6496ctr
2.242.242.25T:speck64128ctr
2.372.392.39chacha20
2.652.672.67T:speck128128ctr
2.722.732.75T:speck128192ctr
2.782.792.80T:speck128256ctr
3.053.063.09T:trivium
3.203.213.21salsa20
3.293.383.54T:aes192ctr
3.603.613.62T:rabbit
3.923.933.93xsalsa20
3.963.974.01T:nlsv2
3.973.983.99T:snow20
4.484.494.51T:sosemanuk
4.644.644.65T:cryptmtv3
4.764.794.83T:simon6496ctr
5.295.305.35T:lexv2
5.765.775.80T:simon64128ctr
6.976.997.01T:simon128128ctr
7.227.257.33T:tpy6
9.729.759.80T:aes128estream
9.729.809.85T:panama
10.2410.3110.32T:simon128256ctr
13.4013.4713.52T:tpy
14.3414.4314.52T:aes256estream
15.0815.2515.34T:tpypy
23.7023.7523.79T:hc128
26.5626.6726.80T:ocelot1
28.0328.1228.16T:ocelot2
43.9344.8845.53T:amastrid
62.4562.5062.56T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.31?2.39?2.62?T:aes128ctr
2.622.642.66chacha8
2.72?2.98?3.17?aes256ctr
3.09?3.14?3.44?salsa208
3.643.643.66chacha12
4.174.194.25salsa2012
4.914.925.20T:speck6496ctr
5.005.035.38T:speck64128ctr
5.535.535.53T:speck128192ctr
5.525.555.59T:speck128256ctr
5.625.645.66chacha20
5.625.675.67T:speck128128ctr
6.206.226.31salsa20
8.558.669.05T:rabbit
8.848.949.09T:simon6496ctr
8.979.039.31T:trivium
9.029.149.53T:snow20
9.099.279.55T:simon64128ctr
10.8110.8110.98tango642
11.7011.8611.88T:cryptmtv3
12.4212.5012.59xsalsa20
13.5913.7013.94T:lexv2
13.6213.7814.22T:aes128estream
14.4514.5214.66T:simon128128ctr
16.5316.6917.08T:simon128256ctr
16.4716.7517.00T:nlsv2
19.4119.6219.62T:sosemanuk
22.1222.1622.31T:aes256estream
25.1225.4825.78T:aes192ctr
45.9446.0946.41T:tpy6
63.6963.9467.08T:panama
90.7591.2791.86T:ocelot1
92.0092.9494.11T:ocelot2
104.14104.45105.16T:tpy
108.66109.25110.22T:tpypy
127.28127.97128.45T:amastrid
199.03199.11199.27T:hc128
541.33541.56541.94T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.3817.5018.12T:aes128ctr
19.88?19.88?22.75?T:speck6496ctr
20.7520.7523.00T:speck64128ctr
22.7522.8823.25chacha8
22.2523.5023.62aes256ctr
24.38?24.38?30.62?T:speck128192ctr
24.1224.5024.50T:speck128256ctr
24.50?24.50?31.25?T:speck128128ctr
29.5030.0031.62chacha12
42.8842.8843.00salsa2012
43.0043.6244.12salsa208
43.6243.6245.62T:simon6496ctr
45.6245.7546.38chacha20
48.6249.6250.88T:simon64128ctr
50.1252.7553.50T:rabbit
55.2555.2556.38T:trivium
61.0061.3862.00T:aes128estream
70.7572.2572.25T:simon128128ctr
71.2572.2575.50T:snow20
78.1278.3879.00T:cryptmtv3
81.0081.2581.50salsa20
81.7581.8883.88T:lexv2
81.8881.8881.88tango642
83.5084.5085.62T:nlsv2
86.5086.5086.75T:simon128256ctr
97.2599.88101.75T:aes256estream
131.25132.75133.12xsalsa20
154.50155.62155.62T:sosemanuk
203.25203.62205.62T:aes192ctr
353.12354.75356.38T:tpy6
499.75502.00502.25T:panama
593.25596.88601.62T:ocelot1
597.12605.12609.38T:ocelot2
818.38821.62825.00T:tpy
843.50847.00856.25T:amastrid
848.38850.62854.38T:tpypy
1590.251590.881591.12T:hc128
4329.504332.124337.12T:hc256