WikiStart: with_asm.html

File with_asm.html, 8.0 KB (added by midnightmagic, at 2009-07-03T22:03:20Z)

crypto++ WITH assembly optimizations

Line 
1CPU frequency of the test platform was not provided.
2<TABLE border=1><COLGROUP><COL align=left><COL align=right><COL align=right><COL align=right><COL align=right>
3<THEAD><TR><TH>Algorithm<TH>MiB/Second<TH>Microseconds to<br>Setup Key and IV
4
5<TBODY style="background: yellow">
6<TR><TH>AES/GCM (2K tables)<TD>52<TD>3.551
7<TR><TH>AES/GCM (64K tables)<TD>120<TD>14.505
8<TR><TH>AES/CCM<TD>74<TD>0.818
9<TR><TH>AES/EAX<TD>74<TD>1.772
10<TBODY style="background: white">
11<TR><TH>GMAC(AES) (2K tables)<TD>259<TD>2.543
12<TR><TH>GMAC(AES) (64K tables)<TD>416<TD>14.576
13<TR><TH>VMAC(AES)-64<TD>2768<TD>2.570
14<TR><TH>VMAC(AES)-128<TD>1781<TD>3.140
15<TR><TH>HMAC(SHA-1)<TD>122<TD>0.611
16<TR><TH>Two-Track-MAC<TD>102<TD>0.027
17<TR><TH>CMAC(AES)<TD>128<TD>0.654
18<TR><TH>DMAC(AES)<TD>129<TD>1.583
19<TBODY style="background: yellow">
20<TR><TH>CRC32<TD>361
21<TR><TH>Adler32<TD>1164
22<TR><TH>MD5<TD>239
23<TR><TH>SHA-1<TD>123
24<TR><TH>SHA-256<TD>127
25<TR><TH>SHA-512<TD>122
26<TR><TH>Tiger<TD>256
27<TR><TH>Whirlpool<TD>52
28<TR><TH>RIPEMD-160<TD>103
29<TR><TH>RIPEMD-320<TD>109
30<TR><TH>RIPEMD-128<TD>124
31<TR><TH>RIPEMD-256<TD>133
32<TBODY style="background: white">
33<TR><TH>Panama-LE<TD>517<TD>2.170
34<TR><TH>Panama-BE<TD>461<TD>2.303
35<TR><TH>Salsa20<TD>203<TD>0.289
36<TR><TH>Salsa20/12<TD>332<TD>0.354
37<TR><TH>Salsa20/8<TD>470<TD>0.351
38<TR><TH>Sosemanuk<TD>571<TD>0.980
39<TR><TH>MARC4<TD>125<TD>3.970
40<TR><TH>SEAL-3.0-LE<TD>284<TD>81.130
41<TR><TH>WAKE-OFB-LE<TD>251<TD>3.100
42<TBODY style="background: yellow">
43<TR><TH>AES/CTR (128-bit key)<TD>173<TD>0.646
44<TR><TH>AES/CTR (192-bit key)<TD>144<TD>0.632
45<TR><TH>AES/CTR (256-bit key)<TD>124<TD>0.709
46<TR><TH>AES/CBC (128-bit key)<TD>128<TD>0.535
47<TR><TH>AES/CBC (192-bit key)<TD>111<TD>0.521
48<TR><TH>AES/CBC (256-bit key)<TD>99<TD>0.601
49<TR><TH>AES/OFB (128-bit key)<TD>122<TD>0.635
50<TR><TH>AES/CFB (128-bit key)<TD>128<TD>0.908
51<TR><TH>AES/ECB (128-bit key)<TD>129<TD>0.283
52<TR><TH>Camellia/CTR (128-bit key)<TD>67<TD>0.457
53<TR><TH>Camellia/CTR (256-bit key)<TD>53<TD>0.513
54<TR><TH>Twofish/CTR<TD>81<TD>5.645
55<TR><TH>Serpent/CTR<TD>48<TD>1.024
56<TR><TH>CAST-256/CTR<TD>52<TD>1.832
57<TR><TH>RC6/CTR<TD>89<TD>8.492
58<TR><TH>MARS/CTR<TD>83<TD>2.683
59<TR><TH>SHACAL-2/CTR (128-bit key)<TD>65<TD>0.734
60<TR><TH>SHACAL-2/CTR (512-bit key)<TD>65<TD>0.753
61<TR><TH>DES/CTR<TD>32<TD>10.851
62<TR><TH>DES-XEX3/CTR<TD>30<TD>11.337
63<TR><TH>DES-EDE3/CTR<TD>12<TD>32.878
64<TR><TH>IDEA/CTR<TD>37<TD>0.761
65<TR><TH>RC5 (r=16)<TD>89<TD>6.735
66<TR><TH>Blowfish/CTR<TD>66<TD>55.881
67<TR><TH>TEA/CTR<TD>31<TD>0.436
68<TR><TH>XTEA/CTR<TD>34<TD>0.457
69<TR><TH>CAST-128/CTR<TD>67<TD>0.832
70<TR><TH>SKIPJACK/CTR<TD>16<TD>4.340
71<TR><TH>SEED/CTR (1/2 K table)<TD>28<TD>0.717</TABLE>
72<TABLE border=1><COLGROUP><COL align=left><COL align=right><COL align=right>
73<THEAD><TR><TH>Operation<TH>Milliseconds/Operation
74
75<TBODY style="background: yellow">
76<TR><TH>RSA 1024 Encryption<TD>0.05
77<TR><TH>RSA 1024 Decryption<TD>0.81
78<TR><TH>LUC 1024 Encryption<TD>0.05
79<TR><TH>LUC 1024 Decryption<TD>1.37
80<TR><TH>DLIES 1024 Encryption<TD>0.49
81<TR><TH>DLIES 1024 Encryption with precomputation<TD>0.94
82<TR><TH>DLIES 1024 Decryption<TD>0.76
83<TR><TH>LUCELG 512 Encryption<TD>0.31
84<TR><TH>LUCELG 512 Encryption with precomputation<TD>0.31
85<TR><TH>LUCELG 512 Decryption<TD>0.38
86<TBODY style="background: white">
87<TR><TH>RSA 2048 Encryption<TD>0.10
88<TR><TH>RSA 2048 Decryption<TD>3.31
89<TR><TH>LUC 2048 Encryption<TD>0.11
90<TR><TH>LUC 2048 Decryption<TD>5.62
91<TR><TH>DLIES 2048 Encryption<TD>2.26
92<TR><TH>DLIES 2048 Encryption with precomputation<TD>2.69
93<TR><TH>DLIES 2048 Decryption<TD>2.31
94<TR><TH>LUCELG 1024 Encryption<TD>1.05
95<TR><TH>LUCELG 1024 Encryption with precomputation<TD>1.04
96<TR><TH>LUCELG 1024 Decryption<TD>1.03
97<TBODY style="background: yellow">
98<TR><TH>RSA 1024 Signature<TD>0.81
99<TR><TH>RSA 1024 Verification<TD>0.05
100<TR><TH>RW 1024 Signature<TD>1.20
101<TR><TH>RW 1024 Verification<TD>0.03
102<TR><TH>LUC 1024 Signature<TD>1.39
103<TR><TH>LUC 1024 Verification<TD>0.05
104<TR><TH>NR 1024 Signature<TD>0.25
105<TR><TH>NR 1024 Signature with precomputation<TD>0.26
106<TR><TH>NR 1024 Verification<TD>0.28
107<TR><TH>NR 1024 Verification with precomputation<TD>0.40
108<TR><TH>DSA 1024 Signature<TD>0.26
109<TR><TH>DSA 1024 Signature with precomputation<TD>0.26
110<TR><TH>DSA 1024 Verification<TD>0.29
111<TR><TH>DSA 1024 Verification with precomputation<TD>0.41
112<TR><TH>LUC-HMP 512 Signature<TD>0.31
113<TR><TH>LUC-HMP 512 Signature with precomputation<TD>0.31
114<TR><TH>LUC-HMP 512 Verification<TD>0.33
115<TR><TH>LUC-HMP 512 Verification with precomputation<TD>0.33
116<TR><TH>ESIGN 1023 Signature<TD>0.14
117<TR><TH>ESIGN 1023 Verification<TD>0.05
118<TR><TH>ESIGN 1536 Signature<TD>0.23
119<TR><TH>ESIGN 1536 Verification<TD>0.08
120<TBODY style="background: white">
121<TR><TH>RSA 2048 Signature<TD>3.33
122<TR><TH>RSA 2048 Verification<TD>0.10
123<TR><TH>RW 2048 Signature<TD>6.49
124<TR><TH>RW 2048 Verification<TD>0.13
125<TR><TH>LUC 2048 Signature<TD>11.24
126<TR><TH>LUC 2048 Verification<TD>0.11
127<TR><TH>NR 2048 Signature<TD>1.13
128<TR><TH>NR 2048 Signature with precomputation<TD>0.55
129<TR><TH>NR 2048 Verification<TD>1.29
130<TR><TH>NR 2048 Verification with precomputation<TD>0.87
131<TR><TH>LUC-HMP 1024 Signature<TD>1.06
132<TR><TH>LUC-HMP 1024 Signature with precomputation<TD>1.06
133<TR><TH>LUC-HMP 1024 Verification<TD>1.08
134<TR><TH>LUC-HMP 1024 Verification with precomputation<TD>1.08
135<TR><TH>ESIGN 2046 Signature<TD>0.28
136<TR><TH>ESIGN 2046 Verification<TD>0.09
137<TBODY style="background: yellow">
138<TR><TH>XTR-DH 171 Key-Pair Generation<TD>0.45
139<TR><TH>XTR-DH 171 Key Agreement<TD>0.96
140<TR><TH>XTR-DH 342 Key-Pair Generation<TD>1.01
141<TR><TH>XTR-DH 342 Key Agreement<TD>2.08
142<TR><TH>DH 1024 Key-Pair Generation<TD>0.26
143<TR><TH>DH 1024 Key-Pair Generation with precomputation<TD>0.48
144<TR><TH>DH 1024 Key Agreement<TD>0.75
145<TR><TH>DH 2048 Key-Pair Generation<TD>1.15
146<TR><TH>DH 2048 Key-Pair Generation with precomputation<TD>1.37
147<TR><TH>DH 2048 Key Agreement<TD>2.34
148<TR><TH>LUCDIF 512 Key-Pair Generation<TD>0.16
149<TR><TH>LUCDIF 512 Key-Pair Generation with precomputation<TD>0.16
150<TR><TH>LUCDIF 512 Key Agreement<TD>0.38
151<TR><TH>LUCDIF 1024 Key-Pair Generation<TD>0.54
152<TR><TH>LUCDIF 1024 Key-Pair Generation with precomputation<TD>0.54
153<TR><TH>LUCDIF 1024 Key Agreement<TD>1.06
154<TR><TH>MQV 1024 Key-Pair Generation<TD>0.24
155<TR><TH>MQV 1024 Key-Pair Generation with precomputation<TD>0.24
156<TR><TH>MQV 1024 Key Agreement<TD>0.50
157<TR><TH>MQV 2048 Key-Pair Generation<TD>1.12
158<TR><TH>MQV 2048 Key-Pair Generation with precomputation<TD>0.54
159<TR><TH>MQV 2048 Key Agreement<TD>2.12
160<TBODY style="background: white">
161<TR><TH>ECIES over GF(p) 256 Encryption<TD>3.26
162<TR><TH>ECIES over GF(p) 256 Encryption with precomputation<TD>2.51
163<TR><TH>ECIES over GF(p) 256 Decryption<TD>2.29
164<TR><TH>ECDSA over GF(p) 256 Signature<TD>1.63
165<TR><TH>ECDSA over GF(p) 256 Signature with precomputation<TD>1.28
166<TR><TH>ECDSA over GF(p) 256 Verification<TD>5.21
167<TR><TH>ECDSA over GF(p) 256 Verification with precomputation<TD>2.18
168<TR><TH>ECDHC over GF(p) 256 Key-Pair Generation<TD>1.61
169<TR><TH>ECDHC over GF(p) 256 Key-Pair Generation with precomputation<TD>1.26
170<TR><TH>ECDHC over GF(p) 256 Key Agreement<TD>1.66
171<TR><TH>ECMQVC over GF(p) 256 Key-Pair Generation<TD>1.62
172<TR><TH>ECMQVC over GF(p) 256 Key-Pair Generation with precomputation<TD>1.27
173<TR><TH>ECMQVC over GF(p) 256 Key Agreement<TD>5.21<TBODY style="background: yellow">
174
175<TR><TH>ECIES over GF(2^n) 233 Encryption<TD>15.15
176<TR><TH>ECIES over GF(2^n) 233 Encryption with precomputation<TD>4.24
177<TR><TH>ECIES over GF(2^n) 233 Decryption<TD>8.70
178<TR><TH>ECNR over GF(2^n) 233 Signature<TD>7.63
179<TR><TH>ECNR over GF(2^n) 233 Signature with precomputation<TD>2.23
180<TR><TH>ECNR over GF(2^n) 233 Verification<TD>9.35
181<TR><TH>ECNR over GF(2^n) 233 Verification with precomputation<TD>3.91
182<TR><TH>ECDHC over GF(2^n) 233 Key-Pair Generation<TD>7.52
183<TR><TH>ECDHC over GF(2^n) 233 Key-Pair Generation with precomputation<TD>2.18
184<TR><TH>ECDHC over GF(2^n) 233 Key Agreement<TD>7.69
185<TR><TH>ECMQVC over GF(2^n) 233 Key-Pair Generation<TD>7.52
186<TR><TH>ECMQVC over GF(2^n) 233 Key-Pair Generation with precomputation<TD>2.17
187<TR><TH>ECMQVC over GF(2^n) 233 Key Agreement<TD>9.35</TABLE>
188Throughput Geometric Average: 528.73
189
190Test ended at Fri Jul  3 13:35:23 2009