openssl.git
16 years agoDon't let DTLS ChangeCipherSpec increment handshake sequence number.
Andy Polyakov [Wed, 17 Oct 2007 21:15:48 +0000 (21:15 +0000)]
Don't let DTLS ChangeCipherSpec increment handshake sequence number.
PR: 1587

16 years agoDon't lookup zero length session ID.
Dr. Stephen Henson [Wed, 17 Oct 2007 17:31:57 +0000 (17:31 +0000)]
Don't lookup zero length session ID.
PR: 1591

16 years agoFix from stable branch.
Dr. Stephen Henson [Wed, 17 Oct 2007 11:49:27 +0000 (11:49 +0000)]
Fix from stable branch.

16 years agoMake ssl compile [from 098-stable, bug is masked by default].
Andy Polyakov [Sun, 14 Oct 2007 14:09:13 +0000 (14:09 +0000)]
Make ssl compile [from 098-stable, bug is masked by default].

16 years agoBunch of constifications.
Andy Polyakov [Sat, 13 Oct 2007 15:51:32 +0000 (15:51 +0000)]
Bunch of constifications.

16 years agoFix warnings in d1_both.c [from 0.9.8-stable].
Andy Polyakov [Sat, 13 Oct 2007 11:00:52 +0000 (11:00 +0000)]
Fix warnings in d1_both.c [from 0.9.8-stable].

16 years agoDTLS fixes from 0.9.8-stable.
Andy Polyakov [Sat, 13 Oct 2007 10:57:02 +0000 (10:57 +0000)]
DTLS fixes from 0.9.8-stable.

16 years agoSynchronize CHANGES between 0.9.8 and HEAD.
Andy Polyakov [Sat, 13 Oct 2007 10:55:30 +0000 (10:55 +0000)]
Synchronize CHANGES between 0.9.8 and HEAD.

16 years ago0.9.8f.
Ben Laurie [Fri, 12 Oct 2007 10:56:10 +0000 (10:56 +0000)]
0.9.8f.

16 years agoUpdate CHANGES. Keep ordinals consistent.
Dr. Stephen Henson [Fri, 12 Oct 2007 00:15:09 +0000 (00:15 +0000)]
Update CHANGES. Keep ordinals consistent.

16 years agoNew release.
Ben Laurie [Thu, 11 Oct 2007 19:31:29 +0000 (19:31 +0000)]
New release.

16 years agoRespect cookie length set by app_gen_cookie_cb.
Andy Polyakov [Tue, 9 Oct 2007 19:31:18 +0000 (19:31 +0000)]
Respect cookie length set by app_gen_cookie_cb.

Submitted by: Alex Lam

16 years agoMake DTLS1 record layer MAC calculation RFC compliant.
Andy Polyakov [Tue, 9 Oct 2007 19:19:07 +0000 (19:19 +0000)]
Make DTLS1 record layer MAC calculation RFC compliant.

Submitted by: Alex Lam

16 years agoAddendum to commit #16654.
Andy Polyakov [Tue, 9 Oct 2007 16:37:24 +0000 (16:37 +0000)]
Addendum to commit #16654.

16 years agosize_t-fy crypto/buffer.
Andy Polyakov [Tue, 9 Oct 2007 15:52:07 +0000 (15:52 +0000)]
size_t-fy crypto/buffer.

16 years agoignore a few additionally generated files
Ralf S. Engelschall [Tue, 9 Oct 2007 09:56:44 +0000 (09:56 +0000)]
ignore a few additionally generated files

16 years agoAddendum to commit #16651.
Andy Polyakov [Sun, 7 Oct 2007 14:34:59 +0000 (14:34 +0000)]
Addendum to commit #16651.

16 years agoMake it possible to link VC static lib with either /MT or /MD application.
Andy Polyakov [Sun, 7 Oct 2007 12:55:36 +0000 (12:55 +0000)]
Make it possible to link VC static lib with either /MT or /MD application.
PR: 1230

16 years agoProhibit RC4 in DTLS.
Andy Polyakov [Fri, 5 Oct 2007 21:04:56 +0000 (21:04 +0000)]
Prohibit RC4 in DTLS.

16 years agoFix from fips branch.
Dr. Stephen Henson [Fri, 5 Oct 2007 16:53:31 +0000 (16:53 +0000)]
Fix from fips branch.

16 years agoOff by one fix from stable branch.
Dr. Stephen Henson [Thu, 4 Oct 2007 12:07:52 +0000 (12:07 +0000)]
Off by one fix from stable branch.

