114 Commits

Author SHA1 Message Date
Brent Cook
ed9359727a build updates for latest upstream 2022-08-29 09:06:06 -05:00
Theo Buehler
8114acb607 add p12_sbag.c 2022-08-15 08:14:33 +02:00
Brent Cook
cc613e785e updates for new files and test cases 2022-07-31 23:31:18 -05:00
Brent Cook
5e974ea695 update for latest upstream 2022-05-08 22:23:36 -05:00
kinichiro
ea53dcd569 Fix build
- Remove pem/pem_seal.c asn1/x_nx509.c asn1/n_pkey.c
- Remove evp/m_dss.c evp/m_dss1.c evp/m_ecdsa.c
- Add include path crypto/bio to libssl for bio_local.h
2022-01-14 22:18:37 +09:00
kinichiro
71f437de62 Follow upstream file changes and fix build
- Add asn1_lib.c
- Consolidation of ASN.1 code
  Add asn1_item.c asn1_old.c
  Remove a_d2i_fp.c a_digest.c a_dup.c a_i2d_fp.c a_sign.c a_verify.c
- Merge evp_asn1.c into a_type.c
- Merge asn_pack.c into asn1_item.c
- Rename tls13_key_share.c to tls_key_share.c
- Add bio/bio_local.h dh/dh_local.h ocsp/ocsp_local.h
- Add comp/comp_local.h
- Add define LIBRESSL_CRYPTO_INTERNAL to regress build
2022-01-12 20:04:53 +09:00
kinichiro
adde656bb7 Add strtonum to compat library and export it
crypto library requires strtonum now, and add it to compat library.
remove it from applications compat/ directories.
2021-12-26 16:00:25 +09:00
Brent Cook
1b95c5d584 update for asn1 changes 2021-12-19 20:31:26 -06:00
Brent Cook
26ed65c0b1 add hmac_local.h 2021-12-15 03:32:25 -06:00
kinichiro
244fd5608f Add crypto/bytestring with cmake 2021-12-11 22:05:40 +09:00
kinichiro
a3a03842f6 Consolidate d2i_pr.c/i2d_pr.c into a_pkey.c and
consolidate d2i_pu.c/i2d_pu.c into a_pubkey.c
2021-12-09 19:59:29 +09:00
kinichiro
c211d97ecb Remove unneeded target_include_directories with cmake
This could remove recurring of the same statement for include directories.
Instead of this removals, apps/* and tests  should have include path that
had been provided by INTERFACE_INCLUDE_DIRECTORIES of target libs and
internal static libs.
2021-12-04 14:36:39 +09:00
Brent Cook
31724a737a Revert "remove LIBRESSL_CRYPTO_INTERNAL"
This reverts commit e8ea73c247069e4e5592b31c0888a8ceb35f7773.
2021-11-29 07:40:25 -06:00
Brent Cook
22c6e3b6d5 Land #702: Add ct to libcrypto 2021-11-29 07:39:24 -06:00
kinichiro
e8ea73c247 remove LIBRESSL_CRYPTO_INTERNAL 2021-11-27 22:46:42 +09:00
kinichiro
954948159a Add ct 2021-11-27 22:12:11 +09:00
kinichiro
870a1ebbc2 Build static library for regression tests when shared build with CMake 2021-11-27 20:57:14 +09:00
Brent Cook
69a50462c7 add o_fips 2021-11-08 13:09:53 -06:00
Brent Cook
04ab1061f3 build updates 2021-11-08 07:33:50 -06:00
kinichiro
4c56df46de Statically link libcrypto/ssl into libtls with cmake 2021-05-07 20:31:22 +09:00
kinichiro
9971b0820c Use object library for CMake 2021-05-02 14:27:57 +09: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
8238636e22 Remove cms_lcl.h from crypto/CMakeLists.txt 2020-07-22 22:50:40 +09:00
kinichiro
61a1f6a57b Move crypto/x509v3/ files to crypto/x509/ 2020-06-10 20:50:04 +09:00
kinichiro
740488d89e Fix cmake build to enable masm with VS2019
To specify architecture Visual Studio 16 2019 requires -A option,
and it is stored in variable CMAKE_GENERATOR_PLATFORM.
Until Visual Studio 15 2017, architecture was indicated as part of
generator string (e.g. "Visual Studio 15 2017 Win64")
2020-05-09 20:24:27 +09:00
Brent Cook
79f2a52a39 avoid exporting a sleep() symbol from libcrypto
Since it seems only MSVC lacks sleep(), and it's only used by apps, lets
special-case that and make it available as a static inline function
instead.
2020-04-14 22:29:37 -05:00
Dan Nestor
8fdc5252cc
Crypto target properties when building static libs 2020-03-02 11:44:40 +01:00
Brent Cook
3c51ff271e add cms to portable build 2019-11-03 06:24:47 -06:00
Brent Cook
b43bee6451 update portable for latest build changes 2019-09-09 22:00:57 -05:00
Brent Cook
b3e2e71310 default to a directory that is not world-creatable 2019-06-12 09:08:17 -05:00
Brent Cook
5ed7cf2553 sigh, add back the quotes for C 2019-06-10 07:07:44 -05:00
Brent Cook
6e2192618a use something else by default for Windows builds (match dist-win.sh) 2019-06-10 07:04:01 -05:00
Brent Cook
83012fe34a let cmake handle quoting itself 2019-06-10 06:49:34 -05:00
kinichiro
bbb662b69c Fix masm build
- Fix masm operators and comments
- Add -DOPENSSL_NO_ASM only if not 64 bit build
- Add -DCMAKE_INSTALL_PREFIX to avoid build error
2019-06-10 06:49:34 -05:00
Stephan Vedder
c6f8ca2bc6 Enable masm compilation under windows 2019-06-10 06:49:34 -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
7f59976700 export getuid for libtls 2019-02-01 05:44:31 -06:00
Brent Cook
5269dbb279 update cmake 2019-01-31 13:56:56 -06:00
Brent Cook
495a1b6316 more masm fixes, but disable for now 2019-01-21 20:15:30 -06:00
Brent Cook
1b2e3576e0 a couple of fixes to get MSVC Win64 going again 2019-01-21 15:26:32 -06:00
Brent Cook
64d9c5d678 fixes to build asm on MSVS 2019-01-21 05:24:11 -06:00
Brent Cook
cc08f8eae0 adjust asm exclusions 2019-01-20 23:38:22 -06:00
Brent Cook
73b371073e remove xcode annotations for windows 2019-01-20 23:37:44 -06:00
Brent Cook
f553a9fe63 consider masm/mingw assembly flavors from cmake 2019-01-20 21:18:34 -06:00
Brent Cook
7c4d13138a fix build 2019-01-19 05:09:13 -06:00
Brent Cook
0f0bec5a76 build crypto_lock_win.c in-place 2019-01-01 15:44:11 -06:00
Brent Cook
a256df7fe9 build lock functions with CMake 2018-11-11 11:05:21 -06:00