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; Crestmont (a06a4-20); 2023 Intel Core Ultra 5 125H, LPE cores; 2 x 700MHz; meteor,tiny, supercop-20260330

[Page version: 20260415 05:37:17]

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.470.480.49T:aes128ctr
0.570.570.58aes256ctr
0.59?0.70?0.80?T:aes192ctr
0.70?0.72?0.78?tango642
0.900.920.93chacha8
1.111.121.13salsa208
1.261.271.29chacha12
1.30?1.38?1.55?T:tpy
1.591.601.62salsa2012
0.93?1.60?1.67?T:hc128
1.57?1.66?1.83?T:nlsv2
1.671.751.82T:tpy6
1.63?1.82?1.92?T:hc256
1.971.981.98T:speck6496ctr
1.971.992.02chacha20
2.042.042.05T:speck64128ctr
2.002.052.10T:tpypy
2.032.092.14T:snow20
2.142.152.17T:cryptmtv3
2.252.292.31T:sosemanuk
2.402.412.42T:speck128128ctr
2.472.472.48T:speck128192ctr
2.542.552.57salsa20
2.552.552.56T:speck128256ctr
2.542.562.58xsalsa20
2.622.672.70T:rabbit
2.752.762.78T:simon6496ctr
2.862.882.89T:simon64128ctr
3.543.603.74T:panama
3.623.643.66T:lexv2
7.267.397.42T:aes128estream
7.497.537.55T:simon128128ctr
7.958.078.25T:simon128256ctr
10.8910.9410.98T:aes256estream
23.3123.4223.83T:ocelot1
24.6225.1025.34T:trivium
25.8126.7627.65T:ocelot2
41.4641.9643.96T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.490.490.50T:aes128ctr
0.590.590.59aes256ctr
0.860.870.91tango642
0.910.920.93chacha8
1.121.131.13salsa208
1.271.281.29chacha12
1.401.421.47T:aes192ctr
1.611.611.62salsa2012
1.771.791.91T:nlsv2
1.992.002.02chacha20
2.002.002.01T:speck6496ctr
2.072.072.08T:speck64128ctr
2.112.142.17T:snow20
2.202.232.27T:tpy6
2.422.442.56T:tpy
2.452.452.46T:speck128128ctr
2.472.492.50T:sosemanuk
2.522.522.52T:speck128192ctr
2.562.572.58salsa20
2.592.602.60T:speck128256ctr
2.652.662.67xsalsa20
2.672.682.68T:cryptmtv3
2.732.752.77T:rabbit
2.892.892.90T:simon6496ctr
3.063.063.07T:simon64128ctr
3.053.073.10T:tpypy
3.733.743.75T:lexv2
3.633.873.91T:hc128
4.664.694.79T:panama
7.357.447.47T:aes128estream
7.867.907.93T:hc256
8.178.188.19T:simon128128ctr
9.009.099.22T:simon128256ctr
10.9911.0111.03T:aes256estream
25.5325.5825.86T:ocelot1
25.6425.9526.08T:trivium
27.8628.3528.96T:ocelot2
44.0744.3545.75T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.510.520.53T:aes128ctr
0.610.610.63aes256ctr
0.930.930.94chacha8
1.081.091.11tango642
1.131.141.15salsa208
1.291.291.31chacha12
1.621.641.65salsa2012
2.002.022.03chacha20
2.052.052.05T:speck6496ctr
2.062.082.28T:nlsv2
2.122.132.13T:speck64128ctr
2.192.222.26T:snow20
2.522.522.53T:speck128128ctr
2.592.592.59T:speck128192ctr
2.582.602.63salsa20
2.55?2.64?2.84?T:aes192ctr
2.672.682.70T:speck128256ctr
2.802.822.84xsalsa20
2.872.882.96T:rabbit
2.872.912.92T:sosemanuk
3.093.103.11T:simon6496ctr
2.993.143.23T:tpy6
3.383.383.40T:simon64128ctr
3.873.893.90T:lexv2
3.953.953.96T:cryptmtv3
4.334.644.68T:tpy
4.864.884.93T:tpypy
6.486.496.51T:panama
7.507.527.54T:aes128estream
7.658.248.27T:hc128
9.249.289.32T:simon128128ctr
10.7210.8111.00T:simon128256ctr
11.1011.1411.21T:aes256estream
17.8318.2218.25T:hc256
27.1227.3727.45T:trivium
28.8329.5629.90T:ocelot1
30.6330.8631.44T:ocelot2
47.1447.7650.60T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.61?0.62?0.68?T:aes128ctr
0.860.860.87aes256ctr
1.051.071.09chacha8
1.321.341.36salsa208
1.471.471.48chacha12
1.791.821.85tango642
1.921.931.95salsa2012
2.222.242.25T:speck6496ctr
2.312.312.32chacha20
2.302.312.33T:speck64128ctr
2.422.452.49T:snow20
2.762.782.79T:speck128128ctr
2.772.823.03T:nlsv2
2.852.862.87T:speck128192ctr
2.952.962.96T:speck128256ctr
2.952.983.00salsa20
3.153.183.24T:rabbit
3.543.573.62xsalsa20
3.923.953.98T:sosemanuk
4.204.224.23T:simon6496ctr
4.284.304.33T:lexv2
4.564.594.62T:cryptmtv3
4.824.844.86T:simon64128ctr
5.225.385.48T:tpy6
5.695.866.10T:aes192ctr
7.727.767.78T:aes128estream
9.139.309.40T:tpypy
9.279.3510.02T:tpy
11.3511.4111.51T:panama
11.5511.5911.64T:aes256estream
14.6714.7314.84T:simon128128ctr
15.9816.0216.10T:simon128256ctr
17.8117.9818.10T:hc128
31.0831.1631.18T:trivium
36.5436.9139.03T:ocelot2
36.9938.4638.65T:ocelot1
44.9445.3445.52T:hc256
55.8056.7759.60T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
1.681.701.73T:aes128ctr
2.352.392.42chacha8
3.013.023.13salsa208
3.283.293.37aes256ctr
3.253.323.36chacha12
3.753.813.99T:speck6496ctr
3.914.014.16T:speck64128ctr
4.094.144.16salsa2012
5.135.215.25chacha20
5.785.825.93T:speck128128ctr
5.825.876.01T:snow20
6.056.106.13T:speck128192ctr
6.196.246.26salsa20
6.356.416.45T:speck128256ctr
6.937.007.13T:rabbit
8.018.068.24T:simon6496ctr
9.039.149.34T:simon64128ctr
9.559.629.92T:lexv2
10.5010.6010.71T:aes128estream
10.7810.8511.13tango642
11.6411.7111.76T:cryptmtv3
11.9612.1312.33xsalsa20
13.23?14.16?15.18?T:nlsv2
15.8715.9616.05T:sosemanuk
17.5817.7017.80T:aes256estream
24.1824.7825.31T:simon128128ctr
28.9929.3130.08T:simon128256ctr
34.1834.6135.91T:tpy6
45.6447.0348.93T:aes192ctr
67.5468.3668.82T:tpypy
69.76?70.42?80.56?T:tpy
73.5174.7975.76T:panama
81.6782.0682.30T:trivium
124.33125.95127.78T:ocelot2
148.63149.70153.22T:hc128
156.09159.82163.50T:ocelot1
167.82170.54174.36T:amastrid
387.87391.68392.70T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.7313.8814.23T:aes128ctr
15.7416.4317.19T:speck6496ctr
16.6817.2818.01T:speck64128ctr
20.5020.7621.28chacha8
22.39?23.01?25.21?T:speck128192ctr
23.6724.4926.29T:speck128256ctr
23.58?25.82?28.58?T:speck128128ctr
26.2526.2526.51aes256ctr
28.1128.5828.93chacha12
37.1837.8838.95T:simon6496ctr
41.1141.7042.42T:rabbit
42.5943.2243.86chacha20
43.7244.0644.46T:aes128estream
44.7245.3246.71T:simon64128ctr
45.0645.7146.59salsa208
45.4646.3349.67T:snow20
46.7847.7248.27salsa2012
51.8252.3153.10T:lexv2
53.1553.5254.19salsa20
73.5374.1876.09T:cryptmtv3
76.4376.9778.47T:aes256estream
71.9278.1579.62T:nlsv2
81.2784.9086.39tango642
98.5799.83101.80xsalsa20
107.82108.92110.67T:simon128128ctr
126.56127.56128.22T:sosemanuk
139.59140.57142.85T:simon128256ctr
260.53262.46264.04T:tpy6
357.95370.11391.09T:aes192ctr
477.27479.64486.24T:trivium
523.57538.97577.27T:tpypy
559.03562.96576.54T:tpy
576.74579.85595.75T:panama
825.16836.96853.44T:ocelot2
1095.481103.741113.95T:ocelot1
1144.851154.001170.12T:amastrid
1195.411201.571222.04T:hc128
3069.803090.433115.24T:hc256