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: aarch64; Neoverse-N1 (413fd0c1); 2021 Ampere Altra Max M128-30; 64 x 3000MHz; cfarm425, supercop-20261004

[Page version: 20261006 19:37:01]

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.720.730.75tango642
0.64?0.86?1.14?T:aes192ctr
0.900.910.92T:aes128ctr
1.161.171.18T:aes256ctr
1.441.451.45chacha8
1.921.982.03T:tpy
1.951.982.03T:salsa208
2.032.052.05chacha12
2.062.082.11T:sosemanuk
2.252.302.36T:tpy6
2.452.472.50T:nlsv2
2.472.522.65T:panama
2.552.622.67salsa208
2.692.782.81T:salsa2012
2.872.892.90T:cryptmtv3
3.183.263.34T:tpypy
3.283.293.29chacha20
3.343.353.35salsa2012
3.994.114.23T:salsa20
4.654.694.77xsalsa20
4.664.744.81salsa20
8.818.858.89T:aes128estream
12.4912.5612.78T:aes256estream
18.1218.8519.27T:ocelot1
19.1319.1919.26T:ocelot2
29.6929.8530.18T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.890.890.90tango642
0.960.970.97T:aes128ctr
1.231.231.24T:aes256ctr
1.481.481.48chacha8
1.54?1.69?1.75?T:aes192ctr
2.082.082.09chacha12
2.222.242.27T:salsa208
2.592.602.61T:sosemanuk
2.602.612.63T:nlsv2
2.602.652.68salsa208
2.892.912.94T:tpy6
2.973.033.04T:salsa2012
3.253.253.26T:cryptmtv3
3.323.323.32chacha20
3.353.373.46T:panama
3.373.383.38salsa2012
3.463.483.51T:tpy
4.294.344.42T:salsa20
4.744.774.81T:tpypy
4.724.774.81salsa20
4.784.804.85xsalsa20
8.908.928.94T:aes128estream
12.6712.7012.85T:aes256estream
19.4319.9520.12T:ocelot1
20.2320.2520.28T:ocelot2
31.2231.3031.52T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.06?1.07?1.18?T:aes128ctr
1.161.171.20tango642
1.351.361.37T:aes256ctr
1.531.531.57chacha8
2.142.142.15chacha12
2.662.692.72T:salsa208
2.682.712.76salsa208
2.912.922.93T:nlsv2
2.68?3.10?3.31?T:aes192ctr
3.373.373.38chacha20
3.433.443.45salsa2012
3.403.463.51T:salsa2012
3.513.523.61T:sosemanuk
3.963.973.98T:cryptmtv3
3.943.984.05T:tpy6
4.674.744.82T:salsa20
4.764.784.84T:panama
4.784.794.89salsa20
4.964.985.01xsalsa20
5.915.945.99T:tpy
7.227.367.45T:tpypy
9.019.059.09T:aes128estream
12.8712.9213.07T:aes256estream
21.3121.7421.83T:ocelot1
22.0622.1422.26T:ocelot2
33.4933.6633.82T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.361.371.39T:aes128ctr
1.771.771.80T:aes256ctr
1.881.911.93tango642
1.911.931.93chacha8
2.592.592.60chacha12
2.782.842.88salsa208
3.553.563.57salsa2012
3.643.683.71T:nlsv2
3.763.793.86T:salsa208
3.923.933.94chacha20
4.474.524.58T:salsa2012
4.684.744.87T:cryptmtv3
4.914.945.02salsa20
5.425.475.51xsalsa20
5.665.826.00T:salsa20
5.915.946.14T:sosemanuk
5.68?6.75?6.91?T:aes192ctr
6.776.897.00T:tpy6
8.528.558.63T:panama
9.369.429.46T:aes128estream
12.7812.9113.07T:tpy
13.4013.4913.59T:aes256estream
13.9514.1214.36T:tpypy
26.2126.6126.77T:ocelot1
26.6826.7626.92T:ocelot2
38.3139.8739.98T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
4.494.574.75salsa208
4.945.045.17T:aes128ctr
5.235.315.39salsa2012
5.525.575.68chacha8
6.516.586.69T:aes256ctr
6.386.606.70chacha12
6.696.796.85salsa20
8.748.758.82chacha20
10.5010.6211.01T:cryptmtv3
10.9811.0611.40tango642
11.1811.2411.43xsalsa20
13.3413.4613.62T:aes128estream
15.1215.3715.54T:nlsv2
18.0818.3119.88T:salsa208
18.0218.7619.44T:salsa2012
18.34?19.67?22.81?T:salsa20
20.2220.3520.70T:aes256estream
34.6734.8035.12T:sosemanuk
43.2944.0744.66T:tpy6
46.89?54.68?60.71?T:aes192ctr
56.3956.7857.96T:panama
87.4888.3989.11T:ocelot1
88.3388.9690.43T:ocelot2
98.6699.25100.99T:tpy
99.80100.36101.59T:tpypy
120.06121.30124.33T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
38.3138.6539.84salsa208
40.1240.2440.85T:aes128ctr
43.8143.9144.42chacha8
45.4245.8046.26salsa2012
52.0252.5253.18T:aes256ctr
52.2752.9553.48T:aes128estream
52.7252.9553.26chacha12
55.6256.0657.08salsa20
60.84?62.75?67.85?T:cryptmtv3
69.4170.2871.22chacha20
78.0278.6882.24T:nlsv2
85.4286.0989.76tango642
86.0987.1089.84T:aes256estream
90.8291.1691.79xsalsa20
148.45150.17158.08T:salsa208
146.45?151.20?167.42?T:salsa20
154.55?156.65?172.35?T:salsa2012
277.20278.44282.21T:sosemanuk
331.46334.58342.69T:tpy6
350.97?431.44?459.20?T:aes192ctr
443.58447.34454.22T:panama
567.12572.83582.19T:ocelot1
573.96577.76582.95T:ocelot2
774.43777.97785.97T:tpy
777.67791.08806.39T:tpypy
807.47821.29844.07T:amastrid