summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Drop the comp moduletb2023-07-281-7/+1
| | | | | | | | | | | opensslfeatures.h has long defined OPENSSL_NO_COMP and the build with ZLIB was broken in openssl(1) since 2015 and in libcrypto since 2022. ZLIB was unifdefed a while ago, now we can retire the public API. The comp.h header stays devoid of code because a number of ports use it for historic reasons. ok jsing
* Excise ECDH_METHODtb2023-07-281-3/+1
| | | | | | | | Unlike ECDSA_METHOD, this has been unused forever but kind of needed to stay for symmetry with ECDSA_METHOD. Now we can finally take it behind the barn and remove its tendrils into ENGINE. ok jsing
* Remove ECDH errorstb2023-07-281-2/+1
| | | | | | | Much like the ECDSA errors, the ECDH errors have been unused for a while. Garbage collect them. ok jsing
* Remove ECDSA_METHODtb2023-07-281-3/+1
| | | | | | | | After smtpd (in base) and libtls finally switched from ECDSA_METHOD to EC_KEY_METHOD, much of the ECDSA_METHOD code was neutered. Remove the remaining public API as well as numerous tentacles into ENGINE. ok jsing
* Remove ecs_err.ctb2023-07-281-2/+1
| | | | | | | These error codes have been unused for a while, so the public API loading them is pointless. ok jsing
* Provide a bunch of always failing ENGINE APItb2023-07-211-1/+2
| | | | | | | | | | | | | | | This commit adds a few symbols under OPENSSL_NO_ENGINE. They will be used after the main ENGINE code is disabled in the next bump. The ecosystem is mostly prepared for dealing with a libcrypto compiled with OPENSSL_NO_ENGINE. There are a few stragglers like M2Crypto, dovecot and the latest apr-util release (fixed in their development branch). To avoid intrusive patching in these ports, we need to keep a bunch of ENGINE symbols around despite adding OPENSSL_NO_ENGINE. This of course meant patching some other ports, but that was way easier. ok jsing
* Remove some ancient cruft that hasn't been used in agestb2023-07-201-3/+1
| | | | discussed with jsing
* One source file per line.jsing2023-07-071-5/+10
|
* Add bn_printf(), a replacement for ASN1_bn_print()tb2023-07-061-1/+2
| | | | | | | | | | ASN1_bn_print() will be removed in an upcoming bump. This adds an internal API that covers the same functionality but doesn't require that the caller pass in a sufficiently large scratch space that ASN1_bn_print() may or may not use. In addition, this takes a format string, which allows us to ditch some extra dances. ok jsing
* Merge ECDH code that will stay into ecdh.ctb2023-07-051-3/+2
|
* Merge ECDSA code that will stay into ecdsa.ctb2023-07-051-3/+2
| | | | discussed with jsing
* Drop the no longer necessary -DLIBRESSL_CRYPTO_INTERNALtb2023-06-291-2/+2
| | | | ok miod
* With ech_local.h gone, we no longer need to -I ecdhtb2023-06-251-2/+1
|
* Make BN_num_bits() independent of bn->top.jsing2023-06-211-1/+2
| | | | | | | | Provide bn_bitsize(), which performs a constant time scan of a BN in order to determine the bit size of the BN value. Use this for BN_num_bits() such that it is no longer dependent on the bn->top value. ok tb@
* Unifdef ZLIBtb2023-06-111-2/+1
| | | | | | | This has long been unused code and compilation with -DZLIB was broken for a long time after BIO was made opaque. ok jsing
* Recommit -Wshadow now that the warning on BIG_ENDIAN is fixedtb2023-05-071-2/+2
|
* Backout -Wshadow, it breaks build on powerpc64.bluhm2023-05-071-2/+2
|
* Use -Wshadow with clangtb2023-05-051-2/+2
| | | | ok jsing (a very long time ago)
* Link rsa_x931.c to buildtb2023-05-051-1/+2
|
* Unifdef LIBRESSL_HAS_POLICY_DAG and remove it from the Makefiletb2023-04-281-2/+1
| | | | with beck
* Take the old policy code behind the barntb2023-04-281-7/+1
| | | | | | | | It can go play in the fields with all the other exponential time policy "code". discussed with jsing ok & commit message beck
* Enable the new policy checking code in x509_policy.ctb2023-04-281-4/+2
| | | | ok beck jsing
* Allow compiling with -DHAS_DAG to enable the policy check with a DAG.tb2023-04-261-1/+4
| | | | ok beck
* Add the new policy code to the build.beck2023-04-261-1/+2
| | | | ok tb@ jsing@
* Remove the now unused bio_pk7.ctb2023-04-261-2/+1
|
* Remove e_old.c againtb2023-04-261-2/+1
| | | | | | | | | Also remove nonexistent symbols #defined to other symbols that confuse some linkers in -portable. This commit entails no ABI change on OpenBSD. Discussed with jsing
* Reinstate e_old.c it is still used by -portabletb2023-04-251-1/+2
|
* e_old can also gotb2023-04-251-2/+1
|
* GF2m bites the dust. It won't be missed.tb2023-04-251-5/+1
|
* Remove proxy cert remnantstb2023-04-251-3/+1
|
* Remove NETSCAPE_CERT_SEQUENCEtb2023-04-251-2/+1
|
* Remove SXNETtb2023-04-251-2/+1
| | | | Unused and no authorative information was found online in 2016
* Remove CTS modetb2023-04-251-2/+1
| | | | ok jsing
* Remove the horror show that is bn_nist and ecp_nisttb2023-04-251-3/+1
| | | | | | This code is full of problematic C and is also otherwise of questionable quality. It is far from constant time and jsing informs me it also isn't faster. Good riddance.
* Remove X9.31 supporttb2023-04-251-3/+1
| | | | ok jsing
* Comment out a few now unused files from Makefiletb2023-04-251-14/+14
|
* Remove the now unused x509_enum.ctb2023-04-211-2/+1
|
* Hook sha3 up to build.jsing2023-04-171-1/+3
| | | | ok tb@
* Move BN_bn2mpi()/BN_mpi2bn() into bn_convert.cjsing2023-04-171-2/+1
|
* Drop dh_prn.ctb2023-04-171-2/+1
|
* Provide EVP methods for SHA512/224 and SHA512/256.jsing2023-04-161-1/+2
| | | | ok tb@
* Rename the largely misnamed bn_print.c to bn_convert.cjsing2023-04-141-2/+2
| | | | | | | | This file primarily contains the various BN_bn2*() and BN_*2bn() functions (along with BN_print() and BN_options()). More function shuffling will follow. Discussed with tb@
* Drop now useless files from the Makefiletb2023-04-131-6/+1
|
* Consolidate sha1 into a single file.jsing2023-04-111-3/+2
|
* Add a new implementation of BN_mod_sqrt()tb2023-04-111-2/+2
| | | | | | | | | | | | | | | | | | | This is a reimplementation from scratch of the Tonelli-Shanks algorithm based on Henri Cohen "A Course in Computational Algebraic Number Theory", Springer GTM 138, section 1.5.1. It is API compatible with the previous implementation, so no documentation change is required. Contrary to the old implementation, this does not have any infinite loops and has various additional sanity checks to prevent misbehavior in case the input modulus is not a prime. It contains extensive comments and the individual parts of the algorithm are split into digestible chunks instead of having one huge function. One difference of note is that it BN_mod_sqrt() now always returns the smaller of the two possible answers. In other words, while its core is non-deterministic, its answer is not. ok jsing
* Link evp/cipher_method_lib.c to the buildtb2023-03-011-1/+2
| | | | ok jsing
* Merge dsa_sign.c and dsa_vrf.c into dsa_ossl.ctb2023-02-131-3/+1
| | | | discussed with jsing
* Remove bn_exp2.c, which is now empty.jsing2023-02-111-2/+1
|
* Remove the now empty bn_asm.c.jsing2023-01-311-2/+1
| | | | | | This rather misnamed file (bn_asm.c) previously contained the C code that was needed to build libcrypto bignum on platforms that did not have assembly implementations of the functions it contained.
* Remove the now empty/unused bn_depr.c.jsing2023-01-291-2/+1
|