aboutsummaryrefslogtreecommitdiff
path: root/util/mkdef.pl
AgeCommit message (Collapse)AuthorFilesLines
2015-09-09RT3992: Make SCT #ifdeffable.David Woodhouse1-2/+6
This code does open-coded division on 64-bit quantities and thus when building with GCC on 32-bit platforms will require functions such as __umoddi3 and __udivdi3 from libgcc. In constrained environments such as firmware, those functions may not be available. So make it possible to compile out SCT support, which in fact (in the case of UEFI) we don't need anyway. Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-09-04RT3998: Allow scrypt to be disabledRich Salz1-1/+4
This does 64-bit division and multiplication, and on 32-bit platforms pulls in libgcc symbols (and MSVC does similar) which may not be available. Mostly done by David Woodhouse. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
2015-09-03Revert "OPENSSL_NO_xxx cleanup: RFC3779"David Woodhouse1-1/+5
This reverts the non-cleanup parts of commit c73ad69017. We do actually have a reasonable use case for OPENSSL_NO_RFC3779 in the EDK2 UEFI build, since we don't have a strspn() function in our runtime environment and we don't want the RFC3779 functionality anyway. In addition, it changes the default behaviour of the Configure script so that RFC3779 support isn't disabled by default. It was always disabled from when it was first added in 2006, right up until the point where OPENSSL_NO_RFC3779 was turned into a no-op, and the code in the Configure script was left *trying* to disable it, but not actually working. Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-05-22Remove support for OPENSSL_NO_TLSEXTMatt Caswell1-4/+2
Given the pervasive nature of TLS extensions it is inadvisable to run OpenSSL without support for them. It also means that maintaining the OPENSSL_NO_TLSEXT option within the code is very invasive (and probably not well tested). Therefore it is being removed. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-05-14Update mkdef for moved header file.Rich Salz1-1/+1
crypto/cryptlib.h moved to crypto/include/internal; update the script. Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-05-14Identify and move OpenSSL internal header filesRichard Levitte1-2/+2
There are header files in crypto/ that are used by the rest of OpenSSL. Move those to include/internal and adapt the affected source code, Makefiles and scripts. The header files that got moved are: crypto/constant_time_locl.h crypto/o_dir.h crypto/o_str.h Reviewed-by: Matt Caswell <matt@openssl.org>
2015-05-13Remove remaining Kerberos referencesMatt Caswell1-5/+2
Following on from the removal of libcrypto and libssl support for Kerberos this commit removes all remaining references to Kerberos. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-05-13Remove Kerberos support from libsslMatt Caswell1-1/+0
Remove RFC2712 Kerberos support from libssl. This code and the associated standard is no longer considered fit-for-purpose. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-04-03remove asn1_mac.hDr. Stephen Henson1-1/+0
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-03-31Stop symlinking, move files to intended directoryRichard Levitte1-69/+69
Rather than making include/openssl/foo.h a symlink to crypto/foo/foo.h, this change moves the file to include/openssl/foo.h once and for all. Likewise, move crypto/foo/footest.c to test/footest.c, instead of symlinking it there. Originally-by: Geoff Thorpe <geoff@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-03-24Teach mkdef.pl to handle multiline declarations.Richard Levitte1-3/+16
For the moment, this is specially crafted for DECLARE_DEPRECATED because that's where we found the problem, but it can easily be expanded to other types of special delarations when needed. Reviewed-by: Matt Caswell <matt@openssl.org>
2015-02-06Remove ui_compatRich Salz1-1/+1
This is the last of the old DES API. Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-02-06Have mkdef.pl ignore APPLINK settings.Rich Salz1-20/+6
Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-02-06Remove OPENSSL_NO_HMACDr. Stephen Henson1-3/+1
Disabling HMAC doesn't work. If it did it would end up disabling a lot of OpenSSL functionality (it is required for all versions of TLS for example). Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-02-04Fix various build breaksRich Salz1-3/+3
TABLE wasn't updated from a previous Configure change Missed an RMD160/RIPE/RIPEMD unification in mkdef.pl Makefile install_sw referenced file doc/openssl-shared.txt (RT3686) Needed to run 'make update' because - Various old code has been removed - Varous old #ifdef tests were removed Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-02-02old_des fix windows build, remove docsRich Salz1-1/+1
Remove outdated doc files. Fix windows build after old_des was removed. Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-31Remove OPENSSL_NO_SSL_INTERN as it is now redundant - all internalsMatt Caswell1-2/+0
previously protected by this have been moved into non-public headers Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-01-28Fix various windows compilation issuesMatt Caswell1-1/+1
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-28Fix no-ocb for WindowsMatt Caswell1-2/+6
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-27OPENSSL_NO_xxx cleanup: SHARich Salz1-1/+0
Remove support for SHA0 and DSS0 (they were broken), and remove the ability to attempt to build without SHA (it didn't work). For simplicity, remove the option of not building various SHA algorithms; you could argue that SHA_224/256/384/512 should be kept, since they're like crypto algorithms, but I decided to go the other way. So these options are gone: GENUINE_DSA OPENSSL_NO_SHA0 OPENSSL_NO_SHA OPENSSL_NO_SHA1 OPENSSL_NO_SHA224 OPENSSL_NO_SHA256 OPENSSL_NO_SHA384 OPENSSL_NO_SHA512 Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-01-27OPENSSL_NO_xxx cleanup: RFC3779Rich Salz1-5/+1
Remove OPENSSL_NO_RFCF3779. Also, makevms.com was ignored by some of the other cleanups, so I caught it up. Sorry I ignored you, poor little VMS... Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-01-12RT3548: Remove unsupported platformsRich Salz1-33/+8
This last one for this ticket. Removes WIN16. So long, MS_CALLBACK and MS_FAR. We won't miss you. Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-01-12Fix no-deprecated on WindowsMatt Caswell1-0/+1
Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-19RT3548: Remove outdated platformsRich Salz1-1/+1
This commit removes all mention of NeXT and NextStep. Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-18Turn on OPENSSL_NO_DEPRECATED by default.Matt Caswell1-0/+28
Also introduce OPENSSL_USE_DEPRECATED. If OPENSSL_NO_DEPRECATED is defined at config stage then OPENSSL_USE_DEPRECATED has no effect - deprecated functions are not available. If OPENSSL_NO_DEPRECATED is not defined at config stage then applications must define OPENSSL_USE_DEPRECATED in order to access deprecated functions. Also introduce compiler warnings for gcc for applications using deprecated functions Reviewed-by: Rich Salz <rsalz@openssl.org>
2014-12-08Remove fips.h reference.Dr. Stephen Henson1-1/+0
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-04Remove SSLv2 supportKurt Roeckx1-5/+1
The only support for SSLv2 left is receiving a SSLv2 compatible client hello. Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-11-19New option no-ssl3-method which removes SSLv3_*methodDr. Stephen Henson1-1/+5
When no-ssl3 is set only make SSLv3 disabled by default. Retain -ssl3 options for s_client/s_server/ssltest. When no-ssl3-method is set SSLv3_*method() is removed and all -ssl3 options. We should document this somewhere, e.g. wiki, FAQ or manual page. Reviewed-by: Emilia Käsper <emilia@openssl.org>
2014-10-15Fix SRTP compile issues for windowsMatt Caswell1-3/+7
Related to CVE-2014-3513 This fix was developed by the OpenSSL Team Reviewed-by: Tim Hudson <tjh@openssl.org> Conflicts: util/mkdef.pl util/ssleay.num
2014-07-24Add conditional unit testing interface.Dr. Stephen Henson1-1/+6
Don't call internal functions directly call them through SSL_test_functions(). This also makes unit testing work on Windows and platforms that don't export internal functions from shared libraries. By default unit testing is not enabled: it requires the compile time option "enable-unit-test". Reviewed-by: Geoff Thorpe <geoff@openssl.org>
2014-07-19Windows build fixes.Dr. Stephen Henson1-0/+1
Add cmac.h to mkdef.pl Remove ENGINE_load_rsax from engine.h: no longer built. Update ordinals Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-04-25util/mkdef.pl: o_time.h doesn't exist any moreGeoff Thorpe1-1/+0
o_time.h was removed in commit ff49a94, which breaks "make update" unless mkdir.pl is updated accordingly. Signed-off-by: Geoff Thorpe <geoff@openssl.org>
2012-07-01recognise OPENSSL_NO_SSL_TRACEDr. Stephen Henson1-3/+7
2011-12-31recognise HEARTBEATS in mkdef.pl scriptDr. Stephen Henson1-1/+1
2011-12-25recognise SCTP in mkdef.pl scriptDr. Stephen Henson1-2/+6
2011-12-23recognise DECLARE_PEM_write_const, update ordinalsDr. Stephen Henson1-0/+1
2011-11-22add cryptlib.h to mkdef.plDr. Stephen Henson1-0/+1
2011-11-21add strp.h to mkdef.pl headersDr. Stephen Henson1-0/+1
2011-10-19Fix warnings.Bodo Möller1-3/+3
Also, use the common Configure mechanism for enabling/disabling the 64-bit ECC code.
2011-06-12Don't export functions marked as FIPSCAPABLE.Dr. Stephen Henson1-1/+6
2011-05-13Typo.Dr. Stephen Henson1-2/+2
2011-05-13typoDr. Stephen Henson1-1/+0
2011-05-13Recognise NO_NISTP224-64-GCC-128Dr. Stephen Henson1-1/+5
2011-05-12Add SSL_INTERN definition.Dr. Stephen Henson1-1/+3
2011-03-25* Configure, crypto/ec/ec.h, crypto/ec/ecp_nistp224.c, util/mkdef.pl:Richard Levitte1-0/+2
Have EC_NISTP224_64_GCC_128 treated like any algorithm, and have disabled by default. If we don't do it this way, it screws up libeay.num. * util/libeay.num: make update
2011-03-22* util/mkdef.pl: Add crypto/o_str.h and crypto/o_time.h. Maybe someRichard Levitte1-0/+2
more need to be added...
2011-03-12Add SRP support.Ben Laurie1-1/+5
2011-02-12Make no-ec2m work on Win32 build. Add nexprotoneg support too.Dr. Stephen Henson1-2/+8
2011-02-03Add FIPS support to mkdef.pl script, update ordinals.Dr. Stephen Henson1-1/+8
2010-07-25Add modes.h and cmac to WIN32 build system.Dr. Stephen Henson1-0/+1