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; know, supercop-20240909

[Page version: 20240912 11:46:14]

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.54chacha8
0.600.600.61salsa208
0.620.640.64T:aes128ctr
0.710.730.74tango642
0.750.760.76chacha12
0.750.770.80T:aes192ctr
0.840.850.85salsa2012
0.880.880.89aes256ctr
1.001.001.01T:speck6496ctr
1.051.051.06T:speck64128ctr
1.181.191.20chacha20
1.231.241.25T:speck128128ctr
1.261.271.28T:speck128192ctr
1.291.301.31T:speck128256ctr
1.331.341.35xsalsa20
1.331.341.35salsa20
1.731.761.77T:hc128
1.831.851.86T:sosemanuk
1.921.931.93T:trivium
1.972.032.08T:tpy
2.222.272.29T:simon128128ctr
2.252.282.32T:tpy6
2.272.302.34T:hc256
2.302.312.31T:simon64128ctr
2.352.432.44T:simon6496ctr
2.412.432.44T:simon128256ctr
2.442.472.49T:nlsv2
2.672.682.69T:cryptmtv3
2.732.752.77T:rabbit
2.792.812.83T:snow20
2.912.922.96T:panama
3.263.303.35T:tpypy
4.074.094.12T:lexv2
8.338.358.38T:aes128estream
13.1813.2313.27T:aes256estream
17.1617.2017.31T:ocelot1
18.9819.0519.50T:ocelot2
33.5934.1834.60T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.560.56chacha8
0.620.620.63salsa208
0.680.690.69T:aes128ctr
0.770.780.78chacha12
0.860.870.87salsa2012
0.890.890.90tango642
0.950.950.95aes256ctr
1.041.041.04T:speck6496ctr
1.091.091.10T:speck64128ctr
1.101.111.11T:aes192ctr
1.211.221.22chacha20
1.281.281.29T:speck128128ctr
1.311.311.32T:speck128192ctr
1.341.351.35T:speck128256ctr
1.361.361.37salsa20
1.451.461.46xsalsa20
2.022.032.03T:trivium
2.362.362.37T:sosemanuk
2.532.562.57T:simon128128ctr
2.632.642.64T:nlsv2
2.692.692.70T:simon64128ctr
2.692.692.70T:simon6496ctr
2.832.852.85T:rabbit
2.872.872.88T:simon128256ctr
2.902.922.93T:snow20
2.902.922.94T:tpy6
3.173.183.18T:cryptmtv3
3.393.403.42T:tpy
3.863.873.89T:panama
4.224.234.24T:lexv2
4.584.594.60T:hc128
4.654.664.69T:tpypy
8.418.428.43T:aes128estream
9.419.439.44T:hc256
13.3213.3413.36T:aes256estream
18.6218.6418.66T:ocelot1
20.5620.5820.91T:ocelot2
35.1035.4435.68T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.600.60chacha8
0.650.660.66salsa208
0.770.770.78T:aes128ctr
0.810.820.82chacha12
0.900.900.91salsa2012
1.061.061.06aes256ctr
1.101.111.11T:speck6496ctr
1.151.151.16T:speck64128ctr
1.151.171.20tango642
1.251.261.27chacha20
1.351.351.36T:speck128128ctr
1.381.381.38T:speck128192ctr
1.391.401.41salsa20
1.421.421.42T:speck128256ctr
1.611.621.65T:aes192ctr
1.651.651.66xsalsa20
2.192.202.20T:trivium
2.942.973.01T:nlsv2
3.003.013.02T:rabbit
3.013.023.03T:simon128128ctr
3.083.093.11T:snow20
3.113.113.12T:simon6496ctr
3.263.273.28T:sosemanuk
3.313.323.33T:simon64128ctr
3.583.593.60T:simon128256ctr
3.943.994.05T:tpy6
4.394.404.41T:cryptmtv3
4.444.464.48T:lexv2
5.435.445.46T:panama
5.615.715.76T:tpy
6.857.037.10T:tpypy
8.518.528.53T:aes128estream
9.289.309.32T:hc128
13.4913.5213.54T:aes256estream
21.0021.0221.06T:ocelot1
21.2521.2721.30T:hc256
22.8922.9423.30T:ocelot2
37.7837.8938.06T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.85chacha8
0.930.940.95salsa208
1.081.081.09T:aes128ctr
1.121.121.13chacha12
1.261.281.29salsa2012
1.341.351.36T:speck6496ctr
1.421.431.45T:speck64128ctr
1.441.441.45aes256ctr
1.631.631.64T:speck128128ctr
1.671.671.68T:speck128192ctr
1.721.731.74chacha20
1.731.741.75T:speck128256ctr
1.911.931.95tango642
1.931.951.97salsa20
2.622.632.64T:trivium
2.642.652.68xsalsa20
3.053.073.12T:aes192ctr
3.353.353.37T:simon64128ctr
3.423.443.46T:rabbit
3.513.533.57T:snow20
3.753.913.94T:nlsv2
4.724.765.10T:simon6496ctr
4.884.894.91T:simon128128ctr
5.055.065.11T:cryptmtv3
5.075.105.11T:lexv2
5.255.265.27T:simon128256ctr
5.695.715.73T:sosemanuk
6.496.776.83T:tpy6
8.798.818.84T:aes128estream
9.579.649.77T:panama
11.7911.9012.03T:tpy
12.9713.1013.20T:tpypy
13.9614.0114.04T:aes256estream
21.9021.9522.00T:hc128
26.9927.1327.26T:ocelot1
29.2429.3929.61T:ocelot2
43.6643.8544.07T:amastrid
52.7952.8752.94T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.343.38chacha8
3.783.833.86T:speck6496ctr
3.833.883.95salsa208
4.234.254.27chacha12
4.204.284.31T:speck64128ctr
4.454.534.66T:speck128128ctr
4.704.734.80T:aes128ctr
4.784.804.84T:speck128192ctr
4.914.924.95salsa2012
4.864.945.02T:speck128256ctr
5.775.805.84chacha20
5.915.955.97aes256ctr
7.007.057.08salsa20
8.208.238.28T:trivium
8.118.288.56T:simon6496ctr
8.338.388.45T:rabbit
9.169.279.39T:snow20
9.599.669.80T:simon64128ctr
11.6411.7512.20tango642
11.8411.9212.14T:cryptmtv3
12.5012.6212.80T:simon128128ctr
12.5912.6912.80T:aes128estream
12.9813.3113.41T:lexv2
13.3813.4713.55xsalsa20
14.0914.1714.30T:simon128256ctr
15.5515.6916.28T:nlsv2
19.7519.8319.94T:aes256estream
21.3121.5522.00T:aes192ctr
33.5933.7733.92T:sosemanuk
40.3140.8041.53T:tpy6
62.3062.6462.88T:panama
88.6689.5591.17T:tpy
89.4889.9190.09T:tpypy
103.62104.70110.14T:ocelot1
105.84110.59112.25T:ocelot2
118.61118.97120.02T:amastrid
183.16183.55183.88T:hc128
455.34455.86456.55T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.3821.6222.38T:speck6496ctr
26.1227.1227.50T:speck128192ctr
26.7527.1227.38T:speck128256ctr
27.0027.2527.50T:speck128128ctr
24.62?28.12?29.12?T:speck64128ctr
36.1236.3836.62T:aes128ctr
38.3838.7539.00chacha8
45.5046.1247.12salsa208
46.5046.7546.88aes256ctr
47.3847.8848.12chacha20
48.0048.3848.62chacha12
51.2551.7552.38T:rabbit
52.2552.6252.88T:trivium
52.5052.8853.38T:simon6496ctr
55.3855.6256.25salsa2012
58.3859.0059.38T:aes128estream
64.0064.7565.38T:simon64128ctr
72.1272.6274.38T:cryptmtv3
72.7573.5074.38T:snow20
77.6278.3879.38T:lexv2
77.7578.5079.50T:simon128128ctr
78.3878.6279.38salsa20
80.2580.5080.88T:aes256estream
85.7586.7592.38T:nlsv2
88.1289.5090.38tango642
88.6289.5090.50T:simon128256ctr
129.00130.12131.38xsalsa20
169.00170.38173.75T:aes192ctr
268.75270.38271.00T:sosemanuk
311.75317.25318.75T:tpy6
491.00493.12494.38T:panama
700.00703.12708.38T:tpypy
702.50706.75717.50T:tpy
719.12729.88762.25T:ocelot1
726.88734.50744.62T:ocelot2
776.00777.12782.00T:amastrid
1466.251467.751469.88T:hc128
3642.253646.253654.38T:hc256