summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Stop installing x509_verify.htb2023-01-281-2/+1
| | | | ok jsing
* Provide an implementation of bn_sqr() that calls s2n-bignum's bignum_sqr().jsing2023-01-211-2/+3
| | | | ok tb@
* Provide a per machine bn_arch.h.jsing2023-01-201-1/+2
| | | | | | | This will provide a location for machine specific defines, prototypes and inline functions. ok tb@
* Remove unused Elliptic Curve code.jsing2023-01-141-5/+1
| | | | | | | | | | | | | For various reasons, the ecp_nistp* and ecp_nistz* code is unused. While ecp_nistp* was being compiled, it is disabled due to OPENSSL_NO_EC_NISTP_64_GCC_128 being defined. On the other hand, ecp_nistz* was not even being built. We will bring in new versions or alternative versions of such code, if we end up enabling it in the future. For now it is just causing complexity (and grep noise) while trying to improve the EC code. Discussed with tb@
* Link ui_null.c to buildtb2022-12-171-1/+2
|
* cms_lcl.h should not be part of SRCStb2022-11-261-2/+1
|
* Add support for symbol hiding disabled by default.beck2022-11-111-2/+15
| | | | | | | | | | | | Fully explained in libcrypto/README. TL;DR make sure libcrypto and libssl's function calls internally and to each other are via symbol names that won't get overridden by linking other libraries. Mostly work by guenther@, which will currently be gated behind a build setting NAMESPACE=yes. once we convert all the symbols to this method we will do a major bump and pick up the changes. ok tb@ jsing@
* Finish migrating to one source file per line.joshua2022-11-101-17/+78
| | | | ok jsing@ tb@
* Implement EVP interfaces for Ed25519 and X25519.jsing2022-11-101-1/+3
| | | | ok beck@ tb@
* Continue migrating to one source file per line.joshua2022-11-101-30/+121
| | | | ok jsing@ tb@
* Continue migrating to one source file per line.joshua2022-11-101-37/+163
| | | | ok jsing@ tb@
* Continue migrating to one source file per line.joshua2022-11-101-26/+110
| | | | ok jsing@ tb@
* Start migrating to one source file per line.joshua2022-11-091-18/+83
| | | | ok jsing@ tb@