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; Golden Cove (906a4-40); 2022 Intel Core i3-1215U, P cores; 2 x 1600MHz; alder2,1f626960,5600000, 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.280.290.29aes256ctr
0.330.340.34T:aes128ctr
0.410.410.41T:aes192ctr
0.43?0.46?0.49?tango642
0.560.580.59chacha8
0.580.610.63salsa208
0.800.810.83chacha12
0.850.860.87salsa2012
1.021.031.03T:speck6496ctr
1.051.061.06T:speck64128ctr
1.04?1.15?1.53?T:hc128
1.251.251.27T:speck128128ctr
1.261.271.29chacha20
1.291.301.31T:speck128192ctr
1.321.331.35T:speck128256ctr
1.371.381.40xsalsa20
1.371.391.40salsa20
1.09?1.44?1.63?T:hc256
1.591.641.75T:sosemanuk
1.601.661.76T:tpy
1.58?1.66?1.76?T:nlsv2
1.57?1.69?1.87?T:snow20
1.751.771.79T:panama
1.791.801.81T:simon6496ctr
1.851.861.88T:simon64128ctr
1.881.891.90T:trivium
1.92?1.97?2.15?T:rabbit
2.002.082.18T:tpy6
2.362.392.40T:cryptmtv3
2.622.682.80T:tpypy
2.782.802.81T:simon128128ctr
2.932.952.97T:simon128256ctr
3.553.603.62T:lexv2
7.297.317.34T:aes128estream
11.0111.0611.12T:aes256estream
12.2512.5412.91T:ocelot2
14.0514.3414.89T:ocelot1
21.8823.0823.48T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.340.340.34aes256ctr
0.370.380.38T:aes128ctr
0.510.510.51T:aes192ctr
0.570.580.59chacha8
0.580.590.60tango642
0.600.610.63salsa208
0.810.810.82chacha12
0.860.860.87salsa2012
1.041.041.05T:speck6496ctr
1.081.081.08T:speck64128ctr
1.271.271.28chacha20
1.281.281.29T:speck128128ctr
1.321.321.33T:speck128192ctr
1.361.361.37T:speck128256ctr
1.381.391.40salsa20
1.461.461.48xsalsa20
1.721.741.87T:snow20
1.831.831.88T:nlsv2
1.851.881.95T:sosemanuk
1.951.961.96T:simon6496ctr
1.981.981.99T:trivium
2.002.022.15T:rabbit
2.102.112.12T:simon64128ctr
2.302.312.32T:panama
2.632.672.73T:tpy6
2.842.852.86T:cryptmtv3
3.043.053.05T:simon128128ctr
3.143.173.23T:tpy
3.333.343.34T:simon128256ctr
3.653.663.93T:hc128
3.673.693.70T:lexv2
4.094.124.17T:tpypy
7.347.357.37T:aes128estream
7.387.597.65T:hc256
11.1411.1611.18T:aes256estream
14.0114.1114.29T:ocelot2
15.6215.7316.09T:ocelot1
23.2623.8824.07T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.420.420.43aes256ctr
0.440.440.46T:aes128ctr
0.580.590.60chacha8
0.620.630.64salsa208
0.670.670.67T:aes192ctr
0.770.780.81tango642
0.810.820.83chacha12
0.870.870.89salsa2012
1.071.081.09T:speck6496ctr
1.111.121.13T:speck64128ctr
1.271.291.30chacha20
1.331.331.35T:speck128128ctr
1.361.371.38T:speck128192ctr
1.381.401.41salsa20
1.401.411.42T:speck128256ctr
1.601.621.63xsalsa20
1.831.851.86T:snow20
2.122.122.13T:trivium
2.112.142.17T:rabbit
2.212.232.24T:simon6496ctr
2.262.272.28T:sosemanuk
2.21?2.28?2.47?T:nlsv2
2.512.522.53T:simon64128ctr
3.173.193.25T:panama
3.433.453.47T:simon128128ctr
3.583.603.70T:tpy6
3.813.833.87T:lexv2
3.943.954.01T:cryptmtv3
3.973.983.99T:simon128256ctr
5.695.735.79T:tpy
6.376.456.61T:tpypy
7.387.407.43T:aes128estream
7.777.817.96T:hc128
11.2611.2911.37T:aes256estream
16.2716.5016.88T:ocelot2
17.7617.7817.85T:hc256
17.8418.1318.49T:ocelot1
25.3425.6125.87T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.630.650.68T:aes128ctr
0.700.710.76aes256ctr
0.700.720.75chacha8
0.78?0.80?0.87?salsa208
1.021.031.05chacha12
1.091.101.11T:aes192ctr
1.131.151.17salsa2012
1.191.201.22T:speck6496ctr
1.241.261.27T:speck64128ctr
1.311.331.40tango642
1.521.521.54T:speck128128ctr
1.541.551.56T:speck128192ctr
1.591.611.61T:speck128256ctr
1.671.691.70chacha20
1.811.841.86salsa20
2.092.102.20T:snow20
2.322.352.48T:rabbit
2.402.432.45xsalsa20
2.512.522.52T:trivium
2.842.963.14T:nlsv2
3.163.173.23T:simon64128ctr
3.423.443.46T:sosemanuk
3.433.453.47T:simon6496ctr
4.314.414.43T:lexv2
4.444.464.48T:cryptmtv3
4.804.824.84T:simon128128ctr
5.205.225.24T:simon128256ctr
5.405.495.55T:panama
6.366.546.69T:tpy6
7.557.597.64T:aes128estream
11.5611.6211.70T:aes256estream
12.0612.2012.27T:tpy
12.7212.8112.91T:tpypy
18.8318.8518.94T:hc128
21.04?22.12?24.29?T:ocelot1
22.6723.4324.19T:ocelot2
29.5230.1831.80T:amastrid
44.4444.9745.19T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.552.592.67T:speck6496ctr
2.702.752.81T:speck64128ctr
2.782.842.89chacha8
3.003.113.20salsa208
3.193.283.47T:aes128ctr
3.383.453.55T:speck128192ctr
3.443.563.66T:speck128128ctr
3.523.583.62T:speck128256ctr
3.913.974.06chacha12
4.174.254.38aes256ctr
4.194.304.47salsa2012
5.415.585.95T:rabbit
5.805.926.30T:snow20
5.945.986.05chacha20
6.226.306.44salsa20
6.706.816.94T:simon6496ctr
7.457.567.67T:simon64128ctr
7.507.587.67T:trivium
7.697.778.02T:aes192ctr
8.118.198.34tango642
8.178.338.45T:cryptmtv3
9.029.179.38T:lexv2
9.729.8610.02T:aes128estream
11.1211.2511.36xsalsa20
11.1911.3311.50T:simon128128ctr
12.8912.9813.11T:simon128256ctr
14.5514.9815.30T:nlsv2
15.1615.3915.55T:aes256estream
17.1617.2317.41T:sosemanuk
35.3836.5637.47T:panama
40.8140.9841.14T:tpy6
86.6188.5989.14T:tpy
92.9294.2795.67T:tpypy
87.95?95.23?103.61?T:amastrid
97.2799.94104.72T:ocelot1
98.25101.61107.12T:ocelot2
160.12160.47161.02T:hc128
390.11396.64399.05T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.2513.7514.38T:speck6496ctr
14.0014.6215.12T:speck64128ctr
15.7516.2516.75T:speck128128ctr
16.5017.1217.50T:speck128192ctr
17.5018.0018.38T:speck128256ctr
26.2526.6227.38T:aes128ctr
29.0029.3829.75salsa2012
29.3830.1231.12chacha8
32.50?33.38?36.88?T:rabbit
33.3833.7534.00salsa208
33.5034.0034.75aes256ctr
35.7536.3837.12T:aes128estream
38.3839.0039.50T:simon6496ctr
43.5044.1245.25T:simon64128ctr
46.2546.6247.12T:trivium
46.3847.1248.12T:cryptmtv3
46.7547.5049.88T:snow20
48.7549.6249.88chacha12
50.0051.0051.62T:lexv2
52.7553.7555.25salsa20
56.0056.8857.50T:aes256estream
58.0058.7559.50chacha20
61.6262.3863.50T:aes192ctr
62.0062.6263.12tango642
64.12?68.25?74.12?T:nlsv2
68.0068.6269.38T:simon128128ctr
79.5080.1280.88T:simon128256ctr
90.0091.0091.75xsalsa20
137.75138.25139.62T:sosemanuk
280.25282.62288.62T:panama
311.88314.00327.38T:tpy6
588.12602.25646.62T:amastrid
684.88699.62724.38T:ocelot1
718.62723.88755.00T:tpypy
737.00755.25788.25T:tpy
729.00759.88781.00T:ocelot2
1279.621282.251287.25T:hc128
3122.503138.503156.00T:hc256