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 (820f01); 2020 AMD Athlon Silver 3050e; 2 x 1400MHz; dali, supercop-20250307

[Page version: 20250328 20:58:06]

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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.400.410.41T:aes192ctr
0.440.450.46T:aes128ctr
0.580.600.64aes256ctr
0.780.790.80tango642
0.930.950.96chacha8
1.211.231.23salsa208
1.261.271.28chacha12
1.761.761.77salsa2012
1.801.801.81T:hc128
1.811.821.83T:speck6496ctr
1.881.901.91T:speck64128ctr
1.951.991.99chacha20
2.102.122.15T:cryptmtv3
2.192.202.20T:speck128128ctr
2.262.272.28T:speck128192ctr
2.332.342.35T:speck128256ctr
2.342.342.35T:trivium
2.29?2.37?2.69?T:sosemanuk
2.452.462.46T:hc256
2.492.522.55T:tpy6
2.522.522.53T:simon6496ctr
2.532.542.55T:nlsv2
2.482.562.61T:tpy
2.592.602.62T:simon64128ctr
2.822.822.83xsalsa20
2.822.832.83salsa20
2.972.983.01T:panama
3.003.023.03T:rabbit
3.323.343.36T:snow20
3.743.753.76T:simon128128ctr
3.783.883.95T:tpypy
3.943.943.96T:simon128256ctr
4.214.234.24T:lexv2
9.179.199.19T:aes128estream
13.7213.7713.77T:aes256estream
18.0618.4218.71T:ocelot1
19.8520.1320.54T:ocelot2
30.02?34.33?35.04?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.470.470.48T:aes128ctr
0.600.600.60T:aes192ctr
0.620.620.65aes256ctr
0.950.950.95tango642
0.950.960.97chacha8
1.241.251.25salsa208
1.291.291.30chacha12
1.781.781.78salsa2012
1.861.861.86T:speck6496ctr
1.921.931.93T:speck64128ctr
1.982.002.01chacha20
2.242.252.25T:speck128128ctr
2.322.322.33T:speck128192ctr
2.392.392.40T:speck128256ctr
2.452.452.45T:trivium
2.642.642.87T:sosemanuk
2.652.662.66T:cryptmtv3
2.702.702.71T:nlsv2
2.722.722.72T:simon6496ctr
2.842.842.84salsa20
2.942.942.94xsalsa20
2.942.942.95T:simon64128ctr
3.103.113.11T:rabbit
3.223.233.25T:tpy6
3.453.453.46T:snow20
3.933.933.95T:panama
4.024.024.02T:simon128128ctr
4.084.124.16T:tpy
4.364.374.37T:lexv2
4.494.494.50T:simon128256ctr
5.155.155.16T:hc128
5.475.535.57T:tpypy
9.249.259.25T:aes128estream
11.2211.2211.22T:hc256
13.8113.8313.84T:aes256estream
20.0220.1520.36T:ocelot1
21.7321.8822.16T:ocelot2
32.6435.6735.84T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.520.520.53T:aes128ctr
0.670.670.67aes256ctr
0.890.910.91T:aes192ctr
0.980.981.00chacha8
1.221.221.23tango642
1.281.281.29salsa208
1.331.331.34chacha12
1.811.811.81salsa2012
1.911.911.93T:speck6496ctr
1.971.981.99T:speck64128ctr
2.022.032.03chacha20
2.322.332.34T:speck128128ctr
2.402.402.42T:speck128192ctr
2.472.482.50T:speck128256ctr
2.632.632.64T:trivium
2.872.872.88salsa20
3.053.063.06T:simon6496ctr
3.033.073.07T:nlsv2
3.133.133.14xsalsa20
3.133.143.40T:sosemanuk
3.253.263.26T:rabbit
3.503.503.52T:simon64128ctr
3.623.633.66T:snow20
4.034.044.04T:cryptmtv3
4.374.394.42T:tpy6
4.464.464.46T:simon128128ctr
4.624.624.64T:lexv2
5.415.415.41T:simon128256ctr
5.505.525.54T:panama
6.636.676.73T:tpy
8.238.288.31T:tpypy
9.339.379.39T:aes128estream
10.7210.7310.74T:hc128
13.9313.9613.99T:aes256estream
22.7422.8223.02T:ocelot1
24.8724.9424.99T:ocelot2
25.8325.8325.84T:hc256
37.0737.1437.99T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.64?0.67?0.72?T:aes128ctr
1.121.131.14chacha8
1.121.131.14aes256ctr
1.431.441.45salsa208
1.541.541.55chacha12
1.781.801.82T:aes192ctr
1.921.921.96tango642
2.032.032.03salsa2012
2.112.112.12T:speck6496ctr
2.162.172.18T:speck64128ctr
2.382.392.39chacha20
2.602.612.64T:speck128128ctr
2.682.692.75T:speck128192ctr
2.772.772.81T:speck128256ctr
3.073.113.16T:trivium
3.193.193.20salsa20
3.673.683.68T:rabbit
3.843.853.86xsalsa20
3.913.923.92T:nlsv2
4.104.154.18T:snow20
4.404.424.68T:sosemanuk
4.524.544.57T:simon6496ctr
4.564.624.63T:cryptmtv3
5.275.305.32T:lexv2
5.695.725.79T:simon64128ctr
6.706.746.76T:simon128128ctr
7.517.587.65T:tpy6
9.649.709.74T:aes128estream
9.739.749.74T:panama
10.1710.1810.24T:simon128256ctr
13.6613.7813.81T:tpy
14.2614.3014.32T:aes256estream
15.5615.5915.66T:tpypy
25.6325.6425.66T:hc128
30.6831.1531.29T:ocelot1
32.3032.5032.56T:ocelot2
44.3244.4544.61T:amastrid
64.8064.8564.89T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.36?2.61?2.64?T:aes128ctr
2.622.662.67chacha8
3.063.163.25salsa208
3.663.663.69chacha12
4.194.224.23salsa2012
4.424.454.78T:speck6496ctr
4.474.474.47T:speck64128ctr
5.345.385.41aes256ctr
5.665.665.70chacha20
5.845.885.88T:speck128128ctr
5.975.986.12T:speck128192ctr
6.06?6.16?7.73?T:speck128256ctr
6.196.206.22salsa20
8.928.928.98T:trivium
8.789.059.38T:rabbit
8.98?9.23?12.50?T:simon6496ctr
10.0810.0910.19T:simon64128ctr
10.1610.3310.91T:snow20
10.6910.7311.05tango642
11.3811.5211.69T:cryptmtv3
12.0212.0912.22xsalsa20
12.5812.5912.61T:aes192ctr
13.4113.5213.67T:lexv2
13.5513.5913.72T:aes128estream
14.2814.2814.61T:simon128128ctr
16.3116.3416.78T:simon128256ctr
16.9517.1217.33T:nlsv2
17.2717.3017.88T:aes256estream
19.5519.6220.05T:sosemanuk
47.1947.6148.31T:tpy6
63.3664.1267.25T:panama
103.52103.89104.38T:tpy
109.00109.39109.94T:tpypy
123.14124.50125.67T:amastrid
123.22124.77128.23T:ocelot1
124.70125.64128.58T:ocelot2
215.81216.03216.52T:hc128
562.28563.42563.62T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.50?19.88?20.00?T:aes128ctr
22.3822.3822.88aes256ctr
22.6223.0024.00chacha8
23.38?23.38?27.75?T:speck128192ctr
23.7523.7524.00T:speck128256ctr
22.75?25.25?28.12?T:speck128128ctr
25.88?27.12?30.12?T:speck6496ctr
29.8830.7531.00chacha12
29.62?31.12?33.00?T:speck64128ctr
41.3841.5042.00salsa208
43.88?45.00?49.38?T:simon6496ctr
45.7546.0046.75chacha20
52.2552.2552.25T:simon64128ctr
52.3852.7552.88salsa2012
55.2555.2555.88T:trivium
56.5056.6259.00T:rabbit
55.3857.5057.62T:aes256estream
59.7560.0061.50T:aes128estream
72.5072.5073.88T:simon128128ctr
74.7574.8874.88salsa20
75.8876.3876.88T:cryptmtv3
81.1281.1281.50T:lexv2
81.2581.3885.62tango642
82.8884.5087.38T:snow20
84.7585.2585.25T:simon128256ctr
94.3894.3894.88T:nlsv2
102.12103.75105.38T:aes192ctr
124.50124.50124.88xsalsa20
153.50153.62158.88T:sosemanuk
359.75361.88365.38T:tpy6
502.00503.62505.62T:panama
812.25814.38816.00T:tpy
825.50829.38833.00T:amastrid
830.62845.50906.50T:ocelot1
846.62850.25856.12T:tpypy
884.62905.75913.75T:ocelot2
1724.501726.381727.00T:hc128
4506.754509.754513.38T:hc256