Go to file
David Benjamin 23721e3705 Forbid reusing HMAC key without reusing the hash function.
There's no good reason to do this, and it doesn't work; HMAC checks the length
of the key and runs it through the hash function if too long. The reuse occurs
after this check.

This allows us to shave 132 bytes off HMAC_CTX as this was the only reason it
ever stored the original key. It also slightly simplifies HMAC_Init_ex's
logic.

Change-Id: Ib56aabc3630b7178f1ee7c38ef6370c9638efbab
Reviewed-on: https://boringssl-review.googlesource.com/3733
Reviewed-by: Adam Langley <agl@google.com>
2015-03-02 23:16:12 +00:00
crypto Forbid reusing HMAC key without reusing the hash function. 2015-03-02 23:16:12 +00:00
doc
include/openssl Forbid reusing HMAC key without reusing the hash function. 2015-03-02 23:16:12 +00:00
ssl Test that we reject RSA ServerKeyExchange more thoroughly. 2015-02-26 21:26:37 +00:00
tool Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
util Drop in prebuilt versions of Windows files. 2015-03-02 23:03:38 +00:00
.clang-format
.gitignore Add generated documentation to .gitignore 2015-01-26 18:37:55 +00:00
BUILDING Find perl using the CMake's standard FindPerl module. 2015-02-23 19:59:48 +00:00
CMakeLists.txt Bump the -Wshadow cutoff to 4.8 rather than 4.6. 2015-02-28 15:15:01 +00:00
codereview.settings Add a codereview.settings file. 2014-11-18 22:21:33 +00:00
STYLE Style guide tweaks. 2015-02-19 18:33:20 +00:00