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,big, supercop-20250922

[Page version: 20251010 17:33:03]

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.260.270.28aes256ctr
0.340.350.35T:aes128ctr
0.40?0.43?0.48?T:aes192ctr
0.430.460.47tango642
0.540.550.56chacha8
0.590.610.62salsa208
0.750.770.79chacha12
0.850.860.88salsa2012
1.021.031.04T:speck6496ctr
1.061.071.08T:speck64128ctr
1.211.221.23chacha20
1.251.261.28T:speck128128ctr
1.11?1.28?1.50?T:tpy
1.281.291.31T:speck128192ctr
1.321.331.34T:speck128256ctr
1.361.371.39xsalsa20
1.361.381.40salsa20
1.23?1.43?1.60?T:hc128
1.531.571.62T:hc256
1.661.691.72T:nlsv2
1.691.711.72T:simon6496ctr
1.691.751.81T:sosemanuk
1.74?1.77?2.00?T:snow20
1.771.781.80T:simon64128ctr
1.65?1.79?2.04?T:tpy6
1.771.801.87T:panama
1.77?1.97?2.08?T:tpypy
1.961.971.98T:trivium
1.94?2.15?2.18?T:rabbit
2.332.352.36T:cryptmtv3
2.582.602.62T:simon128128ctr
2.912.942.96T:simon128256ctr
3.593.623.64T:lexv2
7.287.317.33T:aes128estream
11.2911.3111.35T:aes256estream
11.76?12.30?13.91?T:ocelot1
12.4512.9213.32T:ocelot2
23.0023.2823.59T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.320.320.32aes256ctr
0.380.380.38T:aes128ctr
0.550.560.56chacha8
0.570.570.58tango642
0.600.610.62salsa208
0.640.650.67T:aes192ctr
0.770.770.78chacha12
0.860.870.88salsa2012
1.051.051.06T:speck6496ctr
1.091.091.10T:speck64128ctr
1.211.221.23chacha20
1.291.291.30T:speck128128ctr
1.311.321.33T:speck128192ctr
1.361.361.37T:speck128256ctr
1.371.381.40salsa20
1.461.471.48xsalsa20
1.831.852.00T:snow20
1.851.871.88T:nlsv2
1.901.911.91T:simon6496ctr
1.941.972.02T:sosemanuk
2.062.062.06T:trivium
2.082.082.09T:simon64128ctr
2.042.162.17T:rabbit
2.312.332.37T:panama
2.342.422.58T:tpy6
2.662.692.73T:tpy
2.842.852.85T:cryptmtv3
2.912.922.93T:simon128128ctr
3.353.353.37T:simon128256ctr
3.433.523.56T:tpypy
3.703.713.72T:lexv2
3.733.803.87T:hc128
7.347.357.36T:aes128estream
7.417.447.46T:hc256
11.3711.3811.40T:aes256estream
13.0413.2414.39T:ocelot1
13.4813.7313.92T:ocelot2
24.4324.5424.70T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.380.390.42aes256ctr
0.430.430.44T:aes128ctr
0.560.560.57chacha8
0.610.620.63salsa208
0.760.760.77tango642
0.770.790.80chacha12
0.870.880.89salsa2012
1.011.051.10T:aes192ctr
1.081.091.09T:speck6496ctr
1.111.121.12T:speck64128ctr
1.221.231.24chacha20
1.331.341.35T:speck128128ctr
1.351.361.37T:speck128192ctr
1.381.391.41salsa20
1.401.411.42T:speck128256ctr
1.611.621.64xsalsa20
1.892.012.01T:snow20
2.202.202.21T:trivium
2.182.212.23T:nlsv2
2.222.232.25T:simon6496ctr
2.162.262.29T:rabbit
2.342.352.37T:sosemanuk
2.572.582.60T:simon64128ctr
3.183.203.24T:panama
3.273.353.49T:tpy6
3.443.453.48T:simon128128ctr
3.853.863.90T:lexv2
4.014.034.05T:cryptmtv3
4.024.044.08T:simon128256ctr
5.105.165.28T:tpy
6.096.246.40T:tpypy
7.407.417.43T:aes128estream
7.497.637.74T:hc128
11.4611.4811.52T:aes256estream
14.7215.1315.44T:ocelot2
15.0215.3215.76T:ocelot1
17.1017.1617.21T:hc256
26.3227.0127.40T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.620.620.67T:aes128ctr
0.670.680.69chacha8
0.670.690.73aes256ctr
0.780.800.81salsa208
0.970.980.99chacha12
1.121.141.15salsa2012
1.221.231.24T:speck6496ctr
1.271.281.30T:speck64128ctr
1.271.311.39tango642
1.501.521.53T:speck128128ctr
1.541.551.56T:speck128192ctr
1.591.601.62chacha20
1.601.611.62T:speck128256ctr
1.821.831.86salsa20
1.901.952.04T:aes192ctr
2.132.192.24T:snow20
2.422.452.53xsalsa20
2.402.472.53T:rabbit
2.592.602.61T:trivium
3.12?3.21?3.48?T:nlsv2
3.213.223.24T:simon64128ctr
3.523.543.57T:sosemanuk
3.653.683.71T:simon6496ctr
4.244.274.38T:lexv2
4.534.554.57T:cryptmtv3
4.914.934.95T:simon128128ctr
5.225.235.24T:simon128256ctr
5.465.495.55T:panama
6.066.166.31T:tpy6
7.557.587.62T:aes128estream
11.7111.7611.88T:aes256estream
11.7012.2912.46T:tpy
12.6812.9613.44T:tpypy
17.9318.2518.42T:hc128
18.3518.7819.47T:ocelot2
18.8619.5519.94T:ocelot1
31.4832.8133.66T:amastrid
43.1543.2743.84T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.592.662.75T:speck64128ctr
2.562.692.77T:speck6496ctr
2.662.752.78chacha8
2.973.053.14salsa208
3.143.233.41T:aes128ctr
3.283.313.38T:speck128128ctr
3.393.443.48T:speck128192ctr
3.593.643.70T:speck128256ctr
3.643.703.80chacha12
4.02?4.12?4.47?aes256ctr
4.024.174.31salsa2012
5.305.415.66T:rabbit
5.615.725.75chacha20
5.846.026.41T:snow20
6.196.276.33salsa20
6.887.007.19T:simon6496ctr
7.557.627.67T:trivium
7.587.697.78tango642
7.988.038.16T:simon64128ctr
8.148.258.33T:cryptmtv3
9.479.599.77T:lexv2
9.789.8410.03T:aes128estream
11.4511.5611.66xsalsa20
11.7311.8111.95T:simon128128ctr
12.7012.8613.02T:simon128256ctr
14.0214.1715.28T:aes192ctr
15.3815.5016.73T:aes256estream
17.4717.6217.70T:sosemanuk
17.8418.3418.56T:nlsv2
34.8135.2536.17T:panama
40.1140.3040.55T:tpy6
58.38?60.80?66.27?T:ocelot2
61.03?66.31?70.80?T:ocelot1
92.3993.7897.91T:amastrid
95.5698.08103.73T:tpy
94.52?102.75?105.62?T:tpypy
152.12152.47153.09T:hc128
374.98377.75378.39T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.8813.2513.50T:speck64128ctr
13.5014.1214.62T:speck6496ctr
15.38?16.25?17.25?T:speck128128ctr
17.6218.0018.62T:speck128256ctr
18.2518.8819.25T:speck128192ctr
25.8826.6227.25T:aes128ctr
30.0030.7531.75salsa208
32.7533.2533.62aes256ctr
34.1234.7535.75chacha8
31.50?35.50?36.75?T:rabbit
35.7536.1236.88T:aes128estream
38.0039.3840.50salsa2012
39.0039.5040.00T:simon6496ctr
43.0043.6244.38chacha12
46.2546.7547.12T:trivium
46.7547.0047.38T:simon64128ctr
46.5047.5047.88T:cryptmtv3
47.1248.1251.88T:snow20
51.7552.6255.00salsa20
52.6254.0054.88T:lexv2
56.62?58.12?66.00?T:aes256estream
58.2558.8860.25tango642
62.2563.3864.25chacha20
68.5069.3870.62T:simon128128ctr
76.2576.7577.38T:simon128256ctr
90.6293.1295.38T:nlsv2
93.3894.3896.12xsalsa20
114.50115.00124.50T:aes192ctr
139.62140.75142.00T:sosemanuk
273.88279.12284.62T:panama
313.00316.00319.38T:tpy6
354.75374.25392.25T:ocelot1
388.88?420.62?475.00?T:ocelot2
610.25624.00660.88T:amastrid
737.62780.38796.75T:tpy
815.00828.00846.88T:tpypy
1214.501216.251220.75T:hc128
2993.623007.623041.50T:hc256