253 Commits

Author SHA1 Message Date
Brent Cook
c305c7ac43 disable BN asm for amd64 win32 build 2023-02-27 04:46:43 -06:00
Brent Cook
532d0ef755 include more asm files 2023-02-23 08:52:59 -06:00
Brent Cook
4bcb537aa8 generally disable asm for now 2023-02-21 01:39:35 -06:00
Brent Cook
8fc30eca61 generate and include arch-specific headers for CMake builds 2023-02-21 00:25:04 -06:00
Brent Cook
20fb2bdb11 add CPU checks, include initial bn_arch.h headers 2023-02-14 02:52:10 -06:00
Brent Cook
e5e36ec6ec remove obsolete and duplicated file references 2023-02-13 20:36:37 -06:00
Theo Buehler
97124d6742 autoconf: update for bn on amd64-elf 2023-02-13 20:36:37 -06:00
Theo Buehler
b0905e6eee autoconf: x509_verify.h is no longer public 2023-02-13 20:36:37 -06:00
Theo Buehler
5a414e584a Link new ui_null.c to build 2022-12-18 00:19:26 +01:00
Brent Cook
80eb145460 add direct source dependency to each library
Fix library generation with some CMake generators by including a direct
source file dependency for each library.
2022-12-14 06:28:11 -06:00
Theo Buehler
a911052d60 Adjust for ui_locl.h -> ui_local.h rename 2022-11-27 10:45:50 +01:00
Theo Buehler
f39a1b4b64 Update */Makefile.am for internal header renaming 2022-11-27 10:13:06 +01:00
Theo Buehler
67ab6a1187 Neuter namespace differently to fix Appveyor CI 2022-11-23 12:46:44 +01:00
Theo Buehler
35265d0e44 Fix cmake builds 2022-11-22 19:26:59 +01:00
Theo Buehler
8ae1cce7ef Update autoconf framework to build again 2022-11-22 18:41:54 +01:00
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
b07c773ca8 expose kdf.h as a public header 2022-05-09 02:21:16 -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
b10ff615eb Add crypto/bytestring with autotools 2021-12-11 22:05:28 +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
Brent Cook
ee7e39e746 add new files to build 2021-09-08 03:23:09 -05: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
Brent Cook
921c0675a2 Add '--enable-libtls-only' build option 2021-04-07 07:51:45 -05:00
Brent Cook
9abd36e3af modify nc build to link libcompat objects directly
Rather than assuming the static version of libcrypto exists for pulling in the compatibility functions, link the compat objects directly. This modifies the object file generation script a bit to handle the empty-case properly as well.
2020-10-20 03:50:23 -05:00
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
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
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