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; Kaby Lake (906e9); 2017 Intel Xeon E3-1220 v6; 4 x 3000MHz; kizomba, supercop-20251222

[Page version: 20260113 16:30:36]

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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.520.520.53chacha8
0.600.610.61salsa208
0.630.630.63T:aes128ctr
0.680.700.71tango642
0.730.730.74chacha12
0.770.800.81T:aes192ctr
0.840.850.88salsa2012
0.870.880.92aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.04T:speck64128ctr
1.131.141.15chacha20
1.231.241.24T:speck128128ctr
1.251.261.26T:speck128192ctr
1.291.291.30T:speck128256ctr
1.341.351.38xsalsa20
1.351.371.38salsa20
1.481.491.49T:simon6496ctr
1.531.531.55T:simon64128ctr
1.691.721.74T:tpy
1.771.781.78T:hc128
1.801.821.83T:sosemanuk
1.871.921.92T:trivium
1.992.002.01T:nlsv2
1.992.042.11T:tpy6
2.172.182.19T:simon128128ctr
2.242.292.37T:simon128256ctr
2.452.462.48T:hc256
2.472.482.49T:cryptmtv3
2.642.702.74T:tpypy
2.742.772.79T:snow20
2.762.782.79T:rabbit
2.842.862.89T:panama
4.094.124.13T:lexv2
8.338.368.38T:aes128estream
12.8512.8912.99T:aes256estream
16.9317.1617.31T:ocelot1
18.1018.2818.83T:ocelot2
31.1932.3432.98T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.540.55chacha8
0.620.630.63salsa208
0.680.680.68T:aes128ctr
0.750.750.76chacha12
0.850.860.87tango642
0.870.880.90salsa2012
0.950.950.98aes256ctr
1.041.041.04T:speck6496ctr
1.081.081.08T:speck64128ctr
1.141.151.16T:aes192ctr
1.161.161.17chacha20
1.281.281.28T:speck128128ctr
1.301.301.31T:speck128192ctr
1.341.341.34T:speck128256ctr
1.381.391.39salsa20
1.471.481.49xsalsa20
1.711.711.71T:simon6496ctr
1.901.901.90T:simon64128ctr
1.982.012.02T:trivium
2.132.142.14T:nlsv2
2.332.342.34T:sosemanuk
2.462.462.47T:simon128128ctr
2.572.582.62T:tpy6
2.742.752.81T:simon128256ctr
2.852.862.87T:snow20
2.872.872.88T:rabbit
2.962.972.97T:cryptmtv3
3.063.073.08T:tpy
3.803.813.83T:panama
4.034.064.08T:tpypy
4.244.254.26T:lexv2
4.584.584.58T:hc128
8.418.428.44T:aes128estream
9.689.699.69T:hc256
12.9913.0113.07T:aes256estream
18.4718.5718.64T:ocelot1
19.2319.2619.65T:ocelot2
32.9633.6933.98T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.590.59chacha8
0.660.670.67salsa208
0.780.790.79T:aes128ctr
0.790.800.80chacha12
0.920.930.94salsa2012
1.061.061.09aes256ctr
1.101.101.11T:speck6496ctr
1.111.121.13tango642
1.141.141.15T:speck64128ctr
1.191.201.21chacha20
1.351.351.36T:speck128128ctr
1.381.381.38T:speck128192ctr
1.421.421.42T:speck128256ctr
1.421.431.46salsa20
1.681.691.71xsalsa20
1.711.721.75T:aes192ctr
2.082.082.09T:simon6496ctr
2.162.192.19T:trivium
2.412.422.43T:nlsv2
2.492.502.51T:simon64128ctr
2.882.892.90T:simon128128ctr
3.003.013.02T:snow20
3.033.043.05T:rabbit
3.233.243.25T:sosemanuk
3.413.453.49T:tpy6
3.513.523.59T:simon128256ctr
4.274.284.28T:cryptmtv3
4.474.484.49T:lexv2
5.255.265.29T:tpy
5.385.405.41T:panama
6.216.246.27T:tpypy
8.508.538.54T:aes128estream
9.239.239.24T:hc128
13.1913.2213.24T:aes256estream
20.7620.8020.99T:ocelot1
20.8420.9521.22T:ocelot2
21.7021.7221.74T:hc256
35.7536.2036.42T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.820.83chacha8
0.940.940.95salsa208
1.081.081.08T:aes128ctr
1.101.111.12chacha12
1.281.301.32salsa2012
1.351.351.36T:speck6496ctr
1.391.401.41T:speck64128ctr
1.441.461.47aes256ctr
1.631.641.65T:speck128128ctr
1.671.681.70chacha20
1.681.681.69T:speck128192ctr
1.721.731.74T:speck128256ctr
1.811.831.93tango642
1.971.971.99salsa20
2.612.612.62T:trivium
2.702.722.73xsalsa20
3.163.183.20T:nlsv2
3.323.343.40T:aes192ctr
3.383.393.41T:simon64128ctr
3.403.423.45T:snow20
3.463.483.50T:rabbit
3.723.733.75T:simon6496ctr
4.734.744.76T:cryptmtv3
4.944.954.97T:simon128128ctr
5.065.085.11T:lexv2
5.355.375.41T:simon128256ctr
5.665.685.72T:sosemanuk
5.956.026.10T:tpy6
8.828.878.89T:aes128estream
9.569.619.73T:panama
11.1911.2611.55T:tpy
12.3212.3612.40T:tpypy
13.7113.7613.81T:aes256estream
21.7321.7421.76T:hc128
25.0725.1725.33T:ocelot2
26.8827.2627.40T:ocelot1
41.7242.1742.52T:amastrid
53.8153.8753.92T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.303.303.33chacha8
3.813.833.88salsa208
3.803.843.92T:speck6496ctr
3.954.054.12T:speck64128ctr
4.204.224.23chacha12
4.534.554.61T:speck128128ctr
4.694.734.75T:aes128ctr
4.804.864.97T:speck128192ctr
4.924.944.98salsa2012
5.005.025.16T:speck128256ctr
5.755.846.05aes256ctr
6.066.086.14chacha20
7.037.117.19salsa20
8.068.148.20T:simon6496ctr
8.168.198.23T:trivium
8.538.588.61T:rabbit
8.678.919.11T:snow20
9.489.569.67T:simon64128ctr
10.2210.2810.38T:cryptmtv3
10.8410.8910.97tango642
12.6112.7212.78T:aes128estream
12.6612.7513.00T:lexv2
13.0613.0913.36T:simon128128ctr
13.6713.7213.81xsalsa20
14.4414.5314.64T:nlsv2
14.8814.9215.23T:simon128256ctr
18.3618.4818.59T:aes256estream
23.9424.0624.30T:aes192ctr
33.3433.4733.64T:sosemanuk
38.1638.3138.59T:tpy6
62.2262.6963.53T:panama
78.1179.3180.52T:ocelot2
87.5687.8489.27T:tpy
88.2088.3088.41T:tpypy
103.61105.61106.72T:ocelot1
117.89118.62119.86T:amastrid
181.47181.62181.77T:hc128
464.72464.97465.48T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.2521.7522.00T:speck6496ctr
21.3821.7522.25T:speck64128ctr
25.1225.3826.12T:speck128128ctr
26.2526.6227.50T:speck128256ctr
26.3826.7527.25T:speck128192ctr
34.2534.3834.50chacha8
36.6237.0037.88T:aes128ctr
37.5037.8838.25salsa208
46.0046.3847.25aes256ctr
49.8850.1250.50chacha12
51.2551.7552.12T:simon6496ctr
52.3852.6252.88T:trivium
52.6252.8853.12T:rabbit
54.8855.2555.62salsa2012
58.8859.1259.38T:aes128estream
59.7559.8860.12chacha20
59.8861.0062.00T:cryptmtv3
62.2562.6263.00T:simon64128ctr
68.5070.0070.88T:snow20
69.7570.1270.62T:aes256estream
73.0073.2573.88salsa20
77.1277.8879.00T:lexv2
77.5078.7579.00T:simon128128ctr
80.3881.2581.88T:nlsv2
82.3883.7584.62tango642
91.0091.6292.00T:simon128256ctr
125.25125.75126.50xsalsa20
190.75192.00193.00T:aes192ctr
266.25267.38268.88T:sosemanuk
297.38299.25303.75T:tpy6
489.50491.50495.50T:panama
493.62497.75503.00T:ocelot2
683.62686.88694.88T:tpy
656.12687.00689.88T:tpypy
721.38728.12730.50T:ocelot1
789.00792.62803.25T:amastrid
1452.501453.501455.50T:hc128
3718.623722.253726.88T:hc256