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; Comet Lake (806ec); 2019 Intel Core i3-10110U; 2 x 2100MHz; comet, supercop-20260330

[Page version: 20260604 23:13:43]

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.520.530.56chacha8
0.590.600.61salsa208
0.620.620.63T:aes128ctr
0.740.750.76chacha12
0.720.750.76tango642
0.760.780.80T:aes192ctr
0.840.850.85salsa2012
0.870.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.04T:speck64128ctr
1.171.171.18chacha20
1.231.241.24T:speck128128ctr
1.251.251.27T:speck128192ctr
1.291.291.30T:speck128256ctr
1.321.331.34xsalsa20
1.321.331.35salsa20
1.451.471.49T:simon6496ctr
1.521.521.53T:simon64128ctr
1.751.771.79T:hc128
1.801.811.83T:sosemanuk
1.931.941.95T:trivium
2.012.062.11T:tpy
2.07?2.27?2.43?T:simon128128ctr
2.212.272.34T:hc256
2.372.382.39T:simon128256ctr
2.342.432.52T:tpy6
2.432.472.49T:nlsv2
2.492.522.55T:cryptmtv3
2.712.712.73T:rabbit
2.772.802.83T:snow20
2.842.913.02T:tpypy
2.902.922.93T:panama
4.094.114.13T:lexv2
8.328.358.38T:aes128estream
13.2213.2513.30T:aes256estream
17.2117.2517.31T:ocelot1
19.2819.3619.41T:ocelot2
31.3532.2332.60T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.550.550.58chacha8
0.620.620.63salsa208
0.680.680.68T:aes128ctr
0.760.770.77chacha12
0.860.870.87salsa2012
0.890.900.91tango642
0.940.940.94aes256ctr
1.041.041.04T:speck6496ctr
1.071.071.08T:speck64128ctr
1.101.111.12T:aes192ctr
1.191.191.20chacha20
1.271.281.28T:speck128128ctr
1.301.301.31T:speck128192ctr
1.341.341.35T:speck128256ctr
1.351.361.37salsa20
1.441.451.46xsalsa20
1.691.701.71T:simon6496ctr
1.881.881.89T:simon64128ctr
2.042.042.04T:trivium
2.342.342.35T:sosemanuk
2.542.582.68T:simon128128ctr
2.602.622.63T:nlsv2
2.802.812.82T:rabbit
2.852.852.86T:simon128256ctr
2.882.902.92T:snow20
2.963.003.05T:tpy6
3.023.043.04T:cryptmtv3
3.403.413.43T:tpy
3.853.853.86T:panama
4.244.254.26T:lexv2
4.404.444.51T:tpypy
4.544.554.56T:hc128
8.418.428.44T:aes128estream
9.239.259.28T:hc256
13.3513.3613.39T:aes256estream
18.6118.6318.67T:ocelot1
20.7420.7720.79T:ocelot2
32.9433.5433.76T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.590.61chacha8
0.650.660.67salsa208
0.770.770.77T:aes128ctr
0.800.800.81chacha12
0.900.900.91salsa2012
1.041.051.05aes256ctr
1.101.101.11T:speck6496ctr
1.131.131.14T:speck64128ctr
1.151.151.19tango642
1.231.231.24chacha20
1.341.351.36T:speck128128ctr
1.371.381.38T:speck128192ctr
1.391.401.41salsa20
1.411.421.43T:speck128256ctr
1.641.651.66xsalsa20
1.661.671.68T:aes192ctr
2.072.072.09T:simon6496ctr
2.202.212.22T:trivium
2.482.482.50T:simon64128ctr
2.892.922.95T:nlsv2
2.972.982.99T:rabbit
3.01?3.07?3.37?T:simon128128ctr
3.063.083.10T:snow20
3.263.273.29T:sosemanuk
3.603.613.63T:simon128256ctr
3.803.934.02T:tpy6
4.384.434.44T:cryptmtv3
4.454.474.50T:lexv2
5.405.415.43T:panama
5.695.765.81T:tpy
6.866.906.95T:tpypy
8.528.538.56T:aes128estream
9.169.189.20T:hc128
13.5313.5513.57T:aes256estream
20.8120.8520.92T:hc256
20.9921.0321.06T:ocelot1
22.9923.0423.10T:ocelot2
35.8636.0236.27T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.810.830.88chacha8
0.910.930.96salsa208
1.061.071.07T:aes128ctr
1.101.121.13chacha12
1.251.261.27salsa2012
1.341.341.34T:speck6496ctr
1.381.381.39T:speck64128ctr
1.421.431.43aes256ctr
1.621.631.65T:speck128128ctr
1.671.681.69T:speck128192ctr
1.691.691.71chacha20
1.711.731.76T:speck128256ctr
1.841.851.90tango642
1.941.951.96salsa20
2.632.632.65T:trivium
2.632.642.66xsalsa20
3.113.133.16T:aes192ctr
3.323.343.37T:simon64128ctr
3.373.393.42T:rabbit
3.463.493.53T:snow20
3.663.703.84T:nlsv2
3.713.723.74T:simon6496ctr
4.874.884.91T:simon128128ctr
4.824.954.96T:cryptmtv3
5.075.095.12T:lexv2
5.245.255.26T:simon128256ctr
5.725.765.80T:sosemanuk
6.506.596.66T:tpy6
8.848.898.94T:aes128estream
9.549.579.64T:panama
11.5211.7211.83T:tpy
13.6213.7513.99T:tpypy
13.9814.0214.05T:aes256estream
21.5421.5921.64T:hc128
27.1227.2727.37T:ocelot1
29.0429.1829.33T:ocelot2
41.1641.3341.51T:amastrid
51.6051.8352.01T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.253.273.30chacha8
3.703.733.78T:speck6496ctr
3.753.773.82salsa208
3.823.843.98T:speck64128ctr
4.144.184.21chacha12
4.344.434.55T:speck128128ctr
4.574.594.64T:aes128ctr
4.774.814.91T:speck128192ctr
4.794.824.87salsa2012
4.844.935.04T:speck128256ctr
5.725.745.80chacha20
5.795.875.90aes256ctr
6.916.977.08salsa20
7.958.098.21T:simon6496ctr
8.168.208.27T:trivium
8.198.268.46T:rabbit
9.279.329.39T:simon64128ctr
9.169.349.67T:snow20
10.7210.7811.20tango642
10.9312.0412.11T:cryptmtv3
12.3012.4112.62T:simon128128ctr
12.6313.0213.32T:aes128estream
12.8613.0513.24T:lexv2
13.2613.3713.44xsalsa20
13.8113.9214.06T:simon128256ctr
15.4815.5615.67T:nlsv2
19.7019.8019.95T:aes256estream
22.0322.1922.40T:aes192ctr
34.1734.3934.76T:sosemanuk
40.4040.7341.17T:tpy6
62.0862.3262.80T:panama
88.1989.0689.99T:tpy
99.4399.98101.04T:tpypy
105.90106.41107.42T:ocelot1
107.06107.70108.80T:ocelot2
116.54117.05117.72T:amastrid
179.46180.04180.38T:hc128
445.72446.77448.53T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.1720.5821.58T:speck64128ctr
20.12?20.62?23.31?T:speck6496ctr
23.83?25.96?27.78?T:speck128128ctr
25.6726.2427.35T:speck128192ctr
26.4126.5927.36T:speck128256ctr
35.0035.0535.77T:aes128ctr
38.2538.5738.91chacha8
45.1245.4846.01salsa208
45.6245.8846.40aes256ctr
46.4746.6947.10chacha12
46.7847.1147.88chacha20
50.4550.8351.82T:rabbit
51.5151.7551.91T:simon6496ctr
52.0252.2152.55T:trivium
54.2454.5555.28salsa2012
58.4759.1560.27T:aes128estream
61.2261.8162.64T:simon64128ctr
70.7971.3671.83salsa20
71.7773.7577.31T:snow20
67.23?76.03?76.49?T:cryptmtv3
76.6977.4178.62T:lexv2
76.8677.5880.34T:simon128128ctr
81.0281.3984.71tango642
80.6681.4382.02T:aes256estream
84.6985.3286.81T:nlsv2
88.7990.0191.82T:simon128256ctr
120.97121.65122.91xsalsa20
175.09176.10178.72T:aes192ctr
272.64275.21277.70T:sosemanuk
305.90310.97315.43T:tpy6
487.40488.93491.83T:panama
699.53705.36714.53T:tpy
716.66720.58726.70T:ocelot2
723.24729.62738.80T:ocelot1
766.98770.17775.32T:amastrid
773.28777.79789.29T:tpypy
1439.901442.831446.02T:hc128
3564.773567.853575.67T:hc256