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: armeabi; ARM1176 (410fb767); 2011 Broadcom BCM2835; 1 x 1000MHz; berry0, supercop-20240909

[Page version: 20250206 00:56:26]

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
9.479.6810.00T:nlsv2
10.3510.4310.67T:tpy6
11.5511.6411.83tango642
11.2711.7912.39T:sosemanuk
12.8212.9813.10chacha8
12.9313.0513.19salsa208
13.7114.0614.30T:cryptmtv3
14.4814.6915.04T:tpy
15.9016.0016.03chacha12
16.0416.2116.32salsa2012
16.5616.8717.17T:panama
18.8019.1319.53chacha20
23.5323.6323.74salsa20
23.6723.8324.07xsalsa20
24.2924.7325.13T:tpypy
49.7049.8650.14T:aes128estream
49.6050.4051.05T:aes128ctr
56.7957.2458.10T:aes192ctr
63.5164.0164.77T:aes256ctr
70.1770.4270.87T:aes256estream
92.8292.9793.63T:ocelot1
96.6296.7597.53T:ocelot2
151.39152.33155.30T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
10.5910.6810.89T:nlsv2
13.0513.0813.18T:tpy6
13.2113.2413.37tango642
13.1613.2513.31chacha8
13.2913.3213.42salsa208
16.2116.2516.28chacha12
16.2216.3416.60T:sosemanuk
16.1216.3616.49T:cryptmtv3
16.3816.4516.52salsa2012
19.3519.4919.72T:tpy
20.7320.8521.02chacha20
23.1823.2723.40T:panama
23.8323.8723.95salsa20
24.3024.4124.58xsalsa20
28.3628.5628.81T:tpypy
50.2350.3050.48T:aes128estream
52.7952.9853.21T:aes128ctr
59.5559.6760.10T:aes192ctr
66.3966.5766.98T:aes256ctr
71.0271.1371.42T:aes256estream
97.3597.3797.85T:ocelot1
101.17101.21101.73T:ocelot2
157.91158.12158.72T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
12.8112.9013.03T:nlsv2
13.6113.6413.72chacha8
13.7213.7313.73salsa208
15.7915.8515.96tango642
16.6316.6316.76chacha12
16.7716.8216.89salsa2012
17.3817.4317.51T:tpy6
20.6420.7220.85T:cryptmtv3
23.3823.6523.96chacha20
23.5223.9324.43T:sosemanuk
24.2124.2124.31salsa20
25.2425.2925.53xsalsa20
27.3427.4527.85T:tpy
33.7733.9234.60T:panama
33.7033.9334.55T:tpypy
50.9151.0851.26T:aes128estream
56.7356.9757.73T:aes128ctr
63.4463.7464.72T:aes192ctr
70.3870.6871.20T:aes256ctr
71.9572.2372.31T:aes256estream
104.63104.71104.97T:ocelot1
108.56108.73109.26T:ocelot2
167.51167.81168.18T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
14.9814.9914.99salsa208
15.0515.2515.30chacha8
17.8917.8918.23chacha12
18.0218.0318.31salsa2012
17.9318.3819.10T:nlsv2
22.9923.1923.34tango642
25.4725.5125.89salsa20
26.8827.1127.84T:cryptmtv3
28.1628.1728.28xsalsa20
29.2629.6029.79T:tpy6
30.6331.0732.16chacha20
43.3044.5746.80T:sosemanuk
49.5549.5849.70T:tpy
52.9553.4953.63T:aes128estream
54.6454.9855.46T:tpypy
61.7662.2763.56T:panama
66.9067.9768.84T:aes128ctr
73.4074.1975.06T:aes192ctr
74.6075.0475.30T:aes256estream
80.8482.3084.79T:aes256ctr
124.23124.43124.94T:ocelot1
128.20128.62129.46T:ocelot2
188.38188.84196.41T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
30.97?31.08?35.33?salsa208
33.7533.7836.88chacha12
31.22?34.38?34.92?chacha8
34.1635.6637.83salsa2012
41.4542.0243.95salsa20
65.7365.7866.78xsalsa20
80.1282.9885.02T:aes128estream
93.5595.9498.03T:cryptmtv3
98.2599.41103.97T:nlsv2
111.70114.80117.78T:aes256estream
115.31117.73119.11tango642
122.34127.19134.06chacha20
180.28185.44186.41T:tpy6
194.86204.44215.22T:aes128ctr
197.61209.48218.05T:aes192ctr
210.31215.98222.31T:aes256ctr
275.28279.89295.81T:sosemanuk
324.34327.19331.69T:tpypy
335.33336.02336.72T:tpy
374.77374.92378.34T:ocelot1
379.45382.12384.56T:ocelot2
420.47426.30442.89T:panama
543.75546.45549.91T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
237.38238.25238.25salsa208
237.50?252.62?267.88?chacha8
258.38258.50283.75chacha12
260.88?261.62?291.38?salsa2012
319.62319.88339.25salsa20
332.12?357.75?383.25?T:aes128estream
454.38480.75499.00T:aes256estream
514.25517.00524.12xsalsa20
545.12555.50567.50T:nlsv2
625.62640.12646.25T:cryptmtv3
838.38853.50877.88tango642
1008.38?1029.62?1159.62?chacha20
1218.12?1308.62?1426.12?T:aes192ctr
1279.621341.001421.75T:aes128ctr
1331.881374.001449.00T:aes256ctr
1362.881414.751425.25T:tpy6
2180.252273.882395.88T:sosemanuk
2338.252353.622355.25T:ocelot1
2359.622375.752392.12T:ocelot2
2455.122479.382522.25T:tpypy
2590.882596.252613.50T:tpy
3379.753401.503481.50T:panama
3543.383574.003595.50T:amastrid