crypto


Log

Author Commit Date CI Message
Brent Cook 3fb9e63b 2018-03-14T07:29:04 bump base requirement to Windows Vista, use builtin inet_ntop/pton
kinichiro 413956f4 2018-02-25T01:42:03 Add bio_meth.c
kinichiro f4d2b810 2017-09-01T23:37:09 Remove rsa/rsa_ssl.c
Brent Cook 9e7fd1fa 2017-08-13T16:04:03 declare struct timezone outside of the function declaration
Brent Cook 94e4224f 2017-08-12T10:05:30 don't build empty object files
Brent Cook 70ee57c6 2017-07-09T05:12:21 Land #328, generate the crypto export symbol list at build time
Brent Cook 9b88fa46 2017-07-08T17:46:16 generate the crypto export symbol list at build time we currently do it at configure time, which makes this a generated source, but generated sources should be cleaned up, which breaks 'make clean; make'
d3x0r a4d80ca5 2017-07-06T23:11:11 Merge branch 'master' of https://github.com/libressl-portable/portable into SkipInstall Fix merge conflicts from GNUInstallDirs merge to master.
d3x0r 2557dd74 2017-07-06T02:09:44 Add option LIBRESSL_SKIP_INSTALL Internally LIBRESSL_SKIP_INSTALL, if not set becomes ENABLE_LIBRESSL_INSTALL so this by default is enabled. defining LIBRESSL_SKIP_INSTALL before hand will disable all install() rules. This is useful if another project includes and links to this statically. I chose to add a prefix to avoid potential name collision because the options are cached globally. If the installation is skipped, maybe it should also disable building apps? I didn't do that.
d3x0r a2bd5eba 2017-07-06T01:49:43 use GNUInstallDirs from cmake to specify install paths. Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
Brent Cook 8b80bcda 2017-06-11T11:21:34 re-add getpagesize fallback, needed for Android
kinichiro 63042e98 2017-05-02T00:21:57 Add HKDF functionality
Brent Cook 993f5cf6 2017-04-28T00:26:40 add back copyright notice from OpenBSD malloc.c from which this came.
kinichiro 048625cf 2017-04-22T23:08:17 Add freezero support
Brent Cook 922cd9c9 2017-04-10T09:30:29 move crypto_portable.sym to builddir
Brent Cook 764ab1e6 2017-03-16T19:25:42 remove sysconf fallback for now
Brent Cook d5b247cc 2017-03-16T19:23:36 Land #297, Add recallocarray
Brent Cook 8622dc75 2017-03-16T18:53:12 Land #288, update conditions under which getentropy, arc4random* are exported
kinichiro c61c9821 2017-03-15T21:02:22 Add support for getpagesize
kinichiro 8877e9bc 2017-03-09T22:49:04 Add recallocarray
kinichiro f2c14deb 2017-03-01T00:49:38 Add crypto/evp/m_md5_sha1.c
kinichiro 5297e9d4 2017-02-20T10:28:49 Fix condition of arc4random* and getentropy for Cygwin build - Fix the condition of exporting getentropy - Modify the CMake condition of including arc4random_uniform as same as autoconf
kinichiro c957ff63 2017-02-01T01:13:09 Fix SYSerr and BIOerr in b_win.c
kinichiro 58eb645f 2017-01-28T03:40:38 Copy libc compat files rather than adding into the repository - remove the CP_LIBC files from repo - move tests/memmem.c to tests/compat/
kinichiro 91a8bd79 2017-01-25T19:37:29 Move strsep.c to crypto/compat/ and add ocspcheck build to CMake
Brent Cook fa149b8c 2017-01-22T19:55:54 updates for new tests and layout
Brent Cook 91f771f9 2017-01-18T22:45:31 add missing ecp_nist*.c files
Brent Cook 301d50ea 2017-01-18T22:58:04 check if EXTRA_EXPORT is set, fix cmake builds on OpenBSD
kinichiro 484feaae 2017-01-18T20:37:44 Stop generating .def files by update.sh
kinichiro 3276be12 2017-01-18T20:26:49 Add export symbol support to CMake for libcrypto
Brent Cook 3b2560fe 2017-01-16T10:36:05 MSVSC fixes
Brent Cook f21bd20c 2017-01-16T09:56:20 add open(2) shim to handle O_BINARY and O_CLOEXEC
Brent Cook c53c23c5 2017-01-15T10:17:32 enable tlstest on win32
Brent Cook 69e2a7fb 2017-01-15T10:02:37 handle EBADF, which is returned when a file is passed
kinichiro 1d934cd2 2017-01-15T18:09:13 Fix to use -export-symbols for libcrypto - generating platform specific crypto/crypto_portable.sym from crypto.sym
Matt Stancliff 63add73d 2017-01-12T13:41:40 Define CMake library object lists globally OBJECT collections in CMake don't generate any artifacts so these are safe to hoist out and define globally. library OBJECT targets are just a list of filenames. It can be useful for other projects to include lists of sources directly regardless of build mode (shared, static, or library).
kinichiro 7054105f 2016-12-26T21:53:29 implement support for hiding symbols in libcrypto - delete crypto.def and generate it from Symbols.list - remove BIO_s_log since bss_log.c is not included on Windows - add Windows specific symbols by crypto/crypto_win.list
kinichiro f51c1b38 2016-11-06T21:56:25 Fix for tests on Visual Studio - always link static ssl library for tests - copy DLLs for openssl.exe after building tests - add functions to crypto.def
Brent Cook d38ab0a3 2016-11-06T02:37:15 include vpm_int.h
kinichiro 5f187770 2016-11-06T04:57:23 Add curve25519 to portable
Brent Cook 58422156 2016-11-05T10:43:06 remove duplicate libcrypto static link
Brent Cook 9d14220b 2016-11-05T10:42:02 export ASN1_time_parse
Brent Cook 70805a3e 2016-11-05T09:53:03 remove more KRB5
Brent Cook c2ec622b 2016-11-05T09:44:01 remove defined symbols
Brent Cook 34836241 2016-11-05T06:24:55 remove krb5 from cmake
Brent Cook 19457d72 2016-11-05T06:16:19 enable preprocessor on all ASM files with cmake
Brent Cook 659aff9f 2016-11-05T05:21:29 updates for latest build changes
kinichiro 62f2a730 2016-09-06T23:25:28 export DLLs functions for MSVC with CMake - Add 3 DEF files to export functions from Windows DLLs - Add gettimeofday to crypto/crypto.def (*1) - Remove gai_strerrorA from tls/tls.def (*1) - Fix CMakeLists.txt to use DEF files as PRIVATE - Change DLL import library file name since it duplicates with static library - Ignore compiler warning C4267, and Edit CMAKE_C_FLAGS not to overwrite it (*1) - Add USE_SHARED option to build openssl.exe with shared libraries (*1) (*1) recommended by @mcnameej
Satoshi Yasushima 829b2158 2016-08-25T18:17:27 build Windows DLL on CMake like below. * libcrypto-38.dll * libssl-39.dll * libtls-11.dll
Satoshi Yasushima 97189276 2016-08-25T18:17:12 build MinGW on CMake
Tamer Saadeh 2d987d32 2016-08-07T11:56:14 compat gentroy() for macs is called gentropy_osx.c
Brent Cook a7f754a6 2016-07-31T17:11:19 set link library dependencies with MSVC, fixes #221
Brent Cook 40974784 2016-05-02T22:46:25 add constant_time_locl.h
kinichiro bda62f7f 2016-04-11T12:59:23 add cmake build options - add cmake build options as configure provides * -DENABLE_ASM (default ON) * -DENABLE_EXTRATESTS (default OFF) * -DENABLE_NC (default OFF) * -DOPENSSLDIR (default ${CMAKE_INSTALL_PREFIX}/etc/ssl) - add biotest and pidwraptest if ENABLE_EXTRATESTS is ON - add compiler flag `-fno-common` if CMAKE_SYSTEM_NAME is Darwin to prevent link error Undefined symbols "_OPENSSL_ia32cap_P"
Brent Cook 752ad82d 2016-04-09T12:08:26 Land #188, add ASM support for cmake builds
kinichiro 2510a5e6 2016-04-07T15:08:12 modify cmake to build nc - modify structure of CMakeLists.txt under apps/ * move apps/CMakeLists.txt to apps/openssl/ since this is for openssl build * create new apps/nc/CMakeLists.txt for nc build * modify apps/CMakeLists.txt just add_subdirectory() - add checking and compile of arc4random_uniform() - add installing man files, openssl.1 and nc.1
kinichiro e1f8a1e1 2016-04-08T15:09:07 modify cmake to build ASM - add functionality compiling ASM with cmake - to enable ASM, `cmake -DENABLE_ASM=on ..`
kinichiro 3207606f 2016-04-04T11:28:46 fix cmake on HP-UX - CMakeLists.txt * add OS specific compiler flags and library * add checking size of time_t * add checking memmem() - tests/CMakeLists.txt * add if(HAVE_MEMMEM) for explicit_bzero * add checking SMALL_TIME_T for rfc5280time - crypto/CMakeLists.txt * add getentropy_hpux.c - tls/CMakeLists.txt * fix checking strsep
Brent Cook 3af1387b 2015-12-11T09:22:12 Revert back to GetStdHandle, since it works fine with pipes. Also include the formerly-missing NULL check, since this can fail in two ways.
Brent Cook bd8fe586 2015-12-11T09:21:43 include stdint.h uint*_t
Anthony Novatsis 5727d327 2015-12-11T16:29:50 Replace STDIN_FILENO with _fileno Replace STDIN_FILENO with _fileno as STDIN_FILENO results in compile errors with Visual Studio 2015 (using CMake).
Brent Cook 905e2a3b 2015-12-06T23:32:18 refresh nc(1) support
Brent Cook afcc027d 2015-12-05T22:14:42 only set the console mode if stdin is a console (not a pipe) This allows piping commands and running from a cygwin console.
Brent Cook 75ef5bb1 2015-12-05T13:58:37 wrap gets on Windows, replacing '\r\n' with '\n'
Brent Cook 9574b6c8 2015-11-22T17:23:21 do not link libcompatnoopt if it is unneeded/built from andy-js on github, fix #158
Brent Cook 9be90557 2015-10-21T22:19:09 remove a_gen/utctm.c for cmake
Brent Cook 3f79a49d 2015-10-21T22:17:13 check bounds before casting (long long) to time_t
Brent Cook 959241fe 2015-10-21T21:39:59 remove a_gen/utctm.c
Brent Cook 0197a589 2015-10-18T09:28:10 Windows compatibility fixes VS2013 has trouble with relative include paths for apps/openssl, so move certhash_win/apps_win.c back to apps/openssl. gmtime_r on mingw64 fails with negative time_t, override gmtime_s fails all of the time unit tests, override SHUT_RD/WR are defined in newer mingw64 headers, check before overriding
Brent Cook a45e38e9 2015-10-17T22:57:59 disable some tests with 32-bit time_t systems Also disable use of _mkgmtime, it does not produce correct results.
Brent Cook dadeeb0a 2015-10-15T14:32:16 check for timegm in cmake builds
Brent Cook cac089b5 2015-10-15T14:32:02 make internal functions static
Brent Cook c0243664 2015-10-15T14:26:24 use timegm from musl
Brent Cook 4298ac93 2015-10-14T23:53:52 include timegm fallback
Jeremy Huddleston Sequoia 448645d4 2015-10-11T16:46:55 Use bundled headers instead of installed headers when building The build system incorrectly set include directives in AM_CFLAGS which causes them to be placed after the configured CPPFLAGS. Thus, if a user or packaging system sets CPPFLAGS to a location that has libressl or openssl headers installed, they will be used instead of the bundled versions. This corrects that issue by setting up the variables correctly. https://github.com/libressl-portable/portable/issues/150 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Brent Cook 047926e0 2015-10-06T06:18:15 updates for ASN.1 time handling
Brent Cook 4ce5342e 2015-09-17T05:39:20 remove SHA-0 from cmake builds
Brent Cook f05cb999 2015-09-17T05:25:22 final bit of SHA-0 removal
Brent Cook 9c55d0b8 2015-09-17T05:15:23 remove SHA-0
Brent Cook 2cb6d19e 2015-09-13T19:08:12 remove ecdh/ech_ossl.c
Brent Cook eeb286af 2015-09-13T09:30:26 fix spelling of OPENSSL_cleanse
Brent Cook 4bb70680 2015-09-13T09:03:04 ech_ossl.h is gone
Brent Cook adfb2bf7 2015-09-09T05:15:06 Do not build lib-objects targets if we are just building static libs. This confuses some cmake targets.
Brent Cook 9903a266 2015-09-07T01:28:29 distribute strcasecmp.c
Brent Cook ca56c332 2015-09-07T01:05:33 disable shared CMake builds for OS X / Windows for now
Jeff Davey 5461dea7 2015-08-18T13:20:19 Add install targets and shared libraries to CMake
Brent Cook 13d910c1 2015-08-03T07:37:24 disable explicit_bzero optimizations with CMake builds
Brent Cook c66d80a4 2015-08-03T06:56:59 add win32-specific explicit_bzero implementation
Brent Cook 6527c320 2015-08-01T05:33:19 initial Linux cmake suppport tested on Ubuntu 14.04
Brent Cook 1828bcb9 2015-07-21T20:00:42 don't build eng_rsax.c anymore
Brent Cook 9d5eb631 2015-07-21T12:52:29 move sleep shim to posix_win.c
Brent Cook 63161e85 2015-07-21T12:52:14 add initial build for arc4random/getentropy fallbacks
Brent Cook 5d8a1cf7 2014-07-10T22:06:10 add initial CMake and Visual Studio build support This moves the compatibility include files from include to include/compat so we can use the awful MS C compiler <../include/> trick to emulate the GNU #include_next extension. This also removes a few old compat files we do not need anymore.
Brent Cook 792a5acb 2015-07-20T01:08:01 eng_rsax is gone
Brent Cook ddeb7404 2015-07-16T10:23:57 win32 openssl CLI: preserve original echo state Mirror the patch to ui_openssl.c, also fix the broken conditional that made it not actually turn off echo in the first place. ok guenther@
Brent Cook db974c34 2015-07-15T20:00:21 fixup how OPENSSLDIR is derived and expanded As per http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Installation-Directory-Variables.html we should not try to expand variables like sysconfdir in the configure script, but rather derive the correct value in the Makefiles instead. This fixes missing expansions as the preprocessor define.
Brent Cook 4cffda19 2015-07-15T19:17:27 build libcrypto with -DLIBRESSL_INTERNAL Since libcrypto defines its own CPPFLAGS, we need to set this for libcrypto specifically.
Brent Cook 54545427 2015-06-29T22:51:40 add check for inet_pton, nudge minimum win32 compat to 0x0501
Brent Cook b9f1b83a 2015-06-20T10:40:04 update for mdc2 removal
Brent Cook bc7b9347 2015-06-13T21:43:55 add a missing header and fix typo in windows posix layer