commit | af032d68b391a26c74205d25213125d4a410d735 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Mon Dec 22 10:42:51 2014 -0500 |
committer | Adam Langley <agl@google.com> | Wed Jan 14 19:47:45 2015 +0000 |
tree | 884de78b8112f7bcf2dadaf9442dd7ba3290d5f1 | |
parent | 2bca0988a41901b50e0218b4200dc54afc8c27a4 [diff] |
Allocate the temporary buffer in tls1_PRF internally. It's not worth saving the extra mallocs. This is preparation for moving SSLv3 to stateful AEADs; it'll share code TLS's SSL3_ENC_METHOD, but tls1_generate_key_block is different, so that'll be pulled out into its own hook. Change-Id: I3f2136600758465c66ce23736041bb47f74efa6d Reviewed-on: https://boringssl-review.googlesource.com/2690 Reviewed-by: Adam Langley <agl@google.com>