summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/rc4
AgeCommit message (Collapse)AuthorFilesLines
2017-08-13move endian/word size checks from runtime to compile timebcook1-33/+33
ok guenther@
2016-11-04Replace all uses of magic numbers when operating on OPENSSL_ia32_P[] bymiod2-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@
2016-09-04Less S390.jsing1-234/+0
ok deraadt@
2016-09-04Less IA64.jsing1-755/+0
ok deraadt@
2015-10-21In the case where len is not a multiple of sizeof(RC4_CHUNK) the RC4 codejsing1-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@
2015-10-20Lob a style(9) grenade in here.jsing3-172/+185
2015-02-10Remove old interesting but not useful content.jsing1-278/+0
ok miod@
2014-10-28deregister; no binary changejsg2-7/+7
ok jsing@ miod@
2014-07-12Remove private_{Camellia,RC4}_set_key FIPS indirection tentacles, as has beenmiod6-73/+14
done for other symmetric algorithms recently.
2014-07-11Only import cryptlib.h in the four source files that actually need it.jsing1-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@
2014-07-10Explicitly include <openssl/opensslconf.h> in every file that referencesjsing1-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.
2014-07-09Remove leading underscore from _BYTE_ORDER and _{LITTLE,BIG}_ENDIAN, to bemiod1-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
2014-07-09remove unused, private version strings except SSL_version_strbcook1-3/+1
Also remove unused des_ver.h, which exports some of these strings, but is not installed. ok miod@ tedu@
2014-06-12tags as requested by miod and teduderaadt5-4/+6
2014-06-11c-file-style hints, begone; ok beckderaadt1-1/+1
2014-05-01Do not output SOM-specific directives.miod1-0/+6
2014-04-30First pass at removing win64 support from the assembly generating Perljsing2-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@
2014-04-27typo in commentmiod1-1/+1
2014-04-23I'm glad to know that Ultrix CC has a bug optimizing switch() statementsmiod1-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.
2014-04-23Figure out endianness at compile-time, using _BYTE_ORDER frommiod1-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@
2014-04-22Remove meat which either duplicates code found in apps/, or is only of valuemiod2-445/+0
for 20th century historians, and can be put in the Attic.
2014-04-17OPENSSL_DECLARE_EXIT serves no purpose.deraadt1-1/+0
2014-04-17unistd.h is always in the same place; no need to #include the result ofderaadt1-1/+1
a maze of conditional #define's
2014-04-15we don't use these files for buildingtedu1-103/+0
2014-04-15remove FIPS mode support. people who require FIPS can buy something thattedu1-3/+0
meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
2014-04-15Moved to regress/lib/libcrypto.miod1-242/+0
2014-04-15remove pentium specific benchmark codejsg1-73/+0
ok miod@
2014-04-14remove auto-generated dependencies from the old unused build system, soderaadt1-22/+0
that it is easier to find code pieces. They are getting in the way. ok miod
2014-04-13Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2-1/+8
2014-04-13Import OpenSSL 1.0.1gmiod2-2/+4
2012-10-31On amd64 OPENSSL_cpuid_setup and OPENSSL_ia32cap_P are now hidden so we don'tkettenis1-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@
2012-10-13resolve conflictsdjm4-105/+384
2012-10-13import OpenSSL-1.0.1cdjm5-13/+1058
2010-10-01resolve conflicts, fix local changesdjm10-801/+393
2010-10-01import OpenSSL-1.0.0adjm3-27/+977
2009-01-09resolve conflictsdjm3-1/+20
2009-01-09import openssl-0.9.8jdjm2-4/+89
2008-09-19fix some cause of bad TEXTREL on i386 and amd64otto1-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@
2008-09-06resolve conflictsdjm7-34/+99
2008-09-06import of OpenSSL 0.9.8hdjm3-77/+277
2006-06-27resolve conflictsdjm3-12/+1
2006-06-27import of openssl-0.9.7jdjm3-35/+193
2005-04-29resolve conflictsdjm4-30/+103
2005-04-29import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm4-0/+508
2004-04-08merge 0.9.7dmarkus1-0/+1
2003-05-12merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus3-13/+9
2002-09-10merge openssl-0.9.7-beta3, tested on vax by miod@markus1-1/+1
2002-09-04execute bourne shell scripts with 'sh' and not with $SHELLmarkus1-1/+1
2002-05-15OpenSSL 0.9.7 stable 2002 05 08 mergebeck5-12/+12
2001-06-22openssl-engine-0.9.6a mergebeck1-1/+2