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; Gracemont (906a4-20); 2022 Intel Core i3-1215U, E cores; 4 x 1600MHz; alder2,little, supercop-20261018

[Page version: 20261107 07:59:14]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.460.460.47T:aes128ctr
0.570.580.59aes256ctr
0.560.580.60T:aes192ctr
0.730.740.76tango642
0.930.940.95chacha8
1.121.141.16salsa208
0.71?1.22?1.70?T:hc128
1.281.301.31chacha12
1.621.631.64salsa2012
1.59?1.74?2.12?T:hc256
1.901.972.06T:nlsv2
1.971.981.99T:speck6496ctr
2.002.022.04chacha20
2.042.062.08T:cryptmtv3
2.062.062.08T:speck64128ctr
2.052.102.17T:tpy6
2.102.132.18T:snow20
2.152.162.18T:panama
1.84?2.17?2.24?T:tpy
2.342.362.37T:sosemanuk
2.422.432.45T:speck128128ctr
2.502.512.52T:speck128192ctr
2.502.512.51T:trivium
2.572.582.60T:speck128256ctr
2.582.602.63xsalsa20
2.582.612.62salsa20
2.632.692.92T:rabbit
2.61?2.86?3.11?T:tpypy
2.892.912.92T:simon6496ctr
3.013.023.04T:simon64128ctr
3.653.673.69T:lexv2
4.364.384.40T:simon128128ctr
4.604.624.64T:simon128256ctr
7.477.497.50T:aes128estream
11.3011.3511.38T:aes256estream
15.5616.3116.81T:ocelot1
16.1417.3317.81T:ocelot2
27.4227.7927.94T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.480.480.48T:aes128ctr
0.600.610.61aes256ctr
0.840.850.86T:aes192ctr
0.880.890.90tango642
0.940.940.95chacha8
1.141.151.16salsa208
1.301.311.31chacha12
1.631.641.65salsa2012
2.012.012.02T:speck6496ctr
2.022.032.04chacha20
2.022.072.13T:nlsv2
2.102.102.11T:speck64128ctr
2.152.172.20T:snow20
2.462.472.48T:speck128128ctr
2.552.552.56T:speck128192ctr
2.602.602.60T:trivium
2.602.612.61T:sosemanuk
2.592.612.65T:tpy6
2.602.622.62salsa20
2.622.622.64T:speck128256ctr
2.642.642.66T:cryptmtv3
2.692.702.72xsalsa20
2.772.772.94T:rabbit
2.832.842.85T:panama
3.043.053.05T:simon6496ctr
3.123.183.20T:tpy
3.203.213.22T:simon64128ctr
3.763.783.78T:lexv2
3.783.804.15T:hc128
3.974.144.16T:tpypy
4.574.574.58T:simon128128ctr
4.924.934.94T:simon128256ctr
7.537.547.54T:aes128estream
8.048.108.35T:hc256
11.3611.4011.41T:aes256estream
16.5217.0717.42T:ocelot1
17.4718.2118.43T:ocelot2
28.8029.0629.16T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.500.500.50T:aes128ctr
0.640.640.64aes256ctr
0.950.950.96chacha8
1.111.111.12tango642
1.161.171.18salsa208
1.271.301.33T:aes192ctr
1.311.321.33chacha12
1.641.651.66salsa2012
2.042.062.07chacha20
2.062.062.07T:speck6496ctr
2.142.152.16T:speck64128ctr
2.222.252.27T:snow20
2.252.262.30T:nlsv2
2.532.542.55T:speck128128ctr
2.612.622.63T:speck128192ctr
2.612.632.64salsa20
2.692.692.70T:speck128256ctr
2.782.782.78T:trivium
2.852.872.89xsalsa20
2.902.913.07T:rabbit
3.073.073.08T:sosemanuk
3.263.273.29T:simon6496ctr
3.333.383.45T:tpy6
3.523.533.54T:simon64128ctr
3.943.953.97T:lexv2
3.973.983.99T:panama
3.994.004.01T:cryptmtv3
4.72?4.84?5.30?T:tpy
4.874.894.91T:simon128128ctr
5.425.445.46T:simon128256ctr
6.276.316.36T:tpypy
7.617.627.63T:aes128estream
8.05?8.11?9.04?T:hc128
11.4211.4611.52T:aes256estream
17.9018.5118.61T:ocelot1
18.79?18.93?20.97?T:hc256
19.1919.6619.77T:ocelot2
30.2531.2132.32T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.590.610.64T:aes128ctr
0.880.890.94aes256ctr
1.071.091.10chacha8
1.321.351.39salsa208
1.501.521.55chacha12
1.851.851.86tango642
1.881.911.94salsa2012
2.262.272.28T:speck6496ctr
2.352.352.37T:speck64128ctr
2.352.362.38chacha20
2.472.502.54T:aes192ctr
2.482.502.53T:snow20
2.772.772.79T:speck128128ctr
2.862.872.88T:speck128192ctr
2.882.902.93T:nlsv2
2.952.962.98T:speck128256ctr
2.952.983.01salsa20
3.183.193.22T:trivium
3.213.243.39T:rabbit
3.583.623.66xsalsa20
4.294.314.33T:sosemanuk
4.354.374.41T:lexv2
4.354.394.43T:simon6496ctr
4.804.814.82T:cryptmtv3
4.944.964.99T:simon64128ctr
5.826.136.32T:tpy6
6.696.716.76T:simon128128ctr
6.936.977.02T:panama
7.817.837.85T:aes128estream
9.229.269.30T:simon128256ctr
9.37?9.51?11.16?T:tpy
11.6211.6811.72T:aes256estream
12.0212.2712.37T:tpypy
18.91?19.60?22.06?T:hc128
22.2922.4623.12T:ocelot1
23.3323.8824.71T:ocelot2
35.9236.3737.59T:amastrid
46.5447.1247.32T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.84?2.08?2.30?T:aes128ctr
2.362.392.51chacha8
2.76?3.02?3.43?salsa208
3.273.313.36chacha12
3.783.823.92aes256ctr
3.74?4.16?4.57?salsa2012
4.374.444.61T:speck6496ctr
4.504.604.78T:speck64128ctr
5.115.155.30chacha20
5.625.685.77T:speck128128ctr
5.665.715.80T:speck128192ctr
6.106.156.19T:speck128256ctr
5.73?6.28?6.77?salsa20
6.276.336.40T:snow20
7.007.117.35T:rabbit
7.787.928.27T:simon6496ctr
8.658.678.76T:trivium
8.668.738.93T:simon64128ctr
9.699.7610.07T:lexv2
10.5910.6410.90T:aes128estream
11.2611.3311.61tango642
11.7011.8812.05xsalsa20
12.1912.2312.33T:cryptmtv3
12.7212.8212.88T:nlsv2
13.4113.5513.64T:simon128128ctr
13.6713.9414.39T:aes256estream
14.7314.8915.23T:simon128256ctr
17.6517.7218.02T:aes192ctr
18.1118.2018.65T:sosemanuk
36.5137.0838.66T:tpy6
44.7045.0045.46T:panama
71.0071.4672.04T:tpy
72.2772.5473.12T:tpypy
77.4878.2078.95T:ocelot2
78.7179.5180.59T:ocelot1
103.01105.07106.30T:amastrid
158.81159.45166.78T:hc128
402.36404.03412.21T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.56?15.47?19.57?T:aes128ctr
18.42?18.88?21.53?T:speck64128ctr
18.33?18.95?23.26?T:speck6496ctr
21.99?22.47?26.68?T:speck128192ctr
22.16?22.74?24.78?T:speck128256ctr
21.57?23.19?25.58?chacha8
22.89?23.20?25.97?T:speck128128ctr
28.1228.5029.60chacha12
27.07?31.32?34.06?aes256ctr
35.7736.5537.33salsa208
36.0536.8538.68T:simon6496ctr
41.4142.0544.52T:rabbit
41.1742.1245.39T:aes256estream
41.7142.3443.32T:simon64128ctr
42.7543.1043.86chacha20
44.3444.6144.98T:aes128estream
43.9145.2146.53salsa2012
49.6949.9550.43T:snow20
51.2051.3051.56T:trivium
53.3953.9456.34T:lexv2
61.5562.6264.61salsa20
65.7266.1666.89T:nlsv2
77.3078.1679.77T:cryptmtv3
76.4979.7784.44T:simon128128ctr
76.6179.9684.46T:simon128256ctr
86.0186.6087.85tango642
107.86109.25110.81xsalsa20
140.56141.36144.75T:aes192ctr
142.61143.24144.77T:sosemanuk
267.38272.76279.60T:tpy6
348.33349.76354.46T:panama
520.70525.38532.43T:ocelot1
508.21525.92536.34T:ocelot2
552.29556.00559.09T:tpypy
554.84564.45571.52T:tpy
677.93682.97691.23T:amastrid
1269.391273.331279.74T:hc128
3190.673195.123220.99T:hc256