2
0

testencce.bat 1.6 KB

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