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; K10 45nm (100f63); 2010 AMD Athlon II Neo K125; 1 x 1700MHz; h3neo, supercop-20240425

[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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.201.211.21tango642
2.822.822.82chacha8
2.872.892.90T:hc128
3.443.443.44salsa208
3.493.493.51T:tpy6
3.603.613.61T:tpy
3.963.963.96chacha12
4.024.034.03T:nlsv2
4.064.064.10T:sosemanuk
4.104.124.19T:snow20
4.174.184.19T:hc256
4.194.194.19T:trivium
4.294.314.33T:panama
4.464.474.47T:rabbit
4.804.814.85salsa2012
4.974.984.98T:lexv2
5.115.115.27T:cryptmtv3
5.815.825.83T:tpypy
6.246.246.24chacha20
7.487.497.51xsalsa20
7.467.507.51salsa20
10.2510.2610.27T:aes128estream
19.3319.3819.44T:aes256estream
25.60?27.71?30.29?T:aes128ctr
28.8729.3330.33T:ocelot1
31.2431.3631.83T:aes192ctr
32.0732.5333.79T:ocelot2
34.9534.9835.00T:aes256ctr
55.2555.3156.10T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.451.461.46tango642
2.852.852.85chacha8
3.463.463.46salsa208
3.983.983.98chacha12
4.244.244.29T:snow20
4.294.294.29T:nlsv2
4.324.324.33T:sosemanuk
4.354.354.36T:trivium
4.484.484.48T:tpy6
4.594.594.59T:rabbit
4.844.844.87salsa2012
5.135.145.14T:lexv2
5.615.615.62T:tpy
5.655.665.66T:panama
5.915.916.02T:cryptmtv3
6.266.266.26chacha20
7.507.537.53salsa20
7.527.537.53T:hc128
7.647.657.66xsalsa20
7.927.937.93T:tpypy
10.3210.3210.33T:aes128estream
16.4516.4516.46T:hc256
19.4919.5119.55T:aes256estream
28.3728.3830.17T:aes128ctr
31.2731.4632.13T:ocelot1
31.8831.9132.23T:aes192ctr
34.4934.7735.61T:ocelot2
35.4835.5035.52T:aes256ctr
57.0257.0257.31T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.871.881.88tango642
2.892.892.90chacha8
3.503.503.50salsa208
4.034.034.03chacha12
4.464.484.51T:snow20
4.634.634.63T:trivium
4.794.794.80T:rabbit
4.804.854.87T:sosemanuk
4.884.904.90salsa2012
5.015.015.01T:nlsv2
5.405.415.41T:lexv2
6.116.126.13T:tpy6
6.326.326.32chacha20
7.567.567.75T:cryptmtv3
7.567.577.59salsa20
7.887.907.91T:panama
7.917.917.92xsalsa20
8.948.978.98T:tpy
10.4210.4310.45T:aes128estream
11.4111.4311.44T:tpypy
15.2515.2615.27T:hc128
19.7319.7519.76T:aes256estream
29.2229.2329.40T:aes128ctr
32.6832.9233.42T:aes192ctr
34.8134.8735.65T:ocelot1
36.4736.6036.67T:aes256ctr
36.9036.9236.92T:hc256
37.9338.2038.94T:ocelot2
58.9660.2561.51T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.972.972.97tango642
3.273.283.31chacha8
3.603.623.62salsa208
4.594.594.60chacha12
4.935.015.04T:snow20
5.295.295.30salsa2012
5.355.355.35T:rabbit
5.375.375.40T:trivium
6.176.186.18T:lexv2
6.286.296.38T:sosemanuk
6.506.506.51T:nlsv2
7.217.217.27chacha20
8.168.178.17salsa20
8.918.918.94T:cryptmtv3
9.079.089.09xsalsa20
10.4410.4510.48T:tpy6
10.7110.7210.72T:aes128estream
13.8013.8314.01T:panama
17.8817.9117.92T:tpy
20.2420.2420.39T:aes256estream
20.7820.8020.81T:tpypy
31.5431.5531.63T:aes128ctr
35.0335.2535.27T:aes192ctr
35.8735.9336.08T:hc128
38.7838.8838.95T:aes256ctr
44.3344.4344.74T:ocelot1
47.2547.5147.89T:ocelot2
68.8470.9072.22T:amastrid
91.4291.5291.53T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.614.624.62salsa208
6.556.566.56chacha8
8.558.568.56salsa2012
9.239.259.25chacha12
11.7811.8111.95T:snow20
12.1212.1612.16T:rabbit
13.1113.1113.11salsa20
14.5614.5814.58T:trivium
14.3614.6115.02T:aes128estream
14.6114.6114.61chacha20
15.1915.2215.28T:lexv2
16.6116.6116.78tango642
20.2720.2820.47T:cryptmtv3
20.8120.8121.06xsalsa20
22.2822.3322.39T:sosemanuk
27.1927.2027.25T:aes256estream
32.7232.7332.81T:nlsv2
64.0965.2266.95T:aes192ctr
65.7265.7365.94T:tpy6
59.11?66.81?66.83?T:aes128ctr
68.3068.5568.80T:aes256ctr
89.5390.4191.45T:panama
131.81131.98132.25T:tpy
140.28140.42140.89T:tpypy
164.70164.86165.64T:ocelot1
164.84165.12165.92T:ocelot2
198.45198.52200.39T:amastrid
300.03300.08300.67T:hc128
789.23789.55789.64T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
42.3844.1244.25salsa208
55.1255.3856.12T:aes128estream
56.0058.7561.25chacha8
72.3872.3872.50salsa2012
72.6272.6272.62T:rabbit
77.1278.5078.75chacha12
87.5087.6287.62T:trivium
87.6287.6288.00T:lexv2
91.8892.1293.00T:snow20
102.25103.25103.62T:aes256estream
106.88107.00107.00salsa20
107.62108.38109.38T:cryptmtv3
121.25121.25125.88chacha20
125.50125.75126.12tango642
146.88147.38147.75T:nlsv2
170.75170.75171.00xsalsa20
176.38176.62177.00T:sosemanuk
305.75?306.12?341.62?T:aes128ctr
325.88?334.62?365.00?T:aes192ctr
342.25343.25346.00T:aes256ctr
501.75503.00537.12T:tpy6
696.62705.88716.12T:panama
1028.251028.621035.25T:tpy
1089.121089.381089.50T:tpypy
1089.501093.121096.75T:ocelot2
1109.381111.501117.75T:ocelot1
1315.751317.121344.50T:amastrid
2394.252396.622405.38T:hc128
6312.506316.006316.38T:hc256