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; Tremont (906c0); 2021 Intel Celeron N5105; 4 x 2000MHz; jasper3, 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.450.450.46T:aes192ctr
0.600.610.63T:aes128ctr
0.740.750.75aes256ctr
1.051.061.07tango642
1.331.341.35chacha8
1.851.861.87chacha12
2.012.032.04salsa208
2.242.272.29T:hc128
2.352.382.39T:sosemanuk
2.602.602.62T:cryptmtv3
2.902.922.94salsa2012
2.972.982.99chacha20
3.033.043.06T:speck6496ctr
3.103.143.17T:nlsv2
3.143.153.17T:speck64128ctr
3.073.183.31T:hc256
3.143.243.28T:tpy
3.223.263.30T:snow20
3.113.383.41T:tpy6
3.503.523.56T:panama
3.813.863.88T:trivium
4.214.284.30T:rabbit
4.374.374.38T:simon6496ctr
4.514.544.55T:speck128128ctr
4.614.614.62T:simon64128ctr
4.644.674.68T:speck128192ctr
4.714.724.74salsa20
4.714.734.74xsalsa20
4.804.824.83T:speck128256ctr
4.924.944.97T:lexv2
5.285.315.36T:tpypy
6.656.666.67T:simon128128ctr
7.097.157.22T:simon128256ctr
9.589.609.65T:aes128estream
14.4714.5014.53T:aes256estream
20.1420.3420.51T:ocelot1
21.0621.6422.36T:ocelot2
33.9635.3536.89T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.610.610.61T:aes192ctr
0.640.640.65T:aes128ctr
0.770.770.78aes256ctr
1.291.291.29tango642
1.351.351.36chacha8
1.881.881.88chacha12
2.042.042.05salsa208
2.932.942.95salsa2012
2.972.972.98T:sosemanuk
3.003.003.00chacha20
3.083.083.09T:speck6496ctr
3.183.183.20T:cryptmtv3
3.183.183.20T:speck64128ctr
3.283.303.32T:nlsv2
3.343.363.38T:snow20
3.773.933.95T:tpy6
3.994.024.03T:trivium
4.344.394.40T:rabbit
4.564.574.58T:speck128128ctr
4.584.594.61T:panama
4.624.624.62T:simon6496ctr
4.564.634.64T:tpy
4.704.704.70T:speck128192ctr
4.744.744.75salsa20
4.854.854.86T:speck128256ctr
4.894.894.90xsalsa20
4.995.005.00T:simon64128ctr
5.075.095.10T:lexv2
6.606.616.63T:tpypy
6.886.896.90T:hc128
7.027.037.03T:simon128128ctr
8.128.138.17T:simon128256ctr
9.689.699.72T:aes128estream
14.5914.6114.62T:aes256estream
14.9414.9915.05T:hc256
21.6821.7721.87T:ocelot1
22.8423.2523.64T:ocelot2
36.2937.2738.07T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.680.70T:aes128ctr
0.820.830.84aes256ctr
0.860.880.88T:aes192ctr
1.361.361.38chacha8
1.681.681.70tango642
1.911.911.92chacha12
2.062.072.08salsa208
2.962.972.98salsa2012
3.023.033.03chacha20
3.153.163.18T:speck6496ctr
3.243.243.27T:speck64128ctr
3.493.503.54T:snow20
3.593.613.63T:nlsv2
4.024.044.07T:sosemanuk
4.274.294.30T:trivium
4.564.564.58T:rabbit
4.604.624.65T:cryptmtv3
4.614.634.67T:speck128128ctr
4.744.764.79T:speck128192ctr
4.774.794.80salsa20
4.904.914.93T:speck128256ctr
4.784.934.96T:tpy6
5.045.045.06T:simon6496ctr
5.165.185.20xsalsa20
5.305.335.33T:lexv2
5.645.645.65T:simon64128ctr
6.366.386.40T:panama
6.856.936.98T:tpy
7.647.647.66T:simon128128ctr
8.788.838.88T:tpypy
9.799.809.83T:aes128estream
9.779.8210.01T:simon128256ctr
14.5614.6014.61T:hc128
14.7714.8114.84T:aes256estream
23.9924.0324.17T:ocelot1
25.3625.8125.95T:ocelot2
34.5434.6834.82T:hc256
40.4340.7240.96T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.85T:aes128ctr
0.991.011.07aes256ctr
1.501.511.52chacha8
1.601.601.62T:aes192ctr
2.112.122.13chacha12
2.282.292.32salsa208
2.692.702.74tango642
3.253.263.30T:speck6496ctr
3.243.273.28salsa2012
3.313.343.36chacha20
3.373.383.38T:speck64128ctr
4.004.044.10T:snow20
4.404.414.46T:nlsv2
4.824.834.88T:speck128128ctr
4.944.954.98T:speck128192ctr
4.944.964.97T:trivium
5.065.075.11T:rabbit
5.105.115.14T:speck128256ctr
5.145.165.18salsa20
5.375.395.40T:cryptmtv3
5.955.986.02T:lexv2
6.206.236.25xsalsa20
6.836.866.90T:sosemanuk
7.077.077.08T:simon6496ctr
7.407.427.60T:tpy6
10.0410.1010.14T:aes128estream
11.1311.1611.19T:panama
11.7611.8112.02T:simon64128ctr
11.8712.0512.43T:simon128128ctr
13.0313.1213.16T:tpy
14.3314.4914.69T:tpypy
15.1615.1915.25T:aes256estream
19.1919.2219.36T:simon128256ctr
29.9530.0330.38T:ocelot1
31.1231.3831.88T:ocelot2
35.0535.1435.19T:hc128
46.0947.6949.28T:amastrid
86.8887.1187.44T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.612.672.78T:aes128ctr
2.692.702.89chacha8
3.08?3.30?3.73?aes256ctr
3.673.693.70chacha12
4.454.474.52salsa208
4.924.985.02T:speck6496ctr
5.115.145.20T:speck64128ctr
5.705.755.80chacha20
5.845.885.88salsa2012
7.147.197.56T:speck128128ctr
7.287.337.48T:speck128192ctr
7.477.557.61T:speck128256ctr
8.598.778.77salsa20
10.0310.0510.09T:snow20
10.6210.7711.47T:aes192ctr
11.4811.5511.89T:rabbit
13.2813.3013.39T:simon6496ctr
13.3413.4513.50T:cryptmtv3
13.7013.7513.78T:trivium
13.9214.1214.28T:aes128estream
14.2214.4114.50T:lexv2
14.7714.8014.98T:simon64128ctr
15.8415.9116.19tango642
16.3816.8317.12T:nlsv2
18.1118.2218.41xsalsa20
19.7219.9120.06T:aes256estream
21.4821.5521.97T:simon128128ctr
24.1924.2224.33T:simon128256ctr
38.3338.4738.72T:sosemanuk
41.3141.6141.94T:tpy6
71.5871.8172.00T:panama
89.3989.5890.06T:tpypy
92.0592.5892.95T:tpy
108.33108.52109.09T:ocelot1
109.66110.34111.09T:ocelot2
133.41135.27136.19T:amastrid
297.62297.84298.27T:hc128
757.84759.78765.56T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.5020.7521.00T:aes128ctr
23.62?23.62?26.88?chacha8
24.3825.1225.25aes256ctr
28.50?28.62?32.12?T:speck128192ctr
28.62?29.00?32.88?T:speck128128ctr
28.38?29.50?31.88?T:speck64128ctr
29.00?29.50?32.62?T:speck128256ctr
29.0030.5031.50T:speck6496ctr
31.5031.6234.88chacha12
43.0043.0044.00salsa208
47.7548.0051.00chacha20
57.3857.6260.62salsa2012
61.5062.1262.12T:simon6496ctr
65.5066.6267.38T:aes128estream
68.3869.0073.62T:rabbit
71.7572.1273.50T:simon64128ctr
72.5073.6274.62T:aes256estream
79.6280.0081.38T:snow20
81.6282.1282.62T:trivium
81.6283.3889.00T:aes192ctr
84.2584.7586.00T:cryptmtv3
84.3885.1287.25T:lexv2
86.0089.1291.00salsa20
94.5094.7594.75T:nlsv2
111.25115.62119.62T:simon128128ctr
120.12120.12126.12tango642
121.12124.50127.38T:simon128256ctr
164.25165.88168.25xsalsa20
307.12308.50310.38T:sosemanuk
308.88309.88313.75T:tpy6
558.50563.38567.12T:panama
675.88682.00686.25T:tpypy
717.38721.25723.12T:tpy
724.50728.38740.50T:ocelot1
745.12?763.12?840.88?T:ocelot2
889.00898.38914.50T:amastrid
2380.382384.122386.88T:hc128
6047.126072.006090.00T:hc256