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-20240625

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.540.540.55chacha8
0.600.600.61salsa208
0.620.630.63T:aes128ctr
0.670.680.69tango642
0.740.750.75T:aes192ctr
0.740.750.76chacha12
0.78?0.85?1.08?salsa2012
0.870.880.88aes256ctr
1.001.011.02T:speck6496ctr
1.031.031.04T:speck64128ctr
1.181.201.20chacha20
1.221.221.23T:speck128128ctr
1.251.261.26T:speck128192ctr
1.291.291.30T:speck128256ctr
1.321.331.34xsalsa20
1.331.341.35salsa20
1.441.451.46T:simon6496ctr
1.481.501.51T:simon64128ctr
1.531.551.58T:hc128
1.931.931.94T:trivium
2.192.212.23T:hc256
2.242.242.25T:simon128128ctr
2.332.342.36T:simon128256ctr
2.452.472.49T:sosemanuk
2.492.502.53T:nlsv2
2.502.522.53T:cryptmtv3
2.632.722.77T:tpy
2.732.762.77T:rabbit
2.792.812.82T:snow20
2.762.882.95T:tpy6
2.872.912.96T:panama
4.084.114.13T:lexv2
4.114.194.28T:tpypy
8.328.348.38T:aes128estream
12.7812.8012.83T:aes256estream
16.6516.8717.87T:ocelot1
17.9517.9918.04T:ocelot2
30.5130.8132.47T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.570.57chacha8
0.620.630.63salsa208
0.680.680.69T:aes128ctr
0.770.770.78chacha12
0.840.840.84tango642
0.87?0.87?1.05?salsa2012
0.900.900.90T:aes192ctr
0.940.940.95aes256ctr
1.051.051.05T:speck6496ctr
1.071.071.08T:speck64128ctr
1.211.211.22chacha20
1.281.281.28T:speck128128ctr
1.301.301.30T:speck128192ctr
1.331.341.34T:speck128256ctr
1.351.361.36salsa20
1.441.451.45xsalsa20
1.641.651.65T:simon6496ctr
1.791.801.80T:simon64128ctr
2.032.032.03T:trivium
2.492.492.50T:simon128128ctr
2.652.662.67T:nlsv2
2.722.732.74T:sosemanuk
2.782.792.79T:simon128256ctr
2.842.852.86T:rabbit
2.902.912.92T:snow20
3.043.053.05T:cryptmtv3
3.433.503.54T:tpy6
3.863.873.89T:panama
4.024.074.09T:tpy
4.234.254.25T:lexv2
4.564.574.58T:hc128
5.495.545.59T:tpypy
8.408.418.43T:aes128estream
9.399.409.41T:hc256
12.8812.8912.91T:aes256estream
18.2918.3319.03T:ocelot1
19.3719.3819.40T:ocelot2
32.0632.2033.21T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.600.60chacha8
0.660.670.67salsa208
0.770.770.78T:aes128ctr
0.810.810.81chacha12
0.90?0.91?1.09?salsa2012
1.061.061.06aes256ctr
1.101.111.11T:speck6496ctr
1.101.111.12tango642
1.131.141.14T:speck64128ctr
1.141.151.16T:aes192ctr
1.241.241.25chacha20
1.351.361.36T:speck128128ctr
1.371.371.38T:speck128192ctr
1.381.391.39salsa20
1.411.411.41T:speck128256ctr
1.631.641.65xsalsa20
1.951.961.99T:simon6496ctr
2.202.202.21T:trivium
2.252.262.29T:simon64128ctr
2.892.902.92T:simon128128ctr
2.942.952.96T:nlsv2
2.993.003.01T:rabbit
3.083.093.10T:snow20
3.193.203.22T:sosemanuk
3.523.523.53T:simon128256ctr
4.404.414.42T:cryptmtv3
4.444.474.48T:lexv2
4.534.574.61T:tpy6
5.455.485.52T:panama
6.236.256.27T:tpy
7.767.777.79T:tpypy
8.528.538.55T:aes128estream
9.579.599.61T:hc128
13.0113.0313.05T:aes256estream
20.6520.7921.45T:ocelot1
21.3721.4021.42T:hc256
21.6621.7321.78T:ocelot2
33.7533.8834.95T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.85chacha8
0.940.960.97salsa208
1.081.091.09T:aes128ctr
1.121.131.13chacha12
1.26?1.28?1.43?salsa2012
1.371.371.38T:speck6496ctr
1.401.401.41T:speck64128ctr
1.441.441.48aes256ctr
1.651.661.66T:speck128192ctr
1.681.681.69T:speck128128ctr
1.691.701.73chacha20
1.701.701.71T:speck128256ctr
1.741.761.78T:aes192ctr
1.831.841.86tango642
1.931.941.96salsa20
2.612.622.64xsalsa20
2.632.642.65T:trivium
3.393.403.42T:simon6496ctr
3.433.453.49T:rabbit
3.383.453.47T:simon64128ctr
3.503.523.57T:snow20
3.743.773.83T:nlsv2
4.514.524.57T:sosemanuk
5.005.015.02T:cryptmtv3
5.045.065.08T:simon128128ctr
5.045.065.08T:lexv2
5.425.445.47T:simon128256ctr
7.307.367.50T:tpy6
8.828.848.89T:aes128estream
9.699.779.89T:panama
12.0912.2012.34T:tpy
13.3913.4113.43T:aes256estream
13.6813.7413.80T:tpypy
22.8522.9923.06T:hc128
27.1027.2127.94T:ocelot1
27.6527.8528.01T:ocelot2
40.1840.4141.35T:amastrid
53.1853.2353.31T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.333.36chacha8
3.833.843.89salsa208
4.084.164.22T:speck6496ctr
4.254.274.31chacha12
4.194.284.36T:speck64128ctr
4.724.754.83T:aes128ctr
4.844.894.95T:speck128192ctr
4.844.925.03T:speck128256ctr
4.884.944.98salsa2012
5.335.365.44T:speck128128ctr
5.805.815.84chacha20
5.945.955.97aes256ctr
7.027.067.12salsa20
8.068.168.42T:simon6496ctr
8.238.278.42T:trivium
8.648.738.86T:rabbit
9.009.099.27T:simon64128ctr
9.259.319.42T:snow20
10.1210.4110.70T:aes192ctr
11.0311.1111.19tango642
11.7311.8011.98T:cryptmtv3
12.6112.6912.81T:aes128estream
12.6612.7812.94T:simon128128ctr
13.0813.1413.25T:lexv2
13.1713.2213.34xsalsa20
14.3914.4714.59T:simon128256ctr
15.6215.8616.05T:nlsv2
18.4218.5518.69T:aes256estream
19.7819.8820.02T:sosemanuk
41.3141.5541.97T:tpy6
62.5863.0864.20T:panama
88.8689.5990.39T:tpypy
88.9490.0390.83T:tpy
106.81107.52108.19T:ocelot1
108.34108.81110.92T:ocelot2
111.94114.80116.31T:amastrid
193.23193.53193.83T:hc128
459.36459.94460.42T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
24.3825.1226.50T:speck6496ctr
26.2526.7527.38T:speck128256ctr
27.3828.0028.62T:speck128128ctr
28.5028.8829.38T:speck128192ctr
29.7529.7530.88T:speck64128ctr
32.7533.3834.00salsa208
33.75?34.75?39.00?chacha8
36.6236.7537.38T:aes128ctr
46.1246.5046.88aes256ctr
47.6247.7548.62chacha20
48.7549.2551.38salsa2012
51.2551.3852.00T:simon6496ctr
51.7551.8852.25chacha12
52.7553.2554.00T:rabbit
52.6253.3854.25T:trivium
57.2557.8859.25T:simon64128ctr
58.8859.3860.00T:aes128estream
67.0067.2568.00salsa20
67.1271.6272.62T:cryptmtv3
71.5072.1273.12T:aes256estream
73.1273.5074.88T:snow20
76.8877.2580.12T:lexv2
78.1279.1282.88T:aes192ctr
78.75?79.25?90.12?T:simon128128ctr
83.6284.0084.88tango642
87.6288.6290.00T:nlsv2
90.62?91.88?101.62?T:simon128256ctr
116.00116.62117.12xsalsa20
156.75157.62159.00T:sosemanuk
311.25312.50315.50T:tpy6
489.50493.38498.00T:panama
679.12683.38687.38T:tpypy
687.12689.12695.50T:tpy
729.75732.62737.75T:ocelot1
740.50745.88768.75T:amastrid
742.75746.25750.62T:ocelot2
1532.621534.621536.25T:hc128
3676.253687.753692.50T:hc256