openssl/crypto
Matt Caswell ccecdb130c There are a number of instances throughout the code where the constant 28 is
used with no explanation. Some of this was introduced as part of RT#1929. The
value 28 is the length of the IP header (20 bytes) plus the UDP header (8
bytes). However use of this constant is incorrect because there may be
instances where a different value is needed, e.g. an IPv4 header is 20 bytes
but an IPv6 header is 40. Similarly you may not be using UDP (e.g. SCTP).
This commit introduces a new BIO_CTRL that provides the value to be used for
this mtu "overhead". It will be used by subsequent commits.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 0d3ae34df5)
2014-12-03 09:30:21 +00:00
..
aes aesni-x86_64.pl: make ECB subroutine Windows ABI compliant. 2014-10-15 11:12:24 +02:00
asn1 Add i2d_re_X509_tbs 2014-09-23 18:20:26 +02:00
bf
bio There are a number of instances throughout the code where the constant 28 is 2014-12-03 09:30:21 +00:00
bn make update 2014-09-25 21:31:40 +01:00
buffer Check length first in BUF_strnlen(). 2014-05-22 10:12:10 +01:00
camellia
cast Please Clang's sanitizer. 2014-07-09 22:45:38 +02:00
cmac
cms Don't clean up uninitialised EVP_CIPHER_CTX on error (CID 483259). 2014-07-10 17:49:53 +01:00
comp
conf Prevent infinite loop loading config files. 2014-07-07 13:54:11 +01:00
des SPARC T4 assembly pack: treat zero input length in CBC. 2014-03-07 10:48:51 +01:00
dh dh_check.c: check BN_CTX_get's return value. 2014-03-06 14:21:17 +01:00
dsa RT3192: spurious error in DSA verify 2014-09-09 17:10:57 -04:00
dso Fix a wrong parameter count ERR_add_error_data 2014-05-19 22:15:27 +01:00
ec When using EVP_PKEY_derive with a KDF set, a negative error from 2014-11-20 15:21:37 +00:00
ecdh
ecdsa Reserve option to use BN_mod_exp_mont_consttime in ECDSA. 2014-09-22 00:07:44 +02:00
engine Please Clang's sanitizer, addendum. 2014-07-09 22:45:52 +02:00
err Fix SSL_R naming inconsistency. 2014-10-15 14:48:00 +02:00
evp Include "constant_time_locl.h" rather than "../constant_time_locl.h". 2014-09-25 08:06:47 +02:00
hmac RT2626: Change default_bits from 1K to 2K 2014-09-08 17:23:37 -04:00
idea Fix typo in ideatest.c 2014-06-28 00:06:32 +01:00
jpake RT1771: Add string.h include. 2014-09-08 10:38:08 -04:00
krb5
lhash
md2
md4
md5 md5-x86_64.pl: work around warning. 2014-08-30 19:18:12 +02:00
mdc2
modes Harmonize Tru64 and Linux make rules. 2014-09-20 10:22:13 +02:00
objects Fix cross reference table generator. 2014-11-13 13:35:25 +00:00
ocsp RT2560: missing NULL check in ocsp_req_find_signer 2014-09-10 12:20:15 -04:00
pem RT3140: Possibly-unit variable in pem_lib.c 2014-09-02 23:38:15 -04:00
perlasm perlasm/x86_64-xlate.pl: handle inter-bank movd. 2014-09-22 00:07:44 +02:00
pkcs7 Removed duplicate definition of PKCS7_type_is_encrypted 2014-10-06 23:43:49 +01:00
pkcs12 Fix memory leak. 2014-05-29 13:49:50 +01:00
pqueue RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
rand RT2301: GetDIBits, not GetBitmapBits in rand_win 2014-09-18 16:42:07 -04:00
rc2
rc4 Please Clang's sanitizer. 2014-07-09 22:45:38 +02:00
rc5
ripemd
rsa Add additional DigestInfo checks. 2014-09-29 12:24:04 +01:00
seed
sha Harmonize Tru64 and Linux make rules. 2014-09-20 10:22:13 +02:00
srp Fix SRP buffer overrun vulnerability. 2014-08-06 20:41:24 +01:00
stack RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
store
threads
ts Correct timestamp output when clock_precision_digits > 0 2014-11-12 20:52:52 +00:00
txt_db
ui * crypto/ui/ui_lib.c: misplaced brace in switch statement. 2014-07-13 19:13:38 +02:00
whrlpool
x509 Add i2d_re_X509_tbs 2014-09-23 18:20:26 +02:00
x509v3 RT3031: Need to #undef some names for win32 2014-09-08 11:06:07 -04:00
.cvsignore
alphacpuid.pl
arm64cpuid.S Add linux-aarch64 taget. 2014-06-10 23:20:55 +02:00
arm_arch.h Add linux-aarch64 taget. 2014-06-10 23:20:55 +02:00
armcap.c Add linux-aarch64 taget. 2014-06-10 23:20:55 +02:00
armv4cpuid.S armv4cpuid.S: fix compilation error in pre-ARMv7 build. 2014-10-30 20:31:50 +01:00
constant_time_locl.h Fix warning about negative unsigned intergers 2014-11-11 15:47:54 +01:00
constant_time_test.c Add missing tests 2014-09-25 13:46:55 +02:00
cpt_err.c
cryptlib.c Avoid Windows 8 Getversion deprecated errors. 2014-02-25 13:41:53 +00:00
cryptlib.h
crypto-lib.com Adjust VMS build to Unix build. Most of all, make it so the disabled 2014-06-18 13:43:09 +02:00
crypto.h
cversion.c
ebcdic.c
ebcdic.h RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
ex_data.c
fips_err.h
fips_ers.c
ia64cpuid.S
install-crypto.com Adjust VMS build to Unix build. Most of all, make it so the disabled 2014-06-18 13:43:09 +02:00
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c Followup on RT3334 fix: make sure that a directory that's the empty 2014-09-03 22:23:34 +02:00
LPdir_win.c Check for FindNextFile when defining it rather than FindFirstFile 2014-11-28 23:31:28 +01:00
LPdir_win32.c
LPdir_wince.c
Makefile Add constant_time_locl.h to HEADERS, 2014-09-25 08:08:51 +02:00
md32_common.h md32_common.h: address compiler warning in HOST_c2l. 2014-10-29 10:55:15 +01:00
mem.c Fix datarace reported by valgrind/helgrind 2014-11-10 18:35:50 +01:00
mem_clr.c
mem_dbg.c
o_dir.c
o_dir.h
o_dir_test.c
o_fips.c
o_init.c
o_str.c
o_str.h
o_time.c
o_time.h
opensslconf.h.in
opensslv.h Prepare for 1.0.2-beta4-dev 2014-09-25 21:35:35 +01:00
ossl_typ.h RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
pariscid.pl
ppc_arch.h Initial POWER8 support from development branch. 2014-07-20 14:36:49 +02:00
ppccap.c Initial POWER8 support from development branch. 2014-07-20 14:36:49 +02:00
ppccpuid.pl Initial POWER8 support from development branch. 2014-07-20 14:36:49 +02:00
s390xcap.c
s390xcpuid.S
sparc_arch.h
sparccpuid.S
sparcv9cap.c
symhacks.h Add new VMS hack symbol, update ordinals. 2014-03-02 13:50:06 +00:00
uid.c
vms_rms.h
x86_64cpuid.pl x86[_64]cpuid.pl: add low-level RDSEED. 2014-02-14 17:25:14 +01:00
x86cpuid.pl x86[_64]cpuid.pl: add low-level RDSEED. 2014-02-14 17:25:14 +01:00