boringssl/crypto/err
David Benjamin ee562b987e Get rid of the RSMBLY macros.
Turn them into static functions that take in an hm_fragment. It's not
immediately obvious that the frag_off/frag_len bounds checks and the msg_len
consistency check are critical to avoiding an out-of-bounds write. Better to
have dtls1_hm_fragment_mark also check internally.

Also rework the bitmask logic to be clearer and avoid a table.

Change-Id: Ica54e98f66295efb323e033cb6c67ab21e7d6cbc
Reviewed-on: https://boringssl-review.googlesource.com/3765
Reviewed-by: Adam Langley <agl@google.com>
2015-03-10 01:11:21 +00:00
..
asn1.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
bio.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
bn.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
buf.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
cipher.errordata Don't delay-initialize legacy AEADs. 2015-03-05 21:25:05 +00:00
CMakeLists.txt Generate error data at build time. 2015-03-06 18:59:25 +00:00
conf.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
crypto.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
dh.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
digest.errordata Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
dsa.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
ec.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
ecdh.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
ecdsa.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
engine.errordata Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
err_data_generate.go Generate error data at build time. 2015-03-06 18:59:25 +00:00
err_impl.c Remove more bits of ERR_STRING_DATA. 2015-02-10 02:10:46 +00:00
err_test.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
err.c Generate error data at build time. 2015-03-06 18:59:25 +00:00
evp.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
hkdf.errordata Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
obj.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
pem.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
pkcs8.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
rsa.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00
ssl.errordata Get rid of the RSMBLY macros. 2015-03-10 01:11:21 +00:00
x509.errordata Add functions to parse and generate PKCS#7 files with CRLs. 2015-02-27 19:48:19 +00:00
x509v3.errordata Reset all the error codes. 2015-02-11 23:12:08 +00:00