mbedtls/library
Harmen Stoppels 3ed4263ad7 DT_NEEDED for shared builds in makefile
The makefile build specifies -L. -lmbedx509 -lmbedcrypto flags first,
and only then object files referencing symbols from those libraries.

In this order the linker will not add the linked libraries to the
DT_NEEDED section because they are not referenced yet (at least that
happens for me on ubuntu 20.04 with the default gnu compiler tools).

By first specifying the object files and then the linked libraries, we
do end up with libmbedx509 and libmbedcrypto in the DT_NEEDED sections.

This way running dlopen(...) on libmedtls.so just works.

Note that the CMake build does this by default.

Signed-off-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-11-05 09:31:22 +01:00
..
.gitignore
aes.c Merge pull request #4845 from mstarzyk-mobica/ecb-alt-ret-2.2x 2021-10-14 12:11:04 +02:00
aesni.c
arc4.c
aria.c Replace 3 byte shift with appropriate macro 2021-08-03 14:02:41 +01:00
asn1parse.c
asn1write.c Replace MBEDTLS_CHAR_x with MBEDTLS_BYTE_x 2021-08-03 14:08:06 +01:00
base64_invasive.h Move declarations of testing-only base64 functions to their own header 2021-10-25 21:24:23 +02:00
base64.c Fix copypasta in comment 2021-10-25 21:24:23 +02:00
bignum.c Replace _RR with prec_RR to prevent reserved identifier clashes 2021-07-14 14:30:34 +01:00
blowfish.c Implement byte reading macros to remaining files 2021-08-03 16:42:42 +01:00
camellia.c Add Character byte reading macros 2021-08-03 14:01:51 +01:00
ccm.c Improve documentation and add more uses of MBEDTLS_PUT 2021-08-03 14:09:21 +01:00
certs.c
chacha20.c Replace instances of byte reading macros with PUT 2021-08-03 14:08:41 +01:00
chachapoly.c Replace instances of byte reading macros with PUT 2021-08-03 14:08:41 +01:00
check_crypto_config.h psa: config: Add CAMELLIA to the list of possible CMAC ciphers 2021-03-25 14:25:46 +01:00
cipher_wrap.c
cipher.c Adapt return status to 2.x 2021-09-30 15:51:05 +02:00
cmac.c Allow skipping 3DES in CMAC self-test when ALT implemented 2021-04-30 10:09:52 +02:00
CMakeLists.txt Bump SO version for libmbedcrypto 2021-07-02 14:59:26 +01:00
common.h Remove macro that does not belong in 2.x 2021-08-18 11:59:16 +01:00
ctr_drbg.c Tidy up grouped MBEDTLS_BYTE_x macros 2021-08-23 11:35:25 +01:00
debug.c Add missing parentheses 2021-06-07 21:42:15 +02:00
des.c Merge pull request #4845 from mstarzyk-mobica/ecb-alt-ret-2.2x 2021-10-14 12:11:04 +02:00
dhm.c Use byte reading macros in places not using a byte mask 2021-08-03 14:08:33 +01:00
ecdh.c
ecdsa.c avoid "maybe-uninitialized" and "free-nonheap-object" errors/warnings with gcc11 2021-05-12 09:37:00 -04:00
ecjpake.c Tidy up grouped MBEDTLS_BYTE_x macros 2021-08-23 11:35:25 +01:00
ecp_curves.c Add prefix to BYTES_TO_T_UINT_* 2021-06-25 14:59:15 +01:00
ecp_invasive.h Move mbedtls_mpi_random to the bignum module 2021-06-02 21:31:24 +02:00
ecp.c Improve documentation and add more uses of MBEDTLS_PUT 2021-08-03 14:09:21 +01:00
entropy_poll.c Merge pull request #4110 from gilles-peskine-arm/psa-external-random-in-mbedtls 2021-02-22 14:47:29 +00:00
entropy.c Merge pull request #3616 from militant-daos/bug_3175 2021-03-30 17:33:08 +02:00
error.c Revert "Remove deprecated things from hashing modules" 2021-04-15 12:28:15 +02:00
gcm.c GET macros use a target variable 2021-08-03 13:39:57 +01:00
havege.c
hkdf.c
hmac_drbg.c Document mutex invariant for HMAC_DRBG 2021-02-22 19:24:03 +01:00
Makefile DT_NEEDED for shared builds in makefile 2021-11-05 09:31:22 +01:00
md2.c Revert "Remove deprecated things from hashing modules" 2021-04-15 12:28:15 +02:00
md4.c Implement byte reading macros to remaining files 2021-08-03 16:42:42 +01:00
md5.c GET macros use a target variable 2021-08-03 13:39:57 +01:00
md.c Revert "Remove deprecated things from hashing modules" 2021-04-15 12:28:15 +02:00
memory_buffer_alloc.c
mps_common.h Capitalise MPS trace macros 2021-04-07 12:45:35 +01:00
mps_error.h Fix Doxygen headers for MPS files 2021-03-29 14:20:18 +01:00
mps_reader.c Capitalise MPS trace macros 2021-04-07 12:45:35 +01:00
mps_reader.h Fix Doxygen headers for MPS files 2021-03-29 14:20:18 +01:00
mps_trace.c Capitalise MPS trace macros 2021-04-07 12:45:35 +01:00
mps_trace.h Capitalise MPS trace macros 2021-04-07 12:45:35 +01:00
net_sockets.c Fix fd range for select on Windows 2021-06-20 23:17:39 +02:00
nist_kw.c GET macros use a target variable 2021-08-03 13:39:57 +01:00
oid.c
padlock.c
pem.c Apply MBEDTLS_ERROR_ADD to library 2021-04-15 11:19:47 +01:00
pk_wrap.c
pk.c pk.c: Ensure hash_len equals hash in pk_hashlen_helper 2021-06-29 09:31:06 -04:00
pkcs5.c Apply MBEDTLS_ERROR_ADD to library 2021-04-15 11:19:47 +01:00
pkcs11.c
pkcs12.c Use byte reading macros in places not using a byte mask 2021-08-03 14:08:33 +01:00
pkparse.c Backport 2.x: Remove compiler warning if only MBEDTLS_PK_PARSE_C is defined 2021-09-01 11:18:30 +02:00
pkwrite.c
platform_util.c
platform.c
poly1305.c Replace instances of byte reading macros with PUT 2021-08-03 14:09:05 +01:00
psa_crypto_aead.c Update all uses of old AEAD output size macros 2021-04-15 17:32:06 +02:00
psa_crypto_aead.h psa: aead: Move AEAD driver entry points to psa_crypto_aead.c 2021-04-07 16:03:31 +02:00
psa_crypto_cipher.c Add ARIA to the PSA API 2021-10-08 18:28:15 +02:00
psa_crypto_cipher.h Remove invalid buffer overflow check 2021-06-29 16:39:49 +02:00
psa_crypto_client.c Move the inclusion of crypto_spe.h to psa/crypto_platform.h 2021-06-23 14:45:17 +02:00
psa_crypto_core.h Merge pull request #4357 from gabor-mezei-arm/3267_Implement_psa_sign_message_and_verify 2021-05-17 10:14:46 +02:00
psa_crypto_driver_wrappers.c Fix possible unreachable code 2021-06-25 15:50:35 +02:00
psa_crypto_driver_wrappers.h Dispatch cipher functions through the driver interface 2021-06-24 16:57:29 +02:00
psa_crypto_ecp.c Move mbedtls_md_info_from_psa into the mbedtls hash driver 2021-03-15 12:14:40 +01:00
psa_crypto_ecp.h psa: Rework ECDSA sign/verify support in the transparent test driver 2021-02-18 15:45:12 +01:00
psa_crypto_hash.c psa: hash: Fix is_hash_accelerated signature 2021-04-01 10:50:03 +02:00
psa_crypto_hash.h psa: include: Merge crypto_builtin_hash.h and crypto_builtin_cipher.h 2021-04-01 16:54:30 +02:00
psa_crypto_invasive.h Rework MAC algorithm / key type validation 2021-03-03 19:58:02 +01:00
psa_crypto_its.h
psa_crypto_mac.c psa: mac: Add MAC compute builtin implementation 2021-06-22 13:43:13 +02:00
psa_crypto_mac.h Move is_sign and mac_size checking back to PSA core scope 2021-05-11 18:56:01 +02:00
psa_crypto_random_impl.h Work around MSVC bug with duplicate static declarations 2021-02-16 18:55:05 +01:00
psa_crypto_rsa.c Readability improvements 2021-10-28 10:07:37 +02:00
psa_crypto_rsa.h psa: Add RSA sign/verify hash support to the transparent test driver 2021-02-18 15:45:06 +01:00
psa_crypto_se.c
psa_crypto_se.h
psa_crypto_slot_management.c Remove dependency of builtin keys on storage 2021-09-11 22:31:06 +05:30
psa_crypto_slot_management.h psa: Fix error code when creating/registering a key with invalid id 2021-04-01 14:05:41 +02:00
psa_crypto_storage.c Move #include "common.h" where config.h used to be 2021-08-18 12:57:54 +01:00
psa_crypto_storage.h Rename PSA_KEY_SLOT_COUNT to MBEDTLS_PSA_KEY_SLOT_COUNT 2021-02-15 14:26:44 +01:00
psa_crypto.c Merge pull request #5051 from gilles-peskine-arm/psa-add-aria-2.x 2021-10-29 09:38:13 +02:00
psa_its_file.c Move #include "common.h" where config.h used to be 2021-08-18 12:57:54 +01:00
ripemd160.c GET macros use a target variable 2021-08-03 13:39:57 +01:00
rsa_internal.c
rsa.c Fix misc issues with unused parameters and check-names.sh 2021-04-13 15:26:59 +01:00
sha1.c GET macros use a target variable 2021-08-03 13:39:57 +01:00
sha256.c GET macros use a target variable 2021-08-03 13:39:57 +01:00
sha512.c Add UINT64 GET and PUT macros 2021-08-03 14:08:26 +01:00
ssl_cache.c Don't check ciphersuite and compression in SSL session cache lookup 2021-05-19 05:09:56 +01:00
ssl_ciphersuites.c Fix dependencies on SHA384 cipher suites 2021-05-19 16:58:08 +02:00
ssl_cli.c Minor coding style improvement 2021-08-20 15:56:22 +01:00
ssl_cookie.c Replace instances of byte reading macros with PUT 2021-08-03 14:08:41 +01:00
ssl_invasive.h
ssl_msg.c Fix macro use in ssl_msg.c 2021-08-23 12:49:14 +01:00
ssl_srv.c Remove commented out code 2021-08-23 11:45:36 +01:00
ssl_ticket.c Replace instances of byte reading macros with PUT 2021-08-03 14:09:05 +01:00
ssl_tls13_keys.c Replace MBEDTLS_CHAR_x with MBEDTLS_BYTE_x 2021-08-03 14:08:06 +01:00
ssl_tls13_keys.h
ssl_tls.c Tidy up grouped MBEDTLS_BYTE_x macros 2021-08-23 11:35:25 +01:00
threading.c Explain the usage of is_valid in pthread mutexes 2021-02-22 19:24:03 +01:00
timing.c
version_features.c Update files generated from config.h 2021-09-30 19:24:36 +02:00
version.c
x509_create.c
x509_crl.c Apply MBEDTLS_ERROR_ADD to library 2021-04-15 11:19:47 +01:00
x509_crt.c Remove MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES option. 2021-09-06 12:18:53 +02:00
x509_csr.c Apply MBEDTLS_ERROR_ADD to library 2021-04-15 11:19:47 +01:00
x509.c Apply MBEDTLS_ERROR_ADD to library 2021-04-15 11:19:47 +01:00
x509write_crt.c Replace instances of byte reading macros with PUT 2021-08-03 14:09:05 +01:00
x509write_csr.c avoid "maybe-uninitialized" and "free-nonheap-object" errors/warnings with gcc11 2021-05-12 09:37:00 -04:00
xtea.c Implement byte reading macros to remaining files 2021-08-03 16:42:42 +01:00