16 years agoSwitch to bn-s390x (it's faster on keys longer than 512 bits) and mention
Andy Polyakov [Mon, 1 Oct 2007 07:38:32 +0000 (07:38 +0000)]
Switch to bn-s390x (it's faster on keys longer than 512 bits) and mention
s390x assembler pack in CHANAGES.

16 years agoOops! This was erroneously left out commit #16632.
Andy Polyakov [Mon, 1 Oct 2007 06:27:21 +0000 (06:27 +0000)]
Oops! This was erroneously left out commit #16632.

16 years agoBasic idea behind explicit IV is to make it unpredictable for attacker.
Andy Polyakov [Sun, 30 Sep 2007 22:01:36 +0000 (22:01 +0000)]
Basic idea behind explicit IV is to make it unpredictable for attacker.
Until now it was xor between CBC residue and 1st block from last datagram,
or in other words still predictable.

16 years agoMake ChangeCipherSpec compliant with DTLS RFC4347.
Andy Polyakov [Sun, 30 Sep 2007 21:19:30 +0000 (21:19 +0000)]
Make ChangeCipherSpec compliant with DTLS RFC4347.

16 years agoDTLS RFC4347 says HelloVerifyRequest resets Finished MAC.
Andy Polyakov [Sun, 30 Sep 2007 19:34:36 +0000 (19:34 +0000)]
DTLS RFC4347 says HelloVerifyRequest resets Finished MAC.

16 years agoDTLS RFC4347 requires client to use rame random field in reply to
Andy Polyakov [Sun, 30 Sep 2007 19:15:27 +0000 (19:15 +0000)]
DTLS RFC4347 requires client to use rame random field in reply to
HelloVerifyRequest.

16 years agoSwitch to RFC-compliant version encoding in DTLS.
Andy Polyakov [Sun, 30 Sep 2007 18:53:54 +0000 (18:53 +0000)]
Switch to RFC-compliant version encoding in DTLS.

16 years agoMove no status notification to ssl_check_serverhello_tlsext() to ensure
Dr. Stephen Henson [Fri, 28 Sep 2007 17:45:11 +0000 (17:45 +0000)]
Move no status notification to ssl_check_serverhello_tlsext() to ensure
no status is notified even if no server extensions are present.

16 years agoTypo.
Dr. Stephen Henson [Fri, 28 Sep 2007 17:18:18 +0000 (17:18 +0000)]
Typo.

16 years agoYet another ARM update. It appears to be more appropriate to make
Andy Polyakov [Thu, 27 Sep 2007 16:27:03 +0000 (16:27 +0000)]
Yet another ARM update. It appears to be more appropriate to make
developers responsible for -march choice.

16 years agoMove -march=armv4t to ./config.
Andy Polyakov [Thu, 27 Sep 2007 07:43:58 +0000 (07:43 +0000)]
Move -march=armv4t to ./config.

16 years agoMinor ARMv4 update.
Andy Polyakov [Thu, 27 Sep 2007 07:20:31 +0000 (07:20 +0000)]
Minor ARMv4 update.

16 years agoARMv4 assembler pack.
Andy Polyakov [Thu, 27 Sep 2007 07:09:46 +0000 (07:09 +0000)]
ARMv4 assembler pack.

16 years ago10% performance tweak in 64-bit mode.
Andy Polyakov [Thu, 27 Sep 2007 06:19:25 +0000 (06:19 +0000)]
10% performance tweak in 64-bit mode.

16 years agoSupport for certificate status TLS extension.
Dr. Stephen Henson [Wed, 26 Sep 2007 21:56:59 +0000 (21:56 +0000)]
Support for certificate status TLS extension.

16 years agoMake sha512-armv4.pl byte-order neutral.
Andy Polyakov [Wed, 26 Sep 2007 12:17:33 +0000 (12:17 +0000)]
Make sha512-armv4.pl byte-order neutral.

16 years agoClarify commentary in sha512-sparcv9.pl.
Andy Polyakov [Wed, 26 Sep 2007 12:16:32 +0000 (12:16 +0000)]
Clarify commentary in sha512-sparcv9.pl.

16 years agoTypos
Lutz Jänicke [Mon, 24 Sep 2007 11:22:58 +0000 (11:22 +0000)]
Typos
PR: 1578
Submitted by: Charles Longeau <chl@tuxfamily.org>

16 years agoPort from 0.9.8-stable
Lutz Jänicke [Mon, 24 Sep 2007 11:01:18 +0000 (11:01 +0000)]
Port from 0.9.8-stable

16 years agoUse accept flag for new session ticket write.
Dr. Stephen Henson [Sun, 23 Sep 2007 15:55:15 +0000 (15:55 +0000)]
Use accept flag for new session ticket write.

16 years agoproperly handle length-zero opaque PRF input values
Bodo Möller [Sun, 23 Sep 2007 11:30:53 +0000 (11:30 +0000)]
properly handle length-zero opaque PRF input values
(which are pointless, but still might occur)

16 years agofix length parameter in SSL_set_tlsext_opaque_prf_input() calls
Bodo Möller [Sun, 23 Sep 2007 11:08:59 +0000 (11:08 +0000)]
fix length parameter in SSL_set_tlsext_opaque_prf_input() calls

16 years agoImplement the Opaque PRF Input TLS extension
Bodo Möller [Fri, 21 Sep 2007 06:54:24 +0000 (06:54 +0000)]
Implement the Opaque PRF Input TLS extension
(draft-rescorla-tls-opaque-prf-input-00.txt), and do some cleanups and
bugfixes on the way.  In particular, this fixes the buffer bounds
checks in ssl_add_clienthello_tlsext() and in ssl_add_serverhello_tlsext().

Note that the opaque PRF Input TLS extension is not compiled by default;
see CHANGES.

16 years agoFix indentation in d1_both.c.
Andy Polyakov [Wed, 19 Sep 2007 16:38:15 +0000 (16:38 +0000)]
Fix indentation in d1_both.c.

16 years agoFix dependencies. Make depend.
Ben Laurie [Wed, 19 Sep 2007 14:53:18 +0000 (14:53 +0000)]
Fix dependencies. Make depend.

16 years agoThe other half of make errors.
Ben Laurie [Wed, 19 Sep 2007 14:51:28 +0000 (14:51 +0000)]
The other half of make errors.

16 years agomake errors.
Ben Laurie [Wed, 19 Sep 2007 14:29:59 +0000 (14:29 +0000)]
make errors.

16 years agofix warning
Bodo Möller [Wed, 19 Sep 2007 01:43:59 +0000 (01:43 +0000)]
fix warning

16 years agoClean up error codes a bit.
Bodo Möller [Wed, 19 Sep 2007 00:58:58 +0000 (00:58 +0000)]
Clean up error codes a bit.
(engines/ccgost/ remains utter chaos, though; "make errors" is not happy.)

16 years agoAddenum to "Constify obj_dat.[ch]."
Andy Polyakov [Tue, 18 Sep 2007 22:15:31 +0000 (22:15 +0000)]
Addenum to "Constify obj_dat.[ch]."

16 years agoMinor formatting fixes in crypto/sha/asm.
Andy Polyakov [Tue, 18 Sep 2007 21:12:02 +0000 (21:12 +0000)]
Minor formatting fixes in crypto/sha/asm.

16 years agoWire RC4 key_table to read-only segment.
Andy Polyakov [Tue, 18 Sep 2007 21:10:32 +0000 (21:10 +0000)]
Wire RC4 key_table to read-only segment.

16 years agoConstify obj_dat.[ch], as well as minimize linker relocations.
Andy Polyakov [Tue, 18 Sep 2007 21:05:21 +0000 (21:05 +0000)]
Constify obj_dat.[ch], as well as minimize linker relocations.

16 years agoWire DES weak_keys to read-only segment.
Andy Polyakov [Tue, 18 Sep 2007 20:58:33 +0000 (20:58 +0000)]
Wire DES weak_keys to read-only segment.

16 years agoEliminate redundant make rule.
Andy Polyakov [Tue, 18 Sep 2007 20:57:06 +0000 (20:57 +0000)]
Eliminate redundant make rule.

16 years agoMinimize stack utilization in probable_prime.
Andy Polyakov [Tue, 18 Sep 2007 20:52:05 +0000 (20:52 +0000)]
Minimize stack utilization in probable_prime.

16 years agoRemove excessive whitespaces from bio.h
Andy Polyakov [Tue, 18 Sep 2007 20:48:39 +0000 (20:48 +0000)]
Remove excessive whitespaces from bio.h

16 years agoMake sure that BN_from_montgomery keeps the BIGNUMS in proper format
Bodo Möller [Tue, 18 Sep 2007 16:35:28 +0000 (16:35 +0000)]
Make sure that BN_from_montgomery keeps the BIGNUMS in proper format

16 years agoUpdate from stable branch.
Dr. Stephen Henson [Mon, 17 Sep 2007 17:54:31 +0000 (17:54 +0000)]
Update from stable branch.

16 years agoUpdate from stable branch.
Dr. Stephen Henson [Mon, 17 Sep 2007 17:31:53 +0000 (17:31 +0000)]
Update from stable branch.

16 years agoMention aes in enc.pod.
Andy Polyakov [Mon, 17 Sep 2007 16:42:35 +0000 (16:42 +0000)]
Mention aes in enc.pod.
PR: 1529

16 years agoMention SHA2 in openssl.pod.
Andy Polyakov [Mon, 17 Sep 2007 15:56:55 +0000 (15:56 +0000)]
Mention SHA2 in openssl.pod.
PR: 1575

16 years agoRemove pq_compat.h.
Andy Polyakov [Sun, 16 Sep 2007 19:29:35 +0000 (19:29 +0000)]
Remove pq_compat.h.

16 years agoMinor sha[256|512]-586 performance tweaks.
Andy Polyakov [Sun, 16 Sep 2007 18:47:24 +0000 (18:47 +0000)]
Minor sha[256|512]-586 performance tweaks.

16 years agoIt's inappropraite to override application signal, nor is it appropriate
Andy Polyakov [Sun, 16 Sep 2007 18:35:02 +0000 (18:35 +0000)]
It's inappropraite to override application signal, nor is it appropriate
to shut down Winsock unless we know it won't be used [and we never do].
PR: 1439

16 years agoMinor fix in link_[oa].hpux.
Andy Polyakov [Sun, 16 Sep 2007 14:11:00 +0000 (14:11 +0000)]
Minor fix in link_[oa].hpux.

16 years agoBSD run-time linkers apparently demand RPATH on .so objects.
Andy Polyakov [Sun, 16 Sep 2007 12:23:47 +0000 (12:23 +0000)]
BSD run-time linkers apparently demand RPATH on .so objects.
PR: 1381

16 years agoMake bn2dec work on "SIXTY_FOUR_BIT" platforms.
Andy Polyakov [Sat, 15 Sep 2007 17:05:11 +0000 (17:05 +0000)]
Make bn2dec work on "SIXTY_FOUR_BIT" platforms.
PR: 1456

16 years agoRemove sha512-sse2.pl.
Andy Polyakov [Sat, 15 Sep 2007 13:45:17 +0000 (13:45 +0000)]
Remove sha512-sse2.pl.

16 years agoEngage new x86 assembler modules.
Andy Polyakov [Fri, 14 Sep 2007 21:06:14 +0000 (21:06 +0000)]
Engage new x86 assembler modules.

16 years agoMore Intel cc fix-ups.
Andy Polyakov [Fri, 14 Sep 2007 19:32:33 +0000 (19:32 +0000)]
More Intel cc fix-ups.

16 years agoHandle empty case in X509_NAME canonical encoding.
Dr. Stephen Henson [Fri, 14 Sep 2007 18:11:17 +0000 (18:11 +0000)]
Handle empty case in X509_NAME canonical encoding.

16 years agoCommentary updates.
Andy Polyakov [Thu, 13 Sep 2007 07:27:10 +0000 (07:27 +0000)]
Commentary updates.

16 years agoSHA512 for ARMv4.
Andy Polyakov [Thu, 13 Sep 2007 07:26:35 +0000 (07:26 +0000)]
SHA512 for ARMv4.

16 years agoSHA256/512 for x86.
Andy Polyakov [Thu, 13 Sep 2007 07:26:19 +0000 (07:26 +0000)]
SHA256/512 for x86.

16 years agoTypo? Why did this work, anyway?
Ben Laurie [Sat, 8 Sep 2007 15:58:51 +0000 (15:58 +0000)]
Typo? Why did this work, anyway?

16 years agoFix warning: print format option not compatible with size_t.
Dr. Stephen Henson [Fri, 7 Sep 2007 13:34:46 +0000 (13:34 +0000)]
Fix warning: print format option not compatible with size_t.

16 years agoFix another warning.
Dr. Stephen Henson [Fri, 7 Sep 2007 13:27:40 +0000 (13:27 +0000)]
Fix another warning.

16 years agoChange safestack reimplementation to match 0.9.8.
Dr. Stephen Henson [Fri, 7 Sep 2007 13:25:15 +0000 (13:25 +0000)]
Change safestack reimplementation to match 0.9.8.

Fix additional gcc 4.2 value not used warnings.

16 years agoFix warnings: computed value not use, incompatible pointer initialization
Dr. Stephen Henson [Fri, 7 Sep 2007 13:03:25 +0000 (13:03 +0000)]
Fix warnings: computed value not use, incompatible pointer initialization
and cast from pointer to int of different size (linux-x86_64 and align).

16 years agoAdd sha512_block implementation optimized for small register bank.
Andy Polyakov [Fri, 7 Sep 2007 12:34:45 +0000 (12:34 +0000)]
Add sha512_block implementation optimized for small register bank.
On x86 it gives same performance, while code size shrinks >10 times.

16 years agoUpdate ssl code to support digests other than MD5+SHA1 in handshake.
Dr. Stephen Henson [Fri, 31 Aug 2007 12:42:53 +0000 (12:42 +0000)]
Update ssl code to support digests other than MD5+SHA1 in handshake.

Submitted by: Victor B. Wagner <vitus@cryptocom.ru>

16 years agoConstify seed and md2.
Andy Polyakov [Fri, 31 Aug 2007 10:12:35 +0000 (10:12 +0000)]
Constify seed and md2.

16 years agoOffer darwin64-x86_64-cc as option.
Andy Polyakov [Fri, 31 Aug 2007 10:09:34 +0000 (10:09 +0000)]
Offer darwin64-x86_64-cc as option.

16 years agoCompress and more aggressively constify ec_curve.c [the latter is
Andy Polyakov [Fri, 31 Aug 2007 09:36:43 +0000 (09:36 +0000)]
Compress and more aggressively constify ec_curve.c [the latter is
achieved by minimizing link relocations].

16 years agoCheck return code when attempting to receive new session ticket message.
Dr. Stephen Henson [Fri, 31 Aug 2007 00:28:01 +0000 (00:28 +0000)]
Check return code when attempting to receive new session ticket message.

16 years agoUnify RC4 settings among darwin platforms.
Andy Polyakov [Thu, 30 Aug 2007 08:09:12 +0000 (08:09 +0000)]
Unify RC4 settings among darwin platforms.

16 years agoAdd darwin64-x86_64-cc target.
Andy Polyakov [Thu, 30 Aug 2007 07:54:23 +0000 (07:54 +0000)]
Add darwin64-x86_64-cc target.

16 years agoaes_ige suffered SIGBUS on RISC platforms.
Andy Polyakov [Wed, 29 Aug 2007 21:30:13 +0000 (21:30 +0000)]
aes_ige suffered SIGBUS on RISC platforms.

16 years agoImprove cache locality in linux64-sparcv9.
Andy Polyakov [Wed, 29 Aug 2007 20:46:11 +0000 (20:46 +0000)]
Improve cache locality in linux64-sparcv9.

16 years agoMake naming more consistent.
Andy Polyakov [Tue, 28 Aug 2007 21:02:38 +0000 (21:02 +0000)]
Make naming more consistent.

16 years agoMake room for Camellia assembler.
Andy Polyakov [Tue, 28 Aug 2007 20:45:25 +0000 (20:45 +0000)]
Make room for Camellia assembler.

16 years agoAdd ctrls to set and get RFC4507bis keys to enable several contexts to
Dr. Stephen Henson [Tue, 28 Aug 2007 01:08:45 +0000 (01:08 +0000)]
Add ctrls to set and get RFC4507bis keys to enable several contexts to
reuse the same tickets.

16 years agoAdd Google sponsorship note.
Dr. Stephen Henson [Mon, 27 Aug 2007 23:41:36 +0000 (23:41 +0000)]
Add Google sponsorship note.

16 years agoshlib_wrap commentary update.
Andy Polyakov [Mon, 27 Aug 2007 08:51:59 +0000 (08:51 +0000)]
shlib_wrap commentary update.

16 years agoshlib_wrap update, IRIX section.
Andy Polyakov [Mon, 27 Aug 2007 08:42:01 +0000 (08:42 +0000)]
shlib_wrap update, IRIX section.

16 years agoIRIX and Tru64 platform updates.
Andy Polyakov [Sun, 26 Aug 2007 14:12:30 +0000 (14:12 +0000)]
IRIX and Tru64 platform updates.

16 years agoUpdate from stable branch.
Dr. Stephen Henson [Thu, 23 Aug 2007 22:59:09 +0000 (22:59 +0000)]
Update from stable branch.

16 years agoDocument ticket disabling option.
Dr. Stephen Henson [Thu, 23 Aug 2007 22:49:13 +0000 (22:49 +0000)]
Document ticket disabling option.