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; Coffee Lake (806ea); 2018 Intel Core i3-8109U; 2 x 3000MHz; like, supercop-20240909

[Page version: 20241006 02:11:59]

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.36?0.54?1.22?chacha8
0.590.600.61salsa208
0.620.620.63T:aes128ctr
0.660.670.68tango642
0.750.750.75T:aes192ctr
0.750.750.77chacha12
0.840.850.86salsa2012
0.880.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.041.041.05T:speck64128ctr
1.171.181.19chacha20
1.231.241.25T:speck128128ctr
1.251.251.26T:speck128192ctr
1.291.301.31T:speck128256ctr
1.331.341.34salsa20
1.331.341.35xsalsa20
1.431.451.46T:simon6496ctr
1.501.521.53T:simon64128ctr
1.521.541.56T:hc128
1.931.931.94T:trivium
2.192.202.21T:simon128128ctr
2.342.352.36T:simon128256ctr
2.352.382.41T:hc256
2.482.492.51T:sosemanuk
2.492.512.54T:nlsv2
2.612.642.66T:cryptmtv3
2.562.642.73T:tpy
2.702.732.74T:rabbit
2.822.862.88T:snow20
2.852.902.97T:tpy6
2.882.922.95T:panama
4.084.104.11T:lexv2
4.144.204.25T:tpypy
8.328.358.37T:aes128estream
12.7912.8212.85T:aes256estream
17.5817.6517.71T:ocelot1
17.9618.2519.04T:ocelot2
31.3831.5031.95T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.56?0.56?1.07?chacha8
0.620.620.63salsa208
0.680.680.68T:aes128ctr
0.770.780.78chacha12
0.830.840.84tango642
0.860.870.87salsa2012
0.890.890.90T:aes192ctr
0.940.940.95aes256ctr
1.041.041.04T:speck6496ctr
1.081.081.08T:speck64128ctr
1.201.201.21chacha20
1.281.281.29T:speck128128ctr
1.301.301.30T:speck128192ctr
1.341.341.35T:speck128256ctr
1.351.361.36salsa20
1.451.461.46xsalsa20
1.641.651.66T:simon6496ctr
1.811.811.82T:simon64128ctr
2.032.032.03T:trivium
2.472.482.48T:simon128128ctr
2.642.652.66T:nlsv2
2.742.742.75T:sosemanuk
2.792.792.80T:simon128256ctr
2.812.832.83T:rabbit
2.912.942.95T:snow20
3.093.103.11T:cryptmtv3
3.493.513.54T:tpy6
3.863.873.89T:panama
4.004.024.06T:tpy
4.224.234.24T:lexv2
4.584.594.60T:hc128
5.515.555.57T:tpypy
8.418.428.43T:aes128estream
9.799.799.81T:hc256
12.8812.9012.92T:aes256estream
19.0419.0719.09T:ocelot1
19.6219.6420.19T:ocelot2
32.8632.9032.93T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.59?0.60?1.11?chacha8
0.650.660.66salsa208
0.770.770.78T:aes128ctr
0.820.820.83chacha12
0.900.900.91salsa2012
1.061.061.09aes256ctr
1.101.101.11T:speck6496ctr
1.111.121.15tango642
1.131.131.13T:aes192ctr
1.131.141.14T:speck64128ctr
1.231.241.25chacha20
1.361.361.36T:speck128128ctr
1.371.371.37T:speck128192ctr
1.391.401.41salsa20
1.401.411.41T:speck128256ctr
1.641.651.66xsalsa20
1.961.982.01T:simon6496ctr
2.202.202.21T:trivium
2.262.272.28T:simon64128ctr
2.892.902.93T:simon128128ctr
2.942.993.01T:nlsv2
3.003.013.03T:rabbit
3.043.063.08T:snow20
3.193.203.23T:sosemanuk
3.523.523.54T:simon128256ctr
4.364.374.40T:cryptmtv3
4.444.454.47T:lexv2
4.474.504.60T:tpy6
5.455.485.52T:panama
6.276.346.38T:tpy
7.807.867.95T:tpypy
8.518.528.54T:aes128estream
9.649.669.69T:hc128
13.0213.0413.05T:aes256estream
21.2921.3721.42T:ocelot1
22.0522.0822.57T:ocelot2
22.1122.1422.19T:hc256
34.8935.2135.88T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.84?0.85?1.29?chacha8
0.930.930.94salsa208
1.081.081.09T:aes128ctr
1.121.131.14chacha12
1.251.261.27salsa2012
1.361.361.37T:speck6496ctr
1.401.401.41T:speck64128ctr
1.441.441.44aes256ctr
1.631.641.66T:speck128128ctr
1.661.671.67T:speck128192ctr
1.691.701.71T:speck128256ctr
1.701.731.75chacha20
1.751.761.77T:aes192ctr
1.871.881.91tango642
1.951.961.98salsa20
2.622.632.64T:trivium
2.632.642.66xsalsa20
3.403.413.42T:simon6496ctr
3.433.443.47T:rabbit
3.443.453.50T:simon64128ctr
3.463.493.52T:snow20
3.753.853.87T:nlsv2
4.514.534.59T:sosemanuk
4.804.824.94T:cryptmtv3
5.085.085.13T:simon128128ctr
5.075.105.12T:lexv2
5.495.505.52T:simon128256ctr
7.067.207.30T:tpy6
8.838.868.90T:aes128estream
9.709.809.90T:panama
12.1912.2512.35T:tpy
13.3913.4213.47T:aes256estream
13.6113.7113.78T:tpypy
23.1823.2523.29T:hc128
27.4027.5227.60T:ocelot1
28.0228.3428.62T:ocelot2
41.1141.2341.74T:amastrid
55.0155.0955.19T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.343.39chacha8
3.833.843.89salsa208
4.064.164.23T:speck6496ctr
4.194.224.25chacha12
4.194.254.42T:speck64128ctr
4.484.534.55T:speck128128ctr
4.724.734.77T:aes128ctr
4.754.834.88T:speck128192ctr
4.844.914.92salsa2012
4.894.945.02T:speck128256ctr
5.955.955.98aes256ctr
6.066.096.14chacha20
7.057.097.12salsa20
8.058.128.25T:simon6496ctr
8.228.278.41T:trivium
8.628.698.84T:rabbit
8.708.808.89T:snow20
9.059.089.22T:simon64128ctr
10.0310.1110.27T:aes192ctr
10.20?10.31?11.56?T:cryptmtv3
11.4811.5211.59tango642
12.5812.6612.73T:aes128estream
12.7012.7313.00T:simon128128ctr
12.8112.9813.11T:lexv2
13.2213.3013.41xsalsa20
14.3614.4714.48T:simon128256ctr
16.2716.6116.80T:nlsv2
18.4518.5618.66T:aes256estream
19.8019.9120.05T:sosemanuk
40.8841.0541.20T:tpy6
62.4462.7263.34T:panama
89.0989.8090.61T:tpy
89.5689.8890.12T:tpypy
105.91106.75109.55T:ocelot1
106.61107.19107.89T:ocelot2
111.34116.09116.84T:amastrid
194.98195.33195.58T:hc128
475.69476.23477.27T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.5022.7524.00T:speck6496ctr
25.0025.6226.25T:speck128128ctr
25.8826.3827.12T:speck128192ctr
28.8829.0029.12T:speck64128ctr
33.7534.0034.25chacha8
36.6236.6237.12T:aes128ctr
38.7539.3839.62T:speck128256ctr
39.62?39.88?44.25?salsa208
43.0043.3843.88chacha12
46.1246.1246.62aes256ctr
48.5048.8849.38salsa2012
51.2552.1253.50T:simon6496ctr
52.2552.7553.75T:trivium
52.5053.1253.38T:rabbit
56.8858.0059.25T:simon64128ctr
58.7559.2559.88T:aes128estream
59.5059.8860.62salsa20
60.00?62.50?70.88?T:cryptmtv3
69.5070.2571.00T:snow20
71.7572.6273.25T:aes256estream
72.2572.6272.88chacha20
77.7578.6279.12T:lexv2
78.6279.6281.12T:simon128128ctr
79.3880.2584.75T:aes192ctr
80.7581.3882.62T:nlsv2
87.7588.2588.75tango642
90.2590.7591.88T:simon128256ctr
108.75109.38110.25xsalsa20
156.50157.62158.25T:sosemanuk
303.75306.62309.00T:tpy6
489.88493.88496.88T:panama
689.12690.00694.50T:tpypy
686.62693.25698.62T:tpy
737.62741.50746.62T:ocelot1
738.12750.00760.12T:ocelot2
742.00778.25780.00T:amastrid
1558.251559.881562.38T:hc128
3809.503817.503822.75T:hc256