summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* move endian/word size checks from runtime to compile timebcook2017-08-131-33/+33
| | | | ok guenther@
* Replace all uses of magic numbers when operating on OPENSSL_ia32_P[] bymiod2016-11-042-8/+10
| | | | | | | | | | | | | | | meaningful constants in a private header file, so that reviewers can actually get a chance to figure out what the code is attempting to do without knowing all cpuid bits. While there, turn it from an array of two 32-bit ints into a properly aligned 64-bit int. Use of OPENSSL_ia32_P is now restricted to the assembler parts. C code will now always use OPENSSL_cpu_caps() and check for the proper bits in the whole 64-bit word it returns. i386 tests and ok jsing@
* Less S390.jsing2016-09-041-234/+0
| | | | ok deraadt@
* Less IA64.jsing2016-09-041-755/+0
| | | | ok deraadt@
* In the case where len is not a multiple of sizeof(RC4_CHUNK) the RC4 codejsing2015-10-211-63/+1
| | | | | | | | | | | | | | will end up doing a read and write of up to 7 bytes beyond the specified length. This is effectively a non-issue since we read and write back the same data and due to alignment it is within a page boundary. Regardless, avoid this by removing the "special" handling for the remaining length and allow the standard (non-chunk) code to process the remaining bytes, which does not result in overrun. Reported by Pascal Cuoq <cuoq at trust-in-soft.com> - thanks! ok beck@ miod@
* Lob a style(9) grenade in here.jsing2015-10-203-172/+185
|
* Remove old interesting but not useful content.jsing2015-02-101-278/+0
| | | | ok miod@
* deregister; no binary changejsg2014-10-282-7/+7
| | | | ok jsing@ miod@
* Remove private_{Camellia,RC4}_set_key FIPS indirection tentacles, as has beenmiod2014-07-126-73/+14
| | | | done for other symmetric algorithms recently.
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-111-3/+1
| | | | | | | | Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
* Explicitly include <openssl/opensslconf.h> in every file that referencesjsing2014-07-101-1/+2
| | | | | | | | | 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 leading underscore from _BYTE_ORDER and _{LITTLE,BIG}_ENDIAN, to bemiod2014-07-091-2/+2
| | | | | more friendly to systems where the underscore flavours may be defined as empty. Found the hard way be bcook@; joint brainstrom with bcook beck and guenther
* 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-125-4/+6
|
* c-file-style hints, begone; ok beckderaadt2014-06-111-1/+1
|
* Do not output SOM-specific directives.miod2014-05-011-0/+6
|
* First pass at removing win64 support from the assembly generating Perljsing2014-04-302-241/+0
| | | | | | | 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@
* typo in commentmiod2014-04-271-1/+1
|
* I'm glad to know that Ultrix CC has a bug optimizing switch() statementsmiod2014-04-231-10/+0
| | | | | lacking an explicit `case 0:' construct. But Ultrix has been dead for more than 15 years, really. Don't give it any reason to move out of its coffin.
* Figure out endianness at compile-time, using _BYTE_ORDER frommiod2014-04-231-7/+3
| | | | | | | <machine/endian.h>, rather than writing 1 to a 32-bit variable and checking whether the first byte is nonzero. tweaks and ok matthew@; ok beck@ tedu@
* Remove meat which either duplicates code found in apps/, or is only of valuemiod2014-04-222-445/+0
| | | | for 20th century historians, and can be put in the Attic.
* OPENSSL_DECLARE_EXIT serves no purpose.deraadt2014-04-171-1/+0
|
* unistd.h is always in the same place; no need to #include the result ofderaadt2014-04-171-1/+1
| | | | a maze of conditional #define's
* we don't use these files for buildingtedu2014-04-151-103/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-151-3/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* Moved to regress/lib/libcrypto.miod2014-04-151-242/+0
|
* remove pentium specific benchmark codejsg2014-04-151-73/+0
| | | | ok miod@
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-22/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-132-1/+8
|
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-132-2/+4
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-133-3/+6
| |
* | On amd64 OPENSSL_cpuid_setup and OPENSSL_ia32cap_P are now hidden so we don'tkettenis2012-10-311-2/+2
| | | | | | | | | | | | | | | | | | | | have to go through the PLT/GOT to get at them anymore. In fact going through the GOT now fails since we no longer have a GOT entry for OPENSSL_ia32cap_P. Fixes the problem spotted by jasper@ and sthen@. Based on a diff from mikeb@ who did most of the actual work of tracking down the issue. ok millert@, mikeb@
* | resolve conflictsdjm2012-10-134-105/+384
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-131-4/+14
|\ \ | | | | | | branch.
| * | import OpenSSL-1.0.1cdjm2012-10-132-4/+20
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-131-0/+62
|\ \ \ | | | | | | | | branch.
| * | | import OpenSSL-1.0.1cdjm2012-10-131-0/+62
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-133-9/+982
|\ \ \ \ | | |_|/ | |/| | branch.
| * | | import OpenSSL-1.0.1cdjm2012-10-137-114/+1366
| | | |
* | | | resolve conflicts, fix local changesdjm2010-10-0110-832/+424
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-012-0/+960
|\| | | | | | | | | | | branch.
| * | | import OpenSSL-1.0.0adjm2010-10-017-253/+1375
| | | |
| * | | import openssl-0.9.8jdjm2009-01-093-1/+20
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-27/+17
|\ \ \ \ | | |_|/ | |/| | branch.
| * | | import OpenSSL-1.0.0adjm2010-10-012-35/+25
| | | |
* | | | resolve conflictsdjm2009-01-093-1/+20
| | | |
* | | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-092-4/+89
|\| | | | | | | | | | | branch.
| * | | import openssl-0.9.8jdjm2009-01-092-4/+89
| | | |
* | | | fix some cause of bad TEXTREL on i386 and amd64otto2008-09-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - global function calls in .init sections (diff makes them via PLT) - calls to global functions in aes-586.S (made static or local) - global variable accesses in rc4-x86_64.S (now made via GOT) from djm@large; ok miod@
* | | | resolve conflictsdjm2008-09-067-34/+99
| | | |