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; cubi10, supercop-20250307

[Page version: 20250326 01:56:40]

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.530.540.55chacha8
0.590.600.61salsa208
0.620.630.63T:aes128ctr
0.670.680.69tango642
0.740.750.76T:aes192ctr
0.750.760.77chacha12
0.840.850.86salsa2012
0.870.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.031.04T:speck64128ctr
1.191.201.21chacha20
1.211.221.23T:speck128128ctr
1.251.261.26T:speck128192ctr
1.291.291.30T:speck128256ctr
1.321.331.35xsalsa20
1.321.341.35salsa20
1.461.471.48T:simon6496ctr
1.511.521.53T:simon64128ctr
1.531.551.56T:hc128
1.931.931.94T:trivium
2.182.212.23T:hc256
2.242.272.28T:simon128128ctr
2.332.342.36T:simon128256ctr
2.452.462.48T:sosemanuk
2.492.502.52T:nlsv2
2.502.532.56T:cryptmtv3
2.642.712.78T:tpy
2.732.752.77T:rabbit
2.792.802.81T:snow20
2.742.822.89T:tpy6
2.882.922.97T:panama
4.054.074.10T:lexv2
4.224.304.42T:tpypy
8.358.378.39T:aes128estream
12.7712.7912.82T:aes256estream
16.7916.9117.13T:ocelot1
17.8717.9418.00T:ocelot2
30.3930.9231.40T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.560.57chacha8
0.620.620.62salsa208
0.680.680.69T:aes128ctr
0.770.780.78chacha12
0.840.840.85tango642
0.860.870.87salsa2012
0.900.900.90T:aes192ctr
0.940.940.95aes256ctr
1.041.041.04T:speck6496ctr
1.071.071.08T:speck64128ctr
1.211.221.22chacha20
1.281.281.28T:speck128128ctr
1.301.301.30T:speck128192ctr
1.331.341.34T:speck128256ctr
1.351.361.36salsa20
1.451.451.46xsalsa20
1.651.651.66T:simon6496ctr
1.801.801.80T:simon64128ctr
2.032.032.03T:trivium
2.502.512.52T:simon128128ctr
2.632.632.64T:nlsv2
2.722.722.73T:sosemanuk
2.782.782.79T:simon128256ctr
2.832.852.86T:rabbit
2.902.912.92T:snow20
3.023.043.05T:cryptmtv3
3.413.453.49T:tpy6
3.863.873.90T:panama
4.044.064.09T:tpy
4.204.214.23T:lexv2
4.564.574.57T:hc128
5.555.595.67T:tpypy
8.428.438.44T:aes128estream
9.399.409.41T:hc256
12.8712.8812.90T:aes256estream
18.2718.3418.46T:ocelot1
19.3319.3719.39T:ocelot2
31.8132.1932.51T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.600.61chacha8
0.650.650.66salsa208
0.770.780.78T:aes128ctr
0.810.820.82chacha12
0.900.900.91salsa2012
1.061.061.06aes256ctr
1.101.101.11T:speck6496ctr
1.101.111.12tango642
1.131.141.14T:speck64128ctr
1.141.151.15T:aes192ctr
1.241.251.26chacha20
1.361.361.38T:speck128128ctr
1.371.371.38T:speck128192ctr
1.401.401.40salsa20
1.411.411.41T:speck128256ctr
1.641.651.66xsalsa20
1.951.951.96T:simon6496ctr
2.192.202.21T:trivium
2.252.262.27T:simon64128ctr
2.912.922.93T:nlsv2
2.912.922.94T:simon128128ctr
3.003.023.03T:rabbit
3.083.093.10T:snow20
3.183.193.22T:sosemanuk
3.513.523.54T:simon128256ctr
4.364.394.41T:cryptmtv3
4.444.464.47T:lexv2
4.514.554.65T:tpy6
5.445.485.52T:panama
6.326.356.39T:tpy
7.817.857.91T:tpypy
8.518.528.54T:aes128estream
9.579.599.61T:hc128
13.0113.0313.04T:aes256estream
20.6320.6720.77T:ocelot1
21.3521.3821.41T:hc256
21.6021.6721.75T:ocelot2
34.3734.6534.83T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.86chacha8
0.940.950.96salsa208
1.081.091.09T:aes128ctr
1.121.131.14chacha12
1.271.281.30salsa2012
1.361.361.37T:speck6496ctr
1.391.401.41T:speck64128ctr
1.441.441.44aes256ctr
1.661.661.67T:speck128192ctr
1.681.681.70T:speck128128ctr
1.701.711.72T:speck128256ctr
1.721.741.76chacha20
1.771.791.82T:aes192ctr
1.821.841.85tango642
1.941.951.96salsa20
2.612.632.64xsalsa20
2.632.642.64T:trivium
3.383.393.41T:simon64128ctr
3.413.433.47T:simon6496ctr
3.443.453.48T:rabbit
3.523.543.59T:snow20
3.673.693.72T:nlsv2
4.524.524.55T:sosemanuk
4.824.944.98T:cryptmtv3
5.035.055.08T:simon128128ctr
5.055.095.10T:lexv2
5.445.465.48T:simon128256ctr
7.277.367.42T:tpy6
8.798.828.85T:aes128estream
9.659.749.86T:panama
12.2712.4212.74T:tpy
13.3613.4013.44T:aes256estream
13.7913.9014.03T:tpypy
22.9722.9923.04T:hc128
26.8727.2427.51T:ocelot1
27.8127.8928.10T:ocelot2
40.0340.4140.77T:amastrid
53.2153.2653.32T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.333.343.38chacha8
3.833.883.94salsa208
4.094.174.20T:speck6496ctr
4.204.234.28chacha12
4.164.284.41T:speck64128ctr
4.724.754.80T:aes128ctr
4.834.884.97T:speck128192ctr
4.884.914.94salsa2012
4.894.945.00T:speck128256ctr
5.305.385.41T:speck128128ctr
5.815.845.92chacha20
5.945.955.97aes256ctr
6.957.037.11salsa20
8.038.128.33T:simon6496ctr
8.258.388.48T:trivium
8.838.899.00T:rabbit
8.929.059.14T:simon64128ctr
9.179.239.36T:snow20
10.1110.3310.48T:aes192ctr
11.0611.1211.19tango642
10.62?11.69?11.83?T:cryptmtv3
12.5812.6612.97T:aes128estream
12.6712.9112.97T:simon128128ctr
12.7513.0913.44T:lexv2
13.1713.2713.34xsalsa20
14.3014.3914.67T:simon128256ctr
15.7515.8815.97T:nlsv2
18.3118.4218.73T:aes256estream
19.8019.9220.03T:sosemanuk
44.2744.5844.97T:tpy6
62.4163.0963.92T:panama
88.7289.2390.75T:tpy
88.9789.6290.48T:tpypy
105.59107.84109.41T:ocelot2
107.34108.00108.53T:ocelot1
111.14111.92114.39T:amastrid
193.02193.36193.83T:hc128
459.42459.83460.45T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.5022.8823.62T:speck6496ctr
26.0026.1226.88T:speck128192ctr
27.5027.8828.75T:speck128128ctr
29.6229.7529.88T:speck64128ctr
36.5036.7537.12T:aes128ctr
37.1237.5037.62chacha8
39.2539.3839.88T:speck128256ctr
44.1244.6244.75salsa208
46.1246.6248.38aes256ctr
47.8849.2551.88chacha20
51.2551.6252.00T:simon6496ctr
52.6253.0054.00T:trivium
53.3853.8854.25salsa2012
54.5054.8855.75T:rabbit
55.3855.7555.88chacha12
57.5057.8858.38T:simon64128ctr
58.6259.3860.50T:aes128estream
67.0067.3868.12salsa20
71.6272.0072.75T:aes256estream
63.50?72.38?73.00?T:cryptmtv3
72.0073.2577.00T:snow20
78.0078.5079.12T:lexv2
78.3879.1279.75T:simon128128ctr
79.2579.6280.75T:nlsv2
78.6279.8880.75T:aes192ctr
83.6284.0084.62tango642
90.2590.7591.62T:simon128256ctr
116.12117.25118.38xsalsa20
156.75157.62158.25T:sosemanuk
328.38335.62337.12T:tpy6
491.88495.88502.12T:panama
683.62688.88695.00T:tpypy
689.25695.50703.12T:tpy
729.25734.62772.75T:ocelot2
724.12737.38754.12T:ocelot1
737.38742.25766.12T:amastrid
1535.881545.751547.88T:hc128
3680.253685.883690.75T:hc256