2
0

x86asm.sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/bin/sh
  2. echo Generating x86 assember
  3. echo Bignum
  4. (cd crypto/bn/asm; perl x86.pl cpp > bn86unix.cpp)
  5. (cd crypto/bn/asm; perl x86.pl win32 > bn-win32.asm)
  6. echo DES
  7. (cd crypto/des/asm; perl des-586.pl cpp > dx86unix.cpp)
  8. (cd crypto/des/asm; perl des-586.pl win32 > d-win32.asm)
  9. echo "crypt(3)"
  10. (cd crypto/des/asm; perl crypt586.pl cpp > yx86unix.cpp)
  11. (cd crypto/des/asm; perl crypt586.pl win32 > y-win32.asm)
  12. echo Blowfish
  13. (cd crypto/bf/asm; perl bf-586.pl cpp > bx86unix.cpp)
  14. (cd crypto/bf/asm; perl bf-586.pl win32 > b-win32.asm)
  15. echo CAST5
  16. (cd crypto/cast/asm; perl cast-586.pl cpp > cx86unix.cpp)
  17. (cd crypto/cast/asm; perl cast-586.pl win32 > c-win32.asm)
  18. echo RC4
  19. (cd crypto/rc4/asm; perl rc4-586.pl cpp > rx86unix.cpp)
  20. (cd crypto/rc4/asm; perl rc4-586.pl win32 > r4-win32.asm)
  21. echo MD5
  22. (cd crypto/md5/asm; perl md5-586.pl cpp > mx86unix.cpp)
  23. (cd crypto/md5/asm; perl md5-586.pl win32 > m5-win32.asm)
  24. echo SHA1
  25. (cd crypto/sha/asm; perl sha1-586.pl cpp > sx86unix.cpp)
  26. (cd crypto/sha/asm; perl sha1-586.pl win32 > s1-win32.asm)
  27. echo RIPEMD160
  28. (cd crypto/ripemd/asm; perl rmd-586.pl cpp > rm86unix.cpp)
  29. (cd crypto/ripemd/asm; perl rmd-586.pl win32 > rm-win32.asm)
  30. echo RC5/32
  31. (cd crypto/rc5/asm; perl rc5-586.pl cpp > r586unix.cpp)
  32. (cd crypto/rc5/asm; perl rc5-586.pl win32 > r5-win32.asm)