Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-06-07 07:25:15 +0300
committerAdam Langley <agl@google.com>2015-06-09 00:43:15 +0300
commit58084affbec6fc75d10ef7a9178b060b08eb3152 (patch)
treebde3789509774d08fce4385efc5bc6b0b5a6e169 /tool/speed.cc
parent521d4b805a04e4e56115d51891cba3456db9455d (diff)
Make constants in bssl tool actually const.
Change-Id: Iedf6a1bafbe195b689e1aebd2293332e38c1f4c7 Reviewed-on: https://boringssl-review.googlesource.com/5042 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'tool/speed.cc')
-rw-r--r--tool/speed.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/tool/speed.cc b/tool/speed.cc
index 151dc2b2..6c788ac4 100644
--- a/tool/speed.cc
+++ b/tool/speed.cc
@@ -36,18 +36,9 @@
#endif
#include "../crypto/test/scoped_types.h"
+#include "internal.h"
-extern "C" {
-// These values are DER encoded, RSA private keys.
-extern const uint8_t kDERRSAPrivate2048[];
-extern size_t kDERRSAPrivate2048Len;
-extern const uint8_t kDERRSAPrivate4096[];
-extern size_t kDERRSAPrivate4096Len;
-extern const uint8_t kDERRSAPrivate3Prime2048[];
-extern size_t kDERRSAPrivate3Prime2048Len;
-}
-
// TimeResults represents the results of benchmarking a function.
struct TimeResults {
// num_calls is the number of function calls done in the time period.