tool: fix speed tests.

16K is a tested chunk size, but a couple of functions didn't have a
large enough buffer and so would fail. (Cleanly, but it stopped
subsequent executions.)

Change-Id: Ic11ba7b9055ab72dbf056a4c79dfc251cb511fb3
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/36044
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/tool/speed.cc b/tool/speed.cc
index a0fc905..b26470e 100644
--- a/tool/speed.cc
+++ b/tool/speed.cc
@@ -435,7 +435,7 @@
 static bool SpeedHashChunk(const EVP_MD *md, std::string name,
                            size_t chunk_len) {
   bssl::ScopedEVP_MD_CTX ctx;
-  uint8_t scratch[8192];
+  uint8_t scratch[16384];
 
   if (chunk_len > sizeof(scratch)) {
     return false;
@@ -476,7 +476,7 @@
 }
 
 static bool SpeedRandomChunk(std::string name, size_t chunk_len) {
-  uint8_t scratch[8192];
+  uint8_t scratch[16384];
 
   if (chunk_len > sizeof(scratch)) {
     return false;