1. 14 2月, 2002 1 次提交
  2. 03 1月, 2002 1 次提交
    • R
      Because Rijndael is more known as AES, use crypto/aes instead of · 6f9079fd
      Richard Levitte 提交于
      crypto/rijndael.  Additionally, I applied the AES integration patch
      from Stephen Sprunk <stephen@sprunk.org> and fiddled it to work
      properly with the normal EVP constructs (and incidently work the same
      way as all other symmetric cipher implementations).
      
      This results in an API that looks a lot like the rest of the OpenSSL
      cipher suite.
      6f9079fd
  3. 25 10月, 2001 1 次提交
    • R
      Due to an increasing number of clashes between modern OpenSSL and · c2e4f17c
      Richard Levitte 提交于
      libdes (which is still used out there) or other des implementations,
      the OpenSSL DES functions are renamed to begin with DES_ instead of
      des_.  Compatibility routines are provided and declared by including
      openssl/des_old.h.  Those declarations are the same as were in des.h
      when the OpenSSL project started, which is exactly how libdes looked
      at that time, and hopefully still looks today.
      
      The compatibility functions will be removed in some future release, at
      the latest in version 1.0.
      c2e4f17c
  4. 26 9月, 2001 1 次提交
    • R
      Two changes: · 89eeccac
      Richard Levitte 提交于
      1. if there are several symbols with the same entry number, sort those
         symbols in ASCII order.
      2. Do not stop reading the header files when "BEGIN ERROR CODES" is
         found, since mkerr.pl will add a function declaration after that
         comment.  Instead, trigger on "Error codes for the \w+ function",
         which is the actual start of the error code macros.
      
      Additionally, a few more debugging printouts that helped.
      89eeccac
  5. 11 7月, 2001 1 次提交
  6. 13 5月, 2001 3 次提交
  7. 07 5月, 2001 1 次提交
  8. 27 4月, 2001 1 次提交
  9. 26 4月, 2001 1 次提交
  10. 10 3月, 2001 1 次提交
    • D
      · b4f682d3
      Dr. Stephen Henson 提交于
      Add the 'ec' directory to mkdef.pl and mkfiles.pl
      so the Windows build can see it.
      
      Fixup mkdef.pl so it doesn't mess up with function
      names longer than 39 characters in length.
      b4f682d3
  11. 02 3月, 2001 2 次提交
    • R
      Sort platforms lexicographically as well. Also, support more than two · c454dbcd
      Richard Levitte 提交于
      variants of a symbol.
      c454dbcd
    • R
      Introduce the possibility to access global variables through · 62dc5aad
      Richard Levitte 提交于
      functions on platform were that's the best way to handle exporting
      global variables in shared libraries.  To enable this functionality,
      one must configure with "EXPORT_VAR_AS_FN" or defined the C macro
      "OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter
      is normally done by Configure or something similar).
      
      To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL
      in the source file (foo.c) like this:
      
      	OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1;
      	OPENSSL_IMPLEMENT_GLOBAL(double,bar);
      
      To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL
      and OPENSSL_GLOBAL_REF in the header file (foo.h) like this:
      
      	OPENSSL_DECLARE_GLOBAL(int,foo);
      	#define foo OPENSSL_GLOBAL_REF(foo)
      	OPENSSL_DECLARE_GLOBAL(double,bar);
      	#define bar OPENSSL_GLOBAL_REF(bar)
      
      The #defines are very important, and therefore so is including the
      header file everywere where the defined globals are used.
      
      The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition
      of ASN.1 items, but that structure is a bt different.
      
      The largest change is in util/mkdef.pl which has been enhanced with
      better and easier to understand logic to choose which symbols should
      go into the Windows .def files as well as a number of fixes and code
      cleanup (among others, algorithm keywords are now sorted
      lexicographically to avoid constant rewrites).
      62dc5aad
  12. 22 2月, 2001 1 次提交
  13. 21 2月, 2001 1 次提交
  14. 20 2月, 2001 1 次提交
    • R
      Make all configuration macros available for application by making · cf1b7d96
      Richard Levitte 提交于
      sure they are available in opensslconf.h, by giving them names starting
      with "OPENSSL_" to avoid conflicts with other packages and by making
      sure e_os2.h will cover all platform-specific cases together with
      opensslconf.h.
      
      I've checked fairly well that nothing breaks with this (apart from
      external software that will adapt if they have used something like
      NO_KRB5), but I can't guarantee it completely, so a review of this
      change would be a good thing.
      cf1b7d96
  15. 19 2月, 2001 1 次提交
  16. 10 2月, 2001 1 次提交
  17. 09 2月, 2001 1 次提交
  18. 31 12月, 2000 1 次提交
  19. 29 12月, 2000 1 次提交
    • R
      Enhancements to mkdef.pl: · 3f07fe09
      Richard Levitte 提交于
      * detect "unknown" algorithms (any C macro starting with NO_ that is
        not explicitely mentioned in mkdef.pl as a known algorithm) and
        report.
      * add a number of algorithms that can be deselected.
      * look in ssl/kssl.h as well.
      * accept multiple whitespace (not just one SPC) in preprocessor lines.
      3f07fe09
  20. 21 12月, 2000 1 次提交
    • D
      Various Win32 related fixes. Doesn't compile yet on · 3c07b4c2
      Dr. Stephen Henson 提交于
      Win32 but it is getting there...
      
      Update mkdef.pl to handle ASN1_ANY and fix headers.
      
      Stop various VC++ warnings.
      
      Include some fixes from "Peter 'Luna' Runestig"
      <peter@runestig.com>
      
      Remove external declaration for des_set_weak_key_flag:
      it doesn't exist.
      3c07b4c2
  21. 16 12月, 2000 1 次提交
  22. 14 11月, 2000 3 次提交
  23. 09 11月, 2000 1 次提交
  24. 27 10月, 2000 2 次提交
  25. 25 9月, 2000 1 次提交
  26. 20 9月, 2000 1 次提交
  27. 17 9月, 2000 2 次提交
  28. 12 9月, 2000 2 次提交
  29. 07 9月, 2000 1 次提交
  30. 18 8月, 2000 1 次提交
  31. 14 8月, 2000 1 次提交
  32. 21 6月, 2000 1 次提交
    • D
      · 13083215
      Dr. Stephen Henson 提交于
      Fixes for Win32 build.
      
      This is mostly a work around for the old VC++ problem
      that it treats func() as func(void).
      
      Various prototypes had been added to 'compare' function
      pointers that triggered this. This could be fixed by removing
      the prototype, adding function pointer casts to every call or
      changing the passed function to use the expected arguments.
      I mostly did the latter.
      
      The mkdef.pl script was modified to remove the typesafe
      functions which no longer exist.
      
      Oh and some functions called OPENSSL_freeLibrary() were
      changed back to FreeLibrary(), wonder how that happened :-)
      13083215