summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4/rc4_enc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate rc4 code.jsing2024-03-271-253/+0
| | | | Discussed with tb@
* Remove empty rc4_local.h include.jsing2024-03-271-2/+1
| | | | Discussed with tb@
* Make internal header file names consistenttb2022-11-261-2/+2
| | | | | | | | | | | | | | | | 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
* Switch to <endian.h> from <machine/endian.h> for better portability.bcook2021-11-091-2/+3
| | | | ok tb@
* move endian/word size checks from runtime to compile timebcook2017-08-131-33/+33
| | | | ok guenther@
* 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-201-129/+143
|
* deregister; no binary changejsg2014-10-281-3/+3
| | | | ok jsing@ miod@
* 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
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* 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@
* resolve conflicts, fix local changesdjm2010-10-011-8/+8
|
* resolve conflictsdjm2008-09-061-2/+2
|
* resolve conflictsdjm2006-06-271-4/+0
|
* resolve conflictsdjm2005-04-291-0/+4
|
* OpenSSL 0.9.5 mergebeck2000-03-191-1/+185
| | | | | | *warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
* OpenSSL 0.9.4 mergebeck1999-09-291-7/+3
|
* Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD buildryker1998-10-051-0/+135
functionality for shared libs. Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library. Needs documentation and help from ports for easy upgrade to full functionality where legally possible.