summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/camellia (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove #error if OPENSSL_NO_FOO is definedtb2025-01-251-5/+1
| | | | discussed with jsing
* Hide symbols in camelliajoshua2024-03-301-1/+11
| | | | ok tb
* Consolidate camellia code.jsing2024-03-298-633/+123
|
* Remove now unused camellia assembly implementations.jsing2024-03-292-2001/+0
|
* Replace uses of endbr64 with _CET_ENDBR from cet.htb2024-02-241-8/+8
| | | | | | | | | cet.h is needed for other platforms to emit the relevant .gnu.properties sections that are necessary for them to enable IBT. It also avoids issues with older toolchains on macOS that explode on encountering endbr64. based on a diff by kettenis ok beck kettenis
* Make wp_local.h and cmll_local.h self-standingtb2023-09-042-4/+5
|
* unbreak build with llvm-16 by including sys/types.h for __BEGIN_HIDDEN_DECLSrobert2023-09-041-1/+3
| | | | | | /usr/src/lib/libcrypto/whrlpool/wp_local.h:5:1: error: unknown type name '__BEGIN_HIDDEN_DECLS' ok tb@
* Add endbr64 where needed by inspection. Passes regresson tests.deraadt2023-04-251-0/+8
| | | | ok jsing, and kind of tb an earlier version
* Use explicit .text instead of .previous to please Windows/MinGW on amd64tb2023-02-231-1/+1
| | | | ok miod
* Use .section .rodata instead of a plain .rodatatb2023-02-091-1/+1
| | | | | | | | At least gcc 12 on Fedora is very unhappy about a plain .rodata and throws Error: unknown pseudo-op: `.rodata'. So add a .section in front of it to make it happy. ok deraadt miod
* Move all data blocks from .text to .rodata and cleanup up and homogeneize codemiod2023-02-011-26/+14
| | | | | | responsible from getting the proper address of those blocks. ok tb@ jsing@
* Move constants out of text segment into rodata to prepare for xonly supportderaadt2023-01-141-2/+2
| | | | | on amd64. no pic handling is neccessary since amd64 has full reach. ok kettenis
* Make header guards of internal headers consistenttb2022-11-261-4/+4
| | | | | Not all of them, only those that didn't leak into a public header... Yes.
* Make internal header file names consistenttb2022-11-264-7/+7
| | | | | | | | | | | | | | | | Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_local.h, reserving the name *_internal.h for our own code. Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h. constant_time_locl.h is moved to constant_time.h since it's special. Adjust all .c files in libcrypto, libssl and regress. The diff is mechanical with the exception of tls13_quic.c, where #include <ssl_locl.h> was fixed manually. discussed with jsing, no objection bcook
* http://repzret.org/p/repzret/deraadt2017-12-111-2/+2
| | | | | | | | | | My read of this: Long time ago (Think Conan, not dinasaurs) during the race to make speedier processors, a cpu vendor built a pipeline with a bad stall, and proposed a tremendously hasky workaround. A wizard adopted this into his perl scroll, and failed to reflect later when no compiler adopted the practice. This relic remains at the tail end of some functions in OpenSSL as ".byte 0xf3,0xc3". Banish it straight to hell. ok mlarkin, others also stared blankly
* Explicitly export a list of symbols from libcrypto.jsing2016-12-211-1/+5
| | | | | | | | | | | | | | | | Move the "internal" BN functions from bn.h to bn_lcl.h and stop exporting the bn_* symbols. These are documented as only being intended for internal use, so why they were placed in a public header is beyond me... This hides 363 previously exported symbols, most of which exist in headers that are not installed and were never intended to be public. This also removes a few crusty old things that should have died long ago (like _ossl_old_des_read_pw). But don't worry... there are still 3451 symbols exported from the library. With input and testing from inoguchi@. ok beck@ inoguchi@
* Less S390.jsing2016-09-041-6/+1
| | | | ok deraadt@
* Remove horribly old and outdated `documentation' for the assembly code.miod2015-09-121-24/+0
|
* include camellia.h using the public include pathbcook2014-11-191-2/+2
|
* Add the Cammelia cipher to libcrypto.miod2014-11-171-3/+3
| | | | | | | | | | | | | | | | | | There used to be a strong reluctance to provide this cipher in LibreSSL in the past, because the licence terms under which Cammelia was released by NTT were free-but-not-in-the-corners, by restricting the right to modify the source code, as well retaining the right to enforce their patents against anyone in the future. However, as stated in http://www.ntt.co.jp/news/news06e/0604/060413a.html , NTT changed its mind and made this code truly free. We only wish there had been more visibility of this, for we could have had enabled Cammelia earlier (-: Licence change noticed by deraadt@. General agreement from the usual LibreSSL suspects. Crank libcrypto.so minor version due to the added symbols.
* Sacrifice this code to the KNF deities.miod2014-11-139-402/+401
|
* deregister; no binary changejsg2014-10-281-4/+4
| | | | ok jsing@ miod@
* Remove private_{Camellia,RC4}_set_key FIPS indirection tentacles, as has beenmiod2014-07-123-82/+22
| | | | done for other symmetric algorithms recently.
* pour some water on an ass emberderaadt2014-07-111-1/+1
| | | | spotted by doctor jsing, always keeping an eye out for these
* Fetch the specific license which will be used fromderaadt2014-07-111-0/+24
| | | | | | https://www.openssl.org/~appro/camellia/dist/BSD_license.txt It isn't our concern to supply the other licences mentioned in source files; that is realy not our problem.
* Explicitly include <openssl/opensslconf.h> in every file that referencesjsing2014-07-101-3/+5
| | | | | | | | | an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is never going to do anything, since OPENSSL_NO_XYZ will never defined, due to the fact that opensslconf.h has not been included. This also includes some miscellaneous sorting/tidying of headers.
* remove unused, private version strings except SSL_version_strbcook2014-07-091-3/+1
| | | | | | Also remove unused des_ver.h, which exports some of these strings, but is not installed. ok miod@ tedu@
* tags as requested by miod and teduderaadt2014-06-1210-10/+10
|
* c-file-style hints, begone; ok beckderaadt2014-06-1110-10/+10
|
* First pass at removing win64 support from the assembly generating Perljsing2014-04-301-215/+1
| | | | | | | scripts. We certainly do not need an identical copy of the win64 exception handler in each script (surely one copy would be sufficient). ok miod@
* Unifdef -UPEDANTIC. ok beck@ tedu@miod2014-04-231-1/+1
|
* eroMgib dne- nai 68xtnetelca .smiod2014-04-181-7/+2
|
* Get rid of MS Visual C compiler and Intel C compiler specific defines.miod2014-04-171-11/+1
|
* we don't use these files for buildingtedu2014-04-151-87/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-152-7/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-23/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-131-1/+2
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-131-1/+2
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-132-5/+76
|\ \ | | | | | | branch.
| * | import OpenSSL-1.0.1cdjm2012-10-132-5/+76
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-134-5/+13
|\ \ \ | | |/ | |/| branch.
| * | import OpenSSL-1.0.1cdjm2012-10-134-5/+13
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-0110-2133/+545
|\| | | | | | | | branch.
| * | import OpenSSL-1.0.0adjm2010-10-0110-2133/+545
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-19/+19
|\ \ \ | | |/ | |/| branch.
| * | import OpenSSL-1.0.0adjm2010-10-011-19/+19
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-04-062-0/+2218
|\ \ \ | | |/ | |/| branch.
| * | import of OpenSSL 0.9.8kdjm2009-04-062-0/+2218
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-092-0/+18
|\| | | | | | | | branch.
| * | import openssl-0.9.8jdjm2009-01-092-0/+18
| | |