78 Commits

Author SHA1 Message Date
kinichiro
5a29b0472d Link crypto and ssl object files directly instead of static library
- Output object files list variable for libcrypto and libssl to .mk file.
- Include object files list variable .mk from tls/Makefile
- Link .lo files directly instead of static library for libtls.
2020-10-04 03:50:18 -05:00
kinichiro
ee4eb0027c Add x509_verify.c x509_verify.h 2020-09-14 20:36:30 +09:00
kinichiro
1ba03da236 Add x509_issuer_cache.c x509_issuer_cache.h 2020-09-13 21:56:34 +09:00
kinichiro
6410eee15a Add x509_constraints.c x509_internal.h 2020-09-13 19:55:43 +09:00
kinichiro
61a1f6a57b Move crypto/x509v3/ files to crypto/x509/ 2020-06-10 20:50:04 +09:00
Dmitry Baryshkov
d54b9c15bd crypto: regenerate crypto_portable.sym
Make crypto_portable.sym depend on crypto.sym and libcrypto.so on
crypto_portable.sym to rebuild library if one of symbol files changes.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
2020-03-31 15:03:46 +03:00
Dmitry Baryshkov
d62235af81
crypto: do not include gost.h into noinst_HEADERS
gost/gost.h will go into include/openssl/, no need to duplicate it into crypto/gost directory

Signed-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
2020-03-25 12:35:26 +03:00
Brent Cook
d8bfe23353 remove extra cms in cmac 2019-11-03 06:47:45 -06:00
Brent Cook
3c51ff271e add cms to portable build 2019-11-03 06:24:47 -06:00
Brent Cook
935dedc22c remove duplicate copy of public header 2019-09-09 22:08:34 -05:00
Brent Cook
b43bee6451 update portable for latest build changes 2019-09-09 22:00:57 -05:00
Daniel Wyatt
23fa9a51d8 Add portable scaffold for SM4 2019-03-04 08:53:22 -05:00
Brent Cook
40c848316e add unimpl fallback for getprogname 2019-02-03 18:50:14 -06:00
Brent Cook
a6d7ea9562 update autoconf for latest compat functions 2019-01-31 13:56:56 -06:00
Brent Cook
8730803401 enable asm for mingw64 2019-01-20 20:03:37 -06:00
Brent Cook
72bb1ed618 generate masm and mingw64 assembly 2019-01-20 20:03:37 -06:00
Brent Cook
7c4d13138a fix build 2019-01-19 05:09:13 -06:00
Brent Cook
f1dfe95403 add ec to crypto private -I path for ec_lcl.h 2019-01-19 04:33:03 -06:00
kinichiro
7d5b905723 Add arm_arch.h to build ARM portable 2019-01-04 01:08:15 +09:00
Brent Cook
0f0bec5a76 build crypto_lock_win.c in-place 2019-01-01 15:44:11 -06:00
Brent Cook
1cb05b51c1 Land #439, Add portable scaffold for SM3 2018-11-11 09:14:41 -06:00
Brent Cook
1e2937e1a2 added crypto_lock portable bits 2018-11-11 09:14:00 -06:00
Brent Cook
8f32297dce add arm asm support via autoconf/make 2018-11-11 02:08:55 -06:00
bobsayshilol
34394e7ee0 Misc fixes to bring portable in line with upstream. 2018-11-07 23:45:17 +00:00
Jack Lloyd
d4803f134f Add portable scaffold for SM3 2018-08-14 15:16:36 -04:00
Brent Cook
366071c2cf add new init functions 2018-03-18 10:43:16 -05:00
Brent Cook
3fb9e63b90 bump base requirement to Windows Vista, use builtin inet_ntop/pton 2018-03-14 07:29:04 -05:00
kinichiro
413956f494 Add bio_meth.c 2018-02-26 22:49:46 +09:00
kinichiro
f4d2b810cb Remove rsa/rsa_ssl.c 2017-09-01 23:37:09 +09:00
Brent Cook
94e4224f5f don't build empty object files 2017-08-12 10:05:30 -05:00
Brent Cook
9b88fa46bb 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'
2017-07-08 17:46:16 -05:00
kinichiro
63042e98f8 Add HKDF functionality 2017-05-13 23:59:59 +09:00
kinichiro
048625cf2b Add freezero support 2017-04-22 23:37:20 +09:00
Brent Cook
922cd9c94e move crypto_portable.sym to builddir 2017-04-10 09:30:29 -05:00
kinichiro
c61c9821e8 Add support for getpagesize 2017-03-15 22:02:11 +09:00
kinichiro
8877e9bc55 Add recallocarray 2017-03-09 23:00:04 +09:00
kinichiro
f2c14deb58 Add crypto/evp/m_md5_sha1.c 2017-03-05 11:17:20 +09:00
kinichiro
91a8bd7914 Move strsep.c to crypto/compat/ and add ocspcheck build to CMake 2017-01-25 21:31:04 +09:00
Brent Cook
fa149b8c8c updates for new tests and layout 2017-01-22 20:00:52 -06:00
Brent Cook
91f771f981 add missing ecp_nist*.c files 2017-01-18 22:59:09 -06:00
kinichiro
484feaae91 Stop generating .def files by update.sh 2017-01-18 21:05:43 +09:00
kinichiro
1d934cd2d8 Fix to use -export-symbols for libcrypto
- generating platform specific crypto/crypto_portable.sym from crypto.sym
2017-01-15 22:12:39 +09:00
Brent Cook
d38ab0a39e include vpm_int.h 2016-11-06 02:37:15 -06:00
kinichiro
5f187770f3 Add curve25519 to portable 2016-11-06 04:57:23 +09:00
Brent Cook
659aff9fa7 updates for latest build changes 2016-11-05 19:11:19 +09:00
kinichiro
62f2a73061 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
2016-10-30 21:39:36 -05:00
Brent Cook
40974784c0 add constant_time_locl.h 2016-05-04 08:47:55 -05:00
Brent Cook
9574b6c8ec do not link libcompatnoopt if it is unneeded/built
from andy-js on github, fix #158
2015-11-22 17:31:51 -06:00
Brent Cook
959241fe88 remove a_gen/utctm.c 2015-10-21 21:39:59 -05:00
Brent Cook
a45e38e962 disable some tests with 32-bit time_t systems
Also disable use of _mkgmtime, it does not produce correct results.
2015-10-17 22:57:59 -05:00