97 Commits

Author SHA1 Message Date
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
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
954948159a Add ct 2021-11-27 22:12:11 +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
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
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