boringssl/include/openssl
David Benjamin 590cbe970c Introduce a hash_message parameter to ssl_get_message.
This replaces the special-case in ssl3_get_message for Channel ID. Also add
ssl3_hash_current_message to hash the current message, taking TLS vs DTLS
handshake header size into account.

One subtlety with this flag is that a message intended to be processed with
SSL_GET_MESSAGE_DONT_HASH_MESSAGE cannot follow an optional message
(reprocessed with reuse_message, etc.).  There is an assertion to that effect.
If need be, we can loosen it to requiring that the preceeding optional message
also pass SSL_GET_MESSAGE_DONT_HASH_MESSAGE and then maintain some state to
perform the more accurate assertion, but this is sufficient for now.

Change-Id: If8c87342b291ac041a35885b9b5ee961aee86eab
Reviewed-on: https://boringssl-review.googlesource.com/1630
Reviewed-by: Adam Langley <agl@google.com>
2014-08-27 01:54:50 +00:00
..
aead.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
aes.h Add visibility rules. 2014-07-31 22:03:11 +00:00
asn1_mac.h Add visibility rules. 2014-07-31 22:03:11 +00:00
asn1.h Remove some dead code. 2014-08-19 19:00:49 +00:00
asn1t.h Export some extra functions and values. 2014-08-19 19:01:50 +00:00
base64.h Introduce EVP_DecodeBase64. 2014-08-25 23:00:28 +00:00
base.h Readd MD4. 2014-08-26 21:51:48 +00:00
bio.h Recover BIO_number_{read|written}. 2014-08-14 16:37:05 +00:00
bn.h Export BN_num_bits_word. 2014-08-19 18:20:09 +00:00
buf.h Add visibility rules. 2014-07-31 22:03:11 +00:00
bytestring.h Rework support for ASN.1 BER. 2014-08-25 21:38:08 +00:00
chacha.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
cipher.h Readd EVP_CIPHER_CTX_set_key_length. 2014-08-26 21:52:01 +00:00
conf.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
cpu.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
crypto.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
des.h Add visibility rules. 2014-07-31 22:03:11 +00:00
dh.h Windows build fixes. 2014-08-11 22:10:02 +00:00
digest.h Readd MD4. 2014-08-26 21:51:48 +00:00
dsa.h Add visibility rules. 2014-07-31 22:03:11 +00:00
dtls1.h Simplify HelloVerifyRequest processing. 2014-08-18 18:05:10 +00:00
ec_key.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ec.h Readd EC_GROUP_get_curve_GFp. 2014-08-26 21:52:12 +00:00
ecdh.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ecdsa.h Add visibility rules. 2014-07-31 22:03:11 +00:00
engine.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
err.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
evp.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
ex_data.h Add visibility rules. 2014-07-31 22:03:11 +00:00
hmac.h Add visibility rules. 2014-07-31 22:03:11 +00:00
lhash_macros.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
lhash.h Add visibility rules. 2014-07-31 22:03:11 +00:00
md4.h Fix build (broken by MD4_CTX redefine). 2014-08-26 23:30:32 +00:00
md5.h Readd MD4. 2014-08-26 21:51:48 +00:00
mem.h Add visibility rules. 2014-07-31 22:03:11 +00:00
modes.h Add visibility rules. 2014-07-31 22:03:11 +00:00
obj_dat.h Fix OID encoding for one component. 2014-07-28 17:05:12 -07:00
obj_mac.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
obj.h Clarify a comment. 2014-08-14 09:42:46 -07:00
objects.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
opensslfeatures.h Readd MD4. 2014-08-26 21:51:48 +00:00
opensslv.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ossl_typ.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pem.h Remove commented x509_chain declaration 2014-08-04 19:22:09 +00:00
pkcs7.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pkcs8.h Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
pkcs12.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
poly1305.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pqueue.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
rand.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
rc4.h Add visibility rules. 2014-07-31 22:03:11 +00:00
rsa.h Fix minor comment typos. 2014-08-19 19:01:03 +00:00
safe_stack.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
sha.h Add visibility rules. 2014-07-31 22:03:11 +00:00
srtp.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ssl2.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ssl3.h Remove MS SGC support on the the server. 2014-08-20 19:06:01 +00:00
ssl23.h Clean up s23_srvr.c. 2014-08-12 21:10:56 +00:00
ssl.h Introduce a hash_message parameter to ssl_get_message. 2014-08-27 01:54:50 +00:00
stack_macros.h Mark all SSL_CIPHERs as const. 2014-08-18 17:55:05 +00:00
stack.h Mark all SSL_CIPHERs as const. 2014-08-18 17:55:05 +00:00
thread.h Also export some deprecated functions. 2014-08-01 10:33:29 -07:00
time_support.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
tls1.h Implement client side of TLS signed certificate stamps extension. 2014-08-21 16:21:46 +00:00
type_check.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
x509_vfy.h Add visibility rules. 2014-07-31 22:03:11 +00:00
x509.h Windows build fixes. 2014-08-11 22:10:02 +00:00
x509v3.h Add visibility rules. 2014-07-31 22:03:11 +00:00