clear.out 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. echo=off
  2. echo start testenc
  3. path=..\ms;%path%
  4. set ssleay=%1%
  5. set input=..\ms\testenc.bat
  6. set tmp1=..\ms\cipher.out
  7. set out1=..\ms\clear.out
  8. set cmp=perl ..\ms\cmp.pl
  9. call tenc.bat enc
  10. if errorlevel 1 goto err
  11. call tenc.bat rc4
  12. if errorlevel 1 goto err
  13. call tenc.bat des-cfb
  14. if errorlevel 1 goto err
  15. call tenc.bat des-ede-cfb
  16. if errorlevel 1 goto err
  17. call tenc.bat des-ede3-cfb
  18. if errorlevel 1 goto err
  19. call tenc.bat des-ofb
  20. if errorlevel 1 goto err
  21. call tenc.bat des-ede-ofb
  22. if errorlevel 1 goto err
  23. call tenc.bat des-ede3-ofb
  24. if errorlevel 1 goto err
  25. call tenc.bat des-ecb
  26. if errorlevel 1 goto err
  27. call tenc.bat des-ede
  28. if errorlevel 1 goto err
  29. call tenc.bat des-ede3
  30. if errorlevel 1 goto err
  31. call tenc.bat des-cbc
  32. if errorlevel 1 goto err
  33. call tenc.bat des-ede-cbc
  34. if errorlevel 1 goto err
  35. call tenc.bat des-ede3-cbc
  36. if errorlevel 1 goto err
  37. call tenc.bat idea-ecb
  38. if errorlevel 1 goto err
  39. call tenc.bat idea-cfb
  40. if errorlevel 1 goto err
  41. call tenc.bat idea-ofb
  42. if errorlevel 1 goto err
  43. call tenc.bat idea-cbc
  44. if errorlevel 1 goto err
  45. call tenc.bat rc2-ecb
  46. if errorlevel 1 goto err
  47. call tenc.bat rc2-cfb
  48. if errorlevel 1 goto err
  49. call tenc.bat rc2-ofb
  50. if errorlevel 1 goto err
  51. call tenc.bat rc2-cbc
  52. if errorlevel 1 goto err
  53. call tenc.bat bf-ecb
  54. if errorlevel 1 goto err
  55. call tenc.bat bf-cfb
  56. if errorlevel 1 goto err
  57. call tenc.bat bf-ofb
  58. if errorlevel 1 goto err
  59. call tenc.bat bf-cbc
  60. if errorlevel 1 goto err
  61. echo OK
  62. del %out1%
  63. del %tmp1%
  64. :err