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; Ivy Bridge+AES (306a9); 2012 Intel Core i5-3427U; 2 x 1800MHz; hunsnivy, supercop-20240625

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.80?0.88?1.22?T:aes192ctr
0.900.910.92T:aes128ctr
0.930.930.95tango642
1.031.041.05chacha8
1.191.201.21aes256ctr
1.201.211.21salsa208
1.451.471.48chacha12
1.721.731.73salsa2012
1.721.731.73T:trivium
2.072.082.08T:speck6496ctr
2.082.132.15T:hc128
2.152.152.16T:speck64128ctr
2.282.302.30chacha20
2.642.652.66T:speck128128ctr
2.672.682.70T:cryptmtv3
2.722.732.74T:speck128192ctr
2.762.782.79salsa20
2.772.782.79xsalsa20
2.802.802.81T:speck128256ctr
2.842.852.88T:simon6496ctr
2.922.932.94T:sosemanuk
3.083.093.11T:simon64128ctr
3.123.143.16T:hc256
3.093.153.17T:nlsv2
3.253.363.46T:tpy
3.263.383.45T:tpy6
3.493.513.52T:rabbit
3.493.513.52T:panama
3.513.523.52T:snow20
4.564.584.59T:simon128128ctr
4.814.834.86T:simon128256ctr
4.904.914.92T:lexv2
4.915.085.15T:tpypy
9.739.749.77T:aes128estream
15.4915.5115.55T:aes256estream
20.7020.9021.02T:ocelot1
21.5821.6821.76T:ocelot2
36.9637.7538.11T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.950.950.96T:aes128ctr
1.061.071.07chacha8
1.08?1.09?1.34?T:aes192ctr
1.121.121.14tango642
1.231.231.24salsa208
1.251.251.26aes256ctr
1.481.491.50chacha12
1.751.751.75salsa2012
1.821.821.83T:trivium
2.112.122.12T:speck6496ctr
2.192.202.20T:speck64128ctr
2.322.322.33chacha20
2.692.692.70T:speck128128ctr
2.772.772.77T:speck128192ctr
2.802.802.81salsa20
2.842.852.85T:speck128256ctr
2.922.922.93xsalsa20
3.033.043.06T:simon6496ctr
3.133.143.15T:cryptmtv3
3.213.223.22T:sosemanuk
3.313.333.34T:nlsv2
3.383.383.39T:simon64128ctr
3.613.623.63T:rabbit
3.623.623.63T:snow20
4.094.144.18T:tpy6
4.604.614.62T:panama
4.844.854.86T:simon128128ctr
4.955.005.03T:tpy
5.065.065.07T:lexv2
5.325.335.35T:simon128256ctr
5.495.525.53T:hc128
6.606.626.65T:tpypy
9.819.829.83T:aes128estream
11.8011.8111.81T:hc256
15.6115.6115.63T:aes256estream
22.3022.3722.43T:ocelot1
23.1523.1823.22T:ocelot2
38.6839.1339.16T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.021.021.04T:aes128ctr
1.101.111.11chacha8
1.261.271.27salsa208
1.321.331.34aes256ctr
1.421.431.44tango642
1.41?1.44?1.66?T:aes192ctr
1.531.531.54chacha12
1.791.801.81salsa2012
1.992.002.00T:trivium
2.192.192.20T:speck6496ctr
2.272.272.27T:speck64128ctr
2.362.382.38chacha20
2.752.762.76T:speck128128ctr
2.832.832.86T:speck128192ctr
2.862.862.87salsa20
2.912.912.92T:speck128256ctr
3.153.153.16xsalsa20
3.353.363.38T:simon6496ctr
3.763.773.78T:sosemanuk
3.793.803.81T:snow20
3.803.813.82T:rabbit
3.803.843.85T:nlsv2
3.853.863.87T:simon64128ctr
4.424.434.45T:cryptmtv3
5.295.305.31T:simon128128ctr
5.335.345.35T:lexv2
5.305.365.48T:tpy6
6.166.186.23T:simon128256ctr
6.426.446.45T:panama
7.727.797.92T:tpy
9.159.289.38T:tpypy
9.909.919.93T:aes128estream
11.1411.1611.19T:hc128
15.7715.7815.81T:aes256estream
24.7024.7924.96T:ocelot1
25.6325.7825.88T:ocelot2
26.2226.2526.27T:hc256
40.7541.5841.80T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.321.35T:aes128ctr
1.311.321.34chacha8
1.511.521.52salsa208
1.671.691.71aes256ctr
1.781.801.83chacha12
2.102.102.11salsa2012
2.282.292.31tango642
2.322.372.39T:aes192ctr
2.382.392.43T:trivium
2.412.412.41T:speck6496ctr
2.482.492.49T:speck64128ctr
2.762.772.79chacha20
2.983.003.01T:speck128128ctr
3.063.063.07T:speck128192ctr
3.163.163.18T:speck128256ctr
3.273.303.31salsa20
4.104.114.13xsalsa20
4.244.264.27T:snow20
4.324.324.34T:rabbit
4.854.864.93T:nlsv2
4.914.934.96T:simon6496ctr
4.924.934.96T:cryptmtv3
5.245.265.29T:sosemanuk
5.825.845.86T:simon64128ctr
6.066.096.11T:lexv2
7.697.747.82T:simon128128ctr
8.808.899.01T:tpy6
9.929.9710.01T:simon128256ctr
10.2410.3010.34T:aes128estream
11.3011.3311.35T:panama
14.5714.6415.02T:tpy
16.1716.2016.24T:aes256estream
16.3516.4316.60T:tpypy
26.1926.2726.34T:hc128
31.3431.5231.80T:ocelot1
32.1632.4832.96T:ocelot2
47.9848.3149.16T:amastrid
64.6764.7164.80T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.223.283.33chacha8
3.953.974.00salsa208
4.384.394.44chacha12
4.52?4.72?5.06?T:aes128ctr
4.985.035.08salsa2012
5.115.115.11T:speck6496ctr
5.175.205.20T:speck64128ctr
5.705.805.94aes256ctr
5.805.806.08T:speck128128ctr
5.885.885.92T:speck128192ctr
6.086.126.12T:speck128256ctr
6.336.396.42chacha20
7.117.197.28salsa20
7.627.697.88T:trivium
10.0310.0910.16T:snow20
10.0610.1210.25T:simon6496ctr
10.3410.4210.53T:rabbit
10.4210.4810.59T:simon64128ctr
12.3612.4112.44T:cryptmtv3
13.2213.3613.39tango642
13.3613.4413.59T:aes192ctr
14.2814.4114.53T:aes128estream
14.4514.6714.91T:simon128128ctr
14.6214.6914.72xsalsa20
15.0815.1715.25T:lexv2
16.3416.3616.41T:simon128256ctr
21.7321.8121.88T:aes256estream
22.2722.3822.62T:sosemanuk
23.2223.2823.34T:nlsv2
52.4253.2254.36T:tpy6
73.1273.3073.52T:panama
103.58104.78105.67T:tpypy
105.78106.30107.72T:tpy
114.34117.08119.78T:ocelot1
116.23118.86122.84T:ocelot2
133.92135.86137.91T:amastrid
217.06217.62219.30T:hc128
556.84557.41558.17T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.6222.7523.38T:speck64128ctr
22.5023.2523.75T:speck6496ctr
26.2526.6227.12T:speck128192ctr
26.8827.1227.88T:speck128128ctr
26.5027.2527.25T:speck128256ctr
27.7528.1228.88chacha8
35.8836.1236.62chacha12
37.3838.6240.25T:aes128ctr
45.1246.5047.62aes256ctr
48.5049.0049.62salsa208
49.0049.3849.88T:trivium
52.2552.5053.88chacha20
54.0054.3855.00T:simon6496ctr
58.6258.8859.00salsa2012
64.0064.6266.12T:aes128estream
64.7564.7565.62T:simon64128ctr
64.0065.2567.62T:rabbit
71.1272.3873.50salsa20
79.1279.6280.75T:snow20
79.6280.2581.12T:cryptmtv3
82.8883.3883.62T:aes256estream
90.2590.7591.50T:lexv2
92.6293.8894.50T:simon128128ctr
99.38100.38103.62tango642
104.12104.38105.12T:aes192ctr
105.50106.25106.50T:nlsv2
105.00107.00109.00T:simon128256ctr
130.00131.38131.88xsalsa20
177.50179.25181.12T:sosemanuk
401.12402.25403.62T:tpy6
574.75576.25578.12T:panama
787.75790.50802.62T:tpypy
776.12795.75815.12T:ocelot1
785.12800.62818.25T:ocelot2
818.25854.00859.88T:tpy
873.88882.38891.00T:amastrid
1735.881740.501748.50T:hc128
4455.884460.754466.00T:hc256