Measurements of public-key cryptosystems on one machine: mipso32; Octeon II (cnmips64v2); 2011 Cavium Octeon II CN6120; 2 x 2000MHz; gcc23, supercop-20230530
[Page version: 20241101 10:40:33]
eBATS
(ECRYPT Benchmarking
of Asymmetric Systems)
is a project
to measure the performance of public-key systems.
This page presents benchmark results collected in eBATS
for public-key encryption:
- Time (cycles) to generate a key pair:
a secret key and a corresponding public key.
- Time to encrypt a short message (59 bytes).
- Time to decrypt a short message,
i.e., to recover a short message from a (larger) ciphertext.
- Space (bytes) for a secret key.
- Space for a public key.
- Ciphertext length for a 0-byte message.
- Ciphertext overhead for a 23-byte message:
the ciphertext length minus 23 bytes.
- Ciphertext overhead for a long message:
the ciphertext length minus the message length.
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
C:
means that the current SUPERCOP database does not list IND-CCA2 security
as a goal for this public-key cryptosystem.
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 public-key cryptosystem and each implementation.
Designers and implementors
interested in submitting new public-key cryptosystems
and new implementations of existing cryptosystems
should read the call for submissions.
Test results
Graphs:
(pkcycles,pkbytes)
(ccycles,pkbytes)
(ccycles,cbytes)
(mcycles,cbytes)
(pkbytes,cbytes)
Cycles to generate a key pair |
25% | 50% | 75% | system |
21052756 | 21127110 | 21208760 | T: C:ntruees401ep2 |
25057176 | 25133496 | 25193736 | T: C:ntruees439ep1 |
45235966 | 45345832 | 45440966 | T: C:ntruees593ep1 |
70793976 | 70946396 | 71093324 | T: C:ntruees743ep1 |
194402430 | 194849206 | 195150748 | T: mcnie4q1281 |
187356710 | 195570788 | 206444760 | T: C:mceliece |
260258154 | 261159440 | 263205090 | T: mcnie3q1281 |
274952864 | 275999320 | 276883056 | T: C:ntruees787ep1 |
333565248 | 333987496 | 334469338 | T: mcnie4q1282 |
372912106 | 374877764 | 378603324 | T: mcnie3q1282 |
432728716 | 433185876 | 433894434 | T: mcnie4q1921 |
484685318 | 486790972 | 490166920 | T: mcnie3q1921 |
556903310 | 557721462 | 558426808 | T: mcnie4q2561 |
582629818 | 583356870 | 584658142 | T: mcnie4q1922 |
658321082 | 660169204 | 663111768 | T: mcnie3q1922 |
693181834 | 694910746 | 697709462 | T: mcnie3q2561 |
764701746 | 765625340 | 767042776 | T: mcnie4q2562 |
1129753088 | 1132078974 | 1137093444 | T: mcnie3q2562 |
1160260560 | 1161280980 | 1162065532 | T: lotus128 |
2522461246 | 2523159218 | 2524754606 | T: lotus192 |
4621055932 | 4622664888 | 4625779454 | T: lotus256 |
2987112692? | 5542747620? | 8161174076? | T: cargocult2048 |
3697530882? | 6240455482? | 9329167402? | T: rsa2048 |
|
Cycles to encrypt 59 bytes |
25% | 50% | 75% | system |
253350 | 256942 | 264982 | T: C:mceliece |
508024 | 508328 | 511134 | T: C:ntruees401ep2 |
526318 | 557866 | 568894 | T: cargocult2048 |
531378 | 562928 | 575156 | T: rsa2048 |
564396 | 564704 | 569458 | T: C:ntruees439ep1 |
879770 | 880234 | 884312 | T: C:ntruees593ep1 |
1301886 | 1302448 | 1307770 | T: C:ntruees743ep1 |
1906736 | 1913208 | 1924130 | T: C:ntruees787ep1 |
2074026 | 2077682 | 2092642 | T: mcnie4q1281 |
2762506 | 2776640 | 2792930 | T: mcnie4q1282 |
3369144 | 3372242 | 3404448 | T: mcnie4q1921 |
3961766 | 3969112 | 3997424 | T: mcnie4q1922 |
4164404 | 4171866 | 4198370 | T: mcnie4q2561 |
4243696 | 4248770 | 4265724 | T: mcnie3q1281 |
4819250 | 4831050 | 4857676 | T: mcnie4q2562 |
5230172 | 5236094 | 5265132 | T: mcnie3q1282 |
6375438 | 6390680 | 6417134 | T: mcnie3q1921 |
7608512 | 7623738 | 7649470 | T: mcnie3q1922 |
8734130 | 8751664 | 8776488 | T: mcnie3q2561 |
11239206 | 11266268 | 11288244 | T: mcnie3q2562 |
19123010 | 19157150 | 19216448 | T: lotus128 |
30061568 | 30099840 | 30182182 | T: lotus192 |
43853192 | 43909486 | 44039542 | T: lotus256 |
|
Cycles to decrypt 59 bytes |
25% | 50% | 75% | system |
869164 | 869476 | 870176 | T: C:ntruees401ep2 |
957494 | 957616 | 958720 | T: C:ntruees439ep1 |
1530340 | 1530748 | 1540174 | T: C:ntruees593ep1 |
2328160 | 2328596 | 2338734 | T: C:ntruees743ep1 |
2668886 | 2727734 | 2763512 | T: C:mceliece |
3575932 | 3583794 | 3596886 | T: C:ntruees787ep1 |
5372784 | 5405586 | 5440284 | T: mcnie4q1281 |
7280282 | 7306408 | 7348136 | T: mcnie3q1281 |
7278682 | 7318088 | 7366992 | T: mcnie4q1282 |
8645726 | 8678630 | 8720500 | T: mcnie4q1921 |
9041800 | 9071986 | 9116536 | T: mcnie3q1282 |
10245930 | 10278776 | 10315970 | T: mcnie4q1922 |
10550136 | 10610364 | 10642182 | T: mcnie4q2561 |
10709536 | 10741896 | 10771232 | T: mcnie3q1921 |
12353248 | 12381408 | 12424136 | T: mcnie4q2562 |
12813528 | 12848330 | 12895758 | T: mcnie3q1922 |
14026322 | 14055442 | 14088634 | T: mcnie3q2561 |
18304116 | 18348358 | 18396092 | T: mcnie3q2562 |
23449174 | 23475996 | 23525754 | T: lotus128 |
38415326 | 38515208 | 38610890 | T: lotus192 |
56734034 | 56804256 | 56959714 | T: lotus256 |
109392036 | 109469194 | 109613350 | T: cargocult2048 |
109832756 | 110114934 | 110220846 | T: rsa2048 |
|
|
|