1 ; Don't even think of reading this code
2 ; It was automatically generated by bn-586.pl
3 ; Which is a perl program used to generate the x86 assember for
4 ; any of elf, a.out, BSDI,Win32, or Solaris
5 ; eric <eay@cryptsoft.com>
11 PUBLIC _bn_mul_add_words
13 _bn_mul_add_words PROC NEAR
20 mov edi, DWORD PTR 20[esp]
21 mov ecx, DWORD PTR 28[esp]
22 mov ebx, DWORD PTR 24[esp]
24 mov ebp, DWORD PTR 32[esp]
28 mov DWORD PTR [esp],ecx
30 mov eax, DWORD PTR [ebx]
33 mov esi, DWORD PTR [edi]
37 mov DWORD PTR [edi],eax
40 mov eax, DWORD PTR 4[ebx]
43 mov esi, DWORD PTR 4[edi]
47 mov DWORD PTR 4[edi],eax
50 mov eax, DWORD PTR 8[ebx]
53 mov esi, DWORD PTR 8[edi]
57 mov DWORD PTR 8[edi],eax
60 mov eax, DWORD PTR 12[ebx]
63 mov esi, DWORD PTR 12[edi]
67 mov DWORD PTR 12[edi],eax
70 mov eax, DWORD PTR 16[ebx]
73 mov esi, DWORD PTR 16[edi]
77 mov DWORD PTR 16[edi],eax
80 mov eax, DWORD PTR 20[ebx]
83 mov esi, DWORD PTR 20[edi]
87 mov DWORD PTR 20[edi],eax
90 mov eax, DWORD PTR 24[ebx]
93 mov esi, DWORD PTR 24[edi]
97 mov DWORD PTR 24[edi],eax
100 mov eax, DWORD PTR 28[ebx]
103 mov esi, DWORD PTR 28[edi]
107 mov DWORD PTR 28[edi],eax
110 mov ecx, DWORD PTR [esp]
116 mov ecx, DWORD PTR 32[esp]
122 mov eax, DWORD PTR [ebx]
125 mov esi, DWORD PTR [edi]
130 mov DWORD PTR [edi],eax
134 mov eax, DWORD PTR 4[ebx]
137 mov esi, DWORD PTR 4[edi]
142 mov DWORD PTR 4[edi],eax
146 mov eax, DWORD PTR 8[ebx]
149 mov esi, DWORD PTR 8[edi]
154 mov DWORD PTR 8[edi],eax
158 mov eax, DWORD PTR 12[ebx]
161 mov esi, DWORD PTR 12[edi]
166 mov DWORD PTR 12[edi],eax
170 mov eax, DWORD PTR 16[ebx]
173 mov esi, DWORD PTR 16[edi]
178 mov DWORD PTR 16[edi],eax
182 mov eax, DWORD PTR 20[ebx]
185 mov esi, DWORD PTR 20[edi]
190 mov DWORD PTR 20[edi],eax
194 mov eax, DWORD PTR 24[ebx]
197 mov esi, DWORD PTR 24[edi]
201 mov DWORD PTR 24[edi],eax
211 _bn_mul_add_words ENDP
216 _bn_mul_words PROC NEAR
223 mov edi, DWORD PTR 20[esp]
224 mov ebx, DWORD PTR 24[esp]
225 mov ebp, DWORD PTR 28[esp]
226 mov ecx, DWORD PTR 32[esp]
231 mov eax, DWORD PTR [ebx]
235 mov DWORD PTR [edi],eax
238 mov eax, DWORD PTR 4[ebx]
242 mov DWORD PTR 4[edi],eax
245 mov eax, DWORD PTR 8[ebx]
249 mov DWORD PTR 8[edi],eax
252 mov eax, DWORD PTR 12[ebx]
256 mov DWORD PTR 12[edi],eax
259 mov eax, DWORD PTR 16[ebx]
263 mov DWORD PTR 16[edi],eax
266 mov eax, DWORD PTR 20[ebx]
270 mov DWORD PTR 20[edi],eax
273 mov eax, DWORD PTR 24[ebx]
277 mov DWORD PTR 24[edi],eax
280 mov eax, DWORD PTR 28[ebx]
284 mov DWORD PTR 28[edi],eax
293 mov ebp, DWORD PTR 28[esp]
299 mov eax, DWORD PTR [ebx]
303 mov DWORD PTR [edi],eax
308 mov eax, DWORD PTR 4[ebx]
312 mov DWORD PTR 4[edi],eax
317 mov eax, DWORD PTR 8[ebx]
321 mov DWORD PTR 8[edi],eax
326 mov eax, DWORD PTR 12[ebx]
330 mov DWORD PTR 12[edi],eax
335 mov eax, DWORD PTR 16[ebx]
339 mov DWORD PTR 16[edi],eax
344 mov eax, DWORD PTR 20[ebx]
348 mov DWORD PTR 20[edi],eax
353 mov eax, DWORD PTR 24[ebx]
357 mov DWORD PTR 24[edi],eax
371 _bn_sqr_words PROC NEAR
377 mov esi, DWORD PTR 20[esp]
378 mov edi, DWORD PTR 24[esp]
379 mov ebx, DWORD PTR 28[esp]
384 mov eax, DWORD PTR [edi]
386 mov DWORD PTR [esi],eax
387 mov DWORD PTR 4[esi],edx
389 mov eax, DWORD PTR 4[edi]
391 mov DWORD PTR 8[esi],eax
392 mov DWORD PTR 12[esi],edx
394 mov eax, DWORD PTR 8[edi]
396 mov DWORD PTR 16[esi],eax
397 mov DWORD PTR 20[esi],edx
399 mov eax, DWORD PTR 12[edi]
401 mov DWORD PTR 24[esi],eax
402 mov DWORD PTR 28[esi],edx
404 mov eax, DWORD PTR 16[edi]
406 mov DWORD PTR 32[esi],eax
407 mov DWORD PTR 36[esi],edx
409 mov eax, DWORD PTR 20[edi]
411 mov DWORD PTR 40[esi],eax
412 mov DWORD PTR 44[esi],edx
414 mov eax, DWORD PTR 24[edi]
416 mov DWORD PTR 48[esi],eax
417 mov DWORD PTR 52[esi],edx
419 mov eax, DWORD PTR 28[edi]
421 mov DWORD PTR 56[esi],eax
422 mov DWORD PTR 60[esi],edx
429 mov ebx, DWORD PTR 28[esp]
433 mov eax, DWORD PTR [edi]
435 mov DWORD PTR [esi],eax
437 mov DWORD PTR 4[esi],edx
440 mov eax, DWORD PTR 4[edi]
442 mov DWORD PTR 8[esi],eax
444 mov DWORD PTR 12[esi],edx
447 mov eax, DWORD PTR 8[edi]
449 mov DWORD PTR 16[esi],eax
451 mov DWORD PTR 20[esi],edx
454 mov eax, DWORD PTR 12[edi]
456 mov DWORD PTR 24[esi],eax
458 mov DWORD PTR 28[esi],edx
461 mov eax, DWORD PTR 16[edi]
463 mov DWORD PTR 32[esi],eax
465 mov DWORD PTR 36[esi],edx
468 mov eax, DWORD PTR 20[edi]
470 mov DWORD PTR 40[esi],eax
472 mov DWORD PTR 44[esi],edx
475 mov eax, DWORD PTR 24[edi]
477 mov DWORD PTR 48[esi],eax
478 mov DWORD PTR 52[esi],edx
495 mov edx, DWORD PTR 20[esp]
496 mov eax, DWORD PTR 24[esp]
497 mov ebx, DWORD PTR 28[esp]
509 _bn_add_words PROC NEAR
515 mov ebx, DWORD PTR 20[esp]
516 mov esi, DWORD PTR 24[esp]
517 mov edi, DWORD PTR 28[esp]
518 mov ebp, DWORD PTR 32[esp]
524 mov ecx, DWORD PTR [esi]
525 mov edx, DWORD PTR [edi]
531 mov DWORD PTR [ebx],ecx
533 mov ecx, DWORD PTR 4[esi]
534 mov edx, DWORD PTR 4[edi]
540 mov DWORD PTR 4[ebx],ecx
542 mov ecx, DWORD PTR 8[esi]
543 mov edx, DWORD PTR 8[edi]
549 mov DWORD PTR 8[ebx],ecx
551 mov ecx, DWORD PTR 12[esi]
552 mov edx, DWORD PTR 12[edi]
558 mov DWORD PTR 12[ebx],ecx
560 mov ecx, DWORD PTR 16[esi]
561 mov edx, DWORD PTR 16[edi]
567 mov DWORD PTR 16[ebx],ecx
569 mov ecx, DWORD PTR 20[esi]
570 mov edx, DWORD PTR 20[edi]
576 mov DWORD PTR 20[ebx],ecx
578 mov ecx, DWORD PTR 24[esi]
579 mov edx, DWORD PTR 24[edi]
585 mov DWORD PTR 24[ebx],ecx
587 mov ecx, DWORD PTR 28[esi]
588 mov edx, DWORD PTR 28[edi]
594 mov DWORD PTR 28[ebx],ecx
602 mov ebp, DWORD PTR 32[esp]
606 mov ecx, DWORD PTR [esi]
607 mov edx, DWORD PTR [edi]
614 mov DWORD PTR [ebx],ecx
617 mov ecx, DWORD PTR 4[esi]
618 mov edx, DWORD PTR 4[edi]
625 mov DWORD PTR 4[ebx],ecx
628 mov ecx, DWORD PTR 8[esi]
629 mov edx, DWORD PTR 8[edi]
636 mov DWORD PTR 8[ebx],ecx
639 mov ecx, DWORD PTR 12[esi]
640 mov edx, DWORD PTR 12[edi]
647 mov DWORD PTR 12[ebx],ecx
650 mov ecx, DWORD PTR 16[esi]
651 mov edx, DWORD PTR 16[edi]
658 mov DWORD PTR 16[ebx],ecx
661 mov ecx, DWORD PTR 20[esi]
662 mov edx, DWORD PTR 20[edi]
669 mov DWORD PTR 20[ebx],ecx
672 mov ecx, DWORD PTR 24[esi]
673 mov edx, DWORD PTR 24[edi]
679 mov DWORD PTR 24[ebx],ecx