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-20251222

[Page version: 20260208 14:18:02]

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.470.480.49T:aes128ctr
0.560.560.57aes256ctr
0.550.570.59T:aes192ctr
0.720.750.78tango642
0.900.910.92chacha8
1.121.141.14salsa208
1.251.281.29chacha12
1.22?1.31?1.54?T:tpy
0.78?1.49?1.71?T:hc128
1.591.611.63salsa2012
1.48?1.61?1.88?T:hc256
1.55?1.73?1.82?T:tpy6
1.53?1.74?1.78?T:nlsv2
1.971.971.98T:speck6496ctr
1.982.012.03chacha20
1.992.032.07T:snow20
2.042.052.05T:speck64128ctr
1.972.052.09T:tpypy
2.052.142.23T:panama
2.162.172.18T:cryptmtv3
2.222.242.31T:sosemanuk
2.412.412.41T:speck128128ctr
2.472.472.48T:speck128192ctr
2.552.552.55T:speck128256ctr
2.532.552.57salsa20
2.532.552.57xsalsa20
2.732.752.77T:rabbit
2.742.762.77T:simon6496ctr
2.872.882.89T:simon64128ctr
3.633.643.66T:lexv2
4.214.224.23T:simon128128ctr
4.424.444.45T:simon128256ctr
7.377.397.42T:aes128estream
10.7910.8310.86T:aes256estream
13.3513.8613.96T:ocelot1
14.66?15.37?17.03?T:ocelot2
24.6024.6525.37T:trivium
24.6024.8325.59T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.490.490.50T:aes128ctr
0.580.580.59aes256ctr
0.790.790.81T:aes192ctr
0.870.890.90tango642
0.910.920.93chacha8
1.141.151.15salsa208
1.271.291.29chacha12
1.601.611.62salsa2012
1.761.911.94T:nlsv2
2.002.002.01T:speck6496ctr
1.992.012.03chacha20
2.082.082.08T:speck64128ctr
2.082.102.12T:snow20
2.072.202.23T:tpy6
2.452.452.45T:speck128128ctr
2.452.462.50T:sosemanuk
2.522.522.52T:speck128192ctr
2.542.562.60T:tpy
2.552.562.57salsa20
2.602.602.60T:speck128256ctr
2.652.662.66xsalsa20
2.672.682.68T:cryptmtv3
2.712.762.82T:panama
2.802.812.82T:rabbit
2.892.892.89T:simon6496ctr
3.063.063.06T:simon64128ctr
3.073.103.11T:tpypy
3.733.733.74T:lexv2
3.583.813.95T:hc128
4.394.404.40T:simon128128ctr
4.724.734.73T:simon128256ctr
7.447.457.46T:aes128estream
7.827.897.92T:hc256
10.9210.9310.95T:aes256estream
14.7415.0115.04T:ocelot1
15.9616.3217.31T:ocelot2
25.6625.6726.14T:trivium
25.9526.1026.48T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.510.520.53T:aes128ctr
0.610.610.64aes256ctr
0.930.940.94chacha8
1.061.071.09tango642
1.151.161.17salsa208
1.181.211.22T:aes192ctr
1.291.301.30chacha12
1.611.621.63salsa2012
2.012.022.03chacha20
2.052.052.06T:speck6496ctr
2.132.142.14T:speck64128ctr
2.152.182.19T:snow20
2.212.272.35T:nlsv2
2.522.532.53T:speck128128ctr
2.562.582.59salsa20
2.602.602.60T:speck128192ctr
2.682.682.68T:speck128256ctr
2.812.842.85xsalsa20
2.872.892.92T:rabbit
2.872.912.92T:sosemanuk
3.043.093.14T:tpy6
3.093.103.11T:simon6496ctr
3.353.363.37T:simon64128ctr
3.753.783.88T:panama
3.863.873.88T:lexv2
3.953.964.00T:cryptmtv3
4.17?4.62?4.64?T:tpy
4.684.694.70T:simon128128ctr
4.774.804.87T:tpypy
5.215.215.23T:simon128256ctr
7.537.547.57T:aes128estream
7.608.268.43T:hc128
11.1211.2011.26T:aes256estream
16.5217.0017.22T:ocelot1
17.2818.0618.68T:ocelot2
17.8318.2318.34T:hc256
27.0627.3127.41T:trivium
27.6728.1728.60T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.620.630.64T:aes128ctr
0.860.860.87aes256ctr
1.051.061.08chacha8
1.301.301.33salsa208
1.471.491.50chacha12
1.761.771.80tango642
1.831.851.88salsa2012
2.162.172.20T:aes192ctr
2.252.262.26T:speck6496ctr
2.312.332.34chacha20
2.332.352.35T:speck64128ctr
2.432.452.47T:snow20
2.772.772.80T:speck128128ctr
2.862.862.87T:speck128192ctr
2.942.952.98salsa20
2.962.962.97T:speck128256ctr
2.993.063.09T:nlsv2
3.183.223.25T:rabbit
3.593.613.64xsalsa20
3.923.963.99T:sosemanuk
4.224.254.27T:simon6496ctr
4.274.304.33T:lexv2
4.594.634.65T:cryptmtv3
4.804.824.84T:simon64128ctr
5.095.235.33T:tpy6
6.436.466.47T:simon128128ctr
6.466.496.54T:panama
7.647.747.79T:aes128estream
8.95?9.22?10.28?T:tpy
9.209.239.26T:simon128256ctr
9.129.539.62T:tpypy
11.5211.5611.62T:aes256estream
18.23?19.97?20.35?T:hc128
21.6922.0122.70T:ocelot2
22.0822.6622.74T:ocelot1
30.9631.5431.62T:trivium
32.9933.0833.21T:amastrid
45.2445.9045.95T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.721.731.77T:aes128ctr
2.392.422.45chacha8
2.912.983.03salsa208
3.283.313.33aes256ctr
3.313.363.42chacha12
3.803.944.09T:speck6496ctr
4.124.124.22salsa2012
4.124.194.38T:speck64128ctr
5.125.175.27chacha20
5.785.805.95T:speck128128ctr
5.805.865.91T:snow20
5.926.096.16T:speck128192ctr
6.306.416.44salsa20
6.366.426.45T:speck128256ctr
7.207.337.42T:rabbit
8.058.168.20T:simon6496ctr
9.089.129.27T:simon64128ctr
9.539.599.69T:lexv2
10.4110.4810.59tango642
10.5010.5910.69T:aes128estream
11.6911.6911.78T:cryptmtv3
12.0212.0512.30xsalsa20
13.3613.4713.69T:simon128128ctr
15.0615.2015.44T:simon128256ctr
15.2815.3315.36T:aes192ctr
14.3115.6115.69T:nlsv2
15.8915.9816.09T:sosemanuk
17.2217.3817.50T:aes256estream
34.1235.6236.27T:tpy6
42.3342.9543.23T:panama
66.3467.4168.55T:tpypy
71.1671.5071.92T:tpy
73.3174.8076.30T:ocelot2
81.8382.3382.59T:trivium
95.3496.0396.39T:ocelot1
97.1298.91100.55T:amastrid
149.55150.92153.02T:hc128
386.11393.86394.41T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.0014.1214.25T:aes128ctr
16.7517.2518.00T:speck64128ctr
17.1217.5018.12T:speck6496ctr
21.0021.1221.50chacha8
22.7523.3824.00T:speck128192ctr
23.2523.7524.38T:speck128256ctr
26.7526.7527.12aes256ctr
27.0027.5027.75salsa208
28.3828.6229.12chacha12
24.62?34.38?35.12?T:speck128128ctr
38.1238.5039.12T:simon6496ctr
42.5043.2544.00T:rabbit
42.6243.2544.00chacha20
45.0045.5046.12T:simon64128ctr
45.5045.8846.38T:snow20
52.1252.6253.25T:lexv2
55.7556.5057.62salsa2012
65.7566.1267.12T:simon128128ctr
70.3870.5070.62T:aes128estream
73.1273.7574.50T:cryptmtv3
73.6274.2575.88T:aes256estream
75.6276.3876.62T:simon128256ctr
78.5078.8879.38salsa20
78.1279.3880.75T:nlsv2
79.0079.5080.38tango642
121.75122.12123.00T:aes192ctr
123.75124.50126.00xsalsa20
127.38127.88129.00T:sosemanuk
268.50270.88273.25T:tpy6
327.62330.38334.38T:panama
480.25486.25496.25T:ocelot2
479.25492.88495.88T:trivium
516.62521.12531.62T:tpypy
548.38550.50564.50T:tpy
652.50662.75674.38T:ocelot1
666.62677.25683.38T:amastrid
1192.751195.751207.00T:hc128
3052.383076.623132.75T:hc